# Krita is "leaved" when I touch it with my pen

**URL:** <https://krita-artists.org/t/krita-is-leaved-when-i-touch-it-with-my-pen/186724>\
**Category:** Input Device Support\
**Tags:** linux, tablet-input, version-5\
**Created:** [July 10, 2026, 12:49pm UTC](https://krita-artists.org/t/krita-is-leaved-when-i-touch-it-with-my-pen/186724 "2026-07-10T12:49:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erzatz](https://krita-artists.org/letter_avatar_proxy/v4/letter/e/b19c9b/32.png) [@Erzatz](https://krita-artists.org/u/Erzatz)\
**Post date:** [July 10, 2026, 12:49pm UTC](https://krita-artists.org/t/krita-is-leaved-when-i-touch-it-with-my-pen/186724/1 "2026-07-10T12:49:10Z")

</div>

Krita: 5.3.2.1 (I tried the AppImage and Flatpack version)  
OS: Ubuntu 26.04 LTS  
Tablet: XP Pen Artist Pro 16" Display (Gen 2)  
Pilot: XPPen Linux 4.0.13-251226

* * *

Hello everyone!

I have an issue with Krita right now, I can’t use my tablet to draw with it.  
Here what happen:

I can use my tablet with no issues everywhere (Magma on Firefox, or Gimp for example), the pressure is recognized and all.

But as soon as I use my pen on Krita, it is detected by Krita as a “”[] Leave “” command.  
It’s a log found with the “Log Viewer”

It’s the first time I meet this issue, I just had to reinstall everything recently (OS and all).

Thanks for reading!

---

<div class="post-metadata">

**Author:** ![Ciubix](https://krita-artists.org/user_avatar/krita-artists.org/ciubix/32/202546_2.png) [@Ciubix](https://krita-artists.org/u/Ciubix)\
**Post date:** [July 10, 2026, 1:33pm UTC](https://krita-artists.org/t/krita-is-leaved-when-i-touch-it-with-my-pen/186724/2 "2026-07-10T13:33:20Z")

</div>

This is an xwayland bug [Touchscreen stylus not working on Gnome 50](https://krita-artists.org/t/touchscreen-stylus-not-working-on-gnome-50/182066)

---

<div class="post-metadata">

**Author:** ![Erzatz](https://krita-artists.org/letter_avatar_proxy/v4/letter/e/b19c9b/32.png) [@Erzatz](https://krita-artists.org/u/Erzatz)\
**Post date:** [July 10, 2026, 4:23pm UTC](https://krita-artists.org/t/krita-is-leaved-when-i-touch-it-with-my-pen/186724/3 "2026-07-10T16:23:24Z")

</div>

Thank you, indeed I’m also with this version of XWayland.  
Do you have any ideas on how to proceed a rollback on this package?

It appear they removed the 24.1.9 from the repo.

---

<div class="post-metadata">

**Author:** ![Erzatz](https://krita-artists.org/letter_avatar_proxy/v4/letter/e/b19c9b/32.png) [@Erzatz](https://krita-artists.org/u/Erzatz)\
**Post date:** [July 14, 2026, 1:55pm UTC](https://krita-artists.org/t/krita-is-leaved-when-i-touch-it-with-my-pen/186724/4 "2026-07-14T13:55:26Z")

</div>

Found it!

So, indeed! It was a bug with Xwayland. It is corrected when you follow those intructions:

> [@Krita 5.3 on ubuntu 26.04 wacom not working](https://krita-artists.org/t/krita-5-3-on-ubuntu-26-04-wacom-not-working/183761/14):
>
> I have a solution, the analysis was right, xwayland was the issue, for some reason I cannot download it via “sudo apt-get install xwayland=2:24.1.9-1” But i managed to download the .deb and run it with “sudo dpkg -i xwayland\_24.1.9-1\_amd64.deb” Krita works now. Now I just hope it didn’t break something else.

Thank again!

---

<div class="post-metadata">

**Author:** ![wonkypolygons](https://krita-artists.org/user_avatar/krita-artists.org/wonkypolygons/32/221355_2.png) [@wonkypolygons](https://krita-artists.org/u/wonkypolygons)\
**Post date:** [July 14, 2026, 4:09pm UTC](https://krita-artists.org/t/krita-is-leaved-when-i-touch-it-with-my-pen/186724/5 "2026-07-14T16:09:58Z")

</div>

Small addon to the solition, I suggest downloading [2:24.1.12-1 : xwayland package : Ubuntu](https://launchpad.net/ubuntu/+source/xwayland/2:24.1.12-1) instead of going back to 2:24.1.9.-1, sounds like this version won’t be officially implemented in ubuntu 26.04, but in 26.10, but it works ok with 26.04, and using a newer version means it won’t “upgrade” to 2:24.1.10-1 every time you run an update on ubuntu.

---

<div class="post-metadata">

**Author:** ![system](https://krita-artists.org/uploads/default/original/1X/e446d8b3077ddf6dfb5b2cd65199c20095b47dcf.png) [@system](https://krita-artists.org/u/system)\
**Post date:** [July 18, 2026, 4:10pm UTC](https://krita-artists.org/t/krita-is-leaved-when-i-touch-it-with-my-pen/186724/6 "2026-07-18T16:10:20Z")

</div>

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.
