Details
-
Bug
-
Resolution: Out of scope
-
P1: Critical
-
None
-
6.4.2, 6.9
-
None
-
Ubuntu 24.04, Wayland
Laptop touch screen & desktop with touch screen.
Description
Touch input isn't working with QMenuBar in a created app or Qt Creator.
I am new to Qt, but I am running into a bug and have been looking for a solution for the past week with no success. I am using Ubuntu 24.04 with Wayland and have a touch screen. I need to interact with the menu bar or file menu at the top left of an app. When I touch "File" in my app or Qt Creator, the menu opens, but when I let go of the touchscreen, it immediately closes so I can't select anything in the file menu.
I have found that if I run the app or Qt Creator with sudo, the menu opens and stays open correctly, but I can't find what the differences are between running the app with and with out sudo.
The attached video shows me running the app and opening the File menu by touching it, but it immediately closing when the touch is released. I did try dragging my finger down on the menu, but it doesn't select anything in the menu when I try that. At 0:15, I run my app with sudo to show that it is working as expected.
At 0:30, I show the same issue with Qt Creator 13.0.0. At 0:55, I am using a mouse to navigate the menus.
I have tried reinstalling Ubuntu, Qt Creator, Qt, 3 different touch screens and 3 different computers with the same result.
If I run the app on Windows 10, the file menu works fine with the touch screen, but I need to use Ubuntu and I can't continue to use sudo to run the app.
Thank you