Bug 468466 - Click on menu item in GTK apps in Wayland always opens first submenu
Summary: Click on menu item in GTK apps in Wayland always opens first submenu
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-13 11:56 UTC by elman
Modified: 2023-04-14 14:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description elman 2023-04-13 11:56:44 UTC
SUMMARY
***
With some GTK apps (for example Sublime Text or DBeaver - e.g. those that do not use CSD) a click on any menu item always opens first submenu.
***

STEPS TO REPRODUCE
1. Open Sublime Text 
2. Click "View" submenu

OBSERVED RESULT
"File" as first submenu is opened

EXPECTED RESULT
"View" submenu should be opened

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.2.10-zen1-1.1-zen (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
I would make a video, but on X11 this works fine and I couldn't find working app on Wayland to record a region on desktop.
Comment 1 Fushan Wen 2023-04-13 15:37:47 UTC
Can you reproduce with gtk4-demo-application ?
Comment 2 Nate Graham 2023-04-13 19:59:08 UTC
...Or when not using the Breeze GTK theme?
Comment 3 elman 2023-04-14 11:06:27 UTC
> Can you reproduce with gtk4-demo-application ?

I installed both gtk3-demos and gtk4-demos and they don't seem to have regular menu, just tabs. When I try Preview in kcm GNOME/GTK Application Style, menu works as expected.

> ...Or when not using the Breeze GTK theme?

I actually don't use Breeze theme, but default one (Adwaita). So I tried to set Breeze theme and it behaves the same way.
Comment 4 Nate Graham 2023-04-14 14:04:47 UTC
If the issue reproduces with the Adwaita theme, then this is either an issue in the app or in GTK itself.