# QT issue with current Ubuntu LTS

**URL:** <https://discuss.pencil2d.org/t/qt-issue-with-current-ubuntu-lts/12089>\
**Category:** Help and Advice\
**Created:** [30 October 2026 04:19 UTC](https://discuss.pencil2d.org/t/qt-issue-with-current-ubuntu-lts/12089 "2026-10-30T04:19:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![n00b](https://discuss.pencil2d.org/letter_avatar_proxy/v4/letter/n/2bfe46/32.png) [@n00b](https://discuss.pencil2d.org/u/n00b)\
**Post date:** [30 October 2026 04:19 UTC](https://discuss.pencil2d.org/t/qt-issue-with-current-ubuntu-lts/12089/1 "2026-10-30T04:19:20Z")

</div>

I recently upgraded from an older version of Ubuntu to the current LTS 26.04. I noticed pencil2D was not recognizing the input from my drawing tablet and I thought it might just be an issue with pencil2D but Krita was also having the same issue. I looked it up and apparently the issue is in new versions of XWayland so it won’t effect every distro.

Running this command when starting pencil2D fixes it:

```auto
QT_QPA_PLATFORM=wayland pencil2d

```

Hopefully this helps anybody who has the same issue I ran into.

---

<div class="post-metadata">

**Author:** ![n00b](https://discuss.pencil2d.org/letter_avatar_proxy/v4/letter/n/2bfe46/32.png) [@n00b](https://discuss.pencil2d.org/u/n00b)\
**Post date:** [31 October 2026 06:24 UTC](https://discuss.pencil2d.org/t/qt-issue-with-current-ubuntu-lts/12089/2 "2026-10-31T06:24:04Z")

</div>

I have something else to add to this issue. So my drawing tablet is working now but I can’t add a new layer. Nothing happens when I click the button. I am thinking about just switching to a different distro or possibly trying to downgrade to a previous version of XWayland.

I want to say that this is not just an issue with pencil2D. It also effects krita. I think it probably has to due with a lot of vibe coded updates to Ubuntu that no one at canonical is testing.

UPDATE: After some more testing, I discovered that new layers can be created from the menu. I now have access to everything.

---

<div class="post-metadata">

**Author:** ![j5lx](https://discuss.pencil2d.org/letter_avatar_proxy/v4/letter/j/d6d6ee/32.png) [@j5lx](https://discuss.pencil2d.org/u/j5lx)\
**Post date:** [24 November 2026 14:21 UTC](https://discuss.pencil2d.org/t/qt-issue-with-current-ubuntu-lts/12089/3 "2026-11-24T14:21:13Z")

</div>

Hi, sorry for the late reply. I had tried to look into this issue but lost track of it after I ran into issues with my Ubuntu VM.

First of all, the original XWayland issue that you found is being tracked on the Ubuntu side [over here](https://bugs.launchpad.net/ubuntu/+source/xwayland/+bug/2150325). It looks like they’ve already prepared a fix and, while I’m not super familiar with their release process, it looks to me like the fix is meant to be released in the coming days.

The second issue with the layer adding is a lot stranger, but if I had to take a guess I’d say it’s most likely a side effect of using the Wayland QPA platform. After all, there must be a reason why it isn’t being used by default. Either way, I’m glad you found a way to deal with it.
