https://bugs.kde.org/show_bug.cgi?id=490833

            Bug ID: 490833
           Summary: Menu bar in GTK apps does not behave correctly in
                    Plasma Wayland
    Classification: Plasma
           Product: plasmashell
           Version: 6.1.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: pavel.uru...@gmail.com
                CC: k...@davidedmundson.co.uk
  Target Milestone: 1.0

Created attachment 171993
  --> https://bugs.kde.org/attachment.cgi?id=171993&action=edit
video showcasing the issue

SUMMARY
Menu bar in GTK apps does not behave correctly in Plasma under Wayland. Please
see the attached video. You can clearly see that I am clicking the Tools menu,
but the Files menu is opening instead. The only way to open the menu under the
mouse cursor is to actually move the mouse after clicking on the menu bar.

The app in the video is Emacs built with the PGTK option (pure GTK/Wayland),
but I experience the same behaviour in other GTK+ apps, e.g. Xournal++,
DeaDBeeF (audio player) etc.

The issue appears to be Wayland-specific, the menu bar behaves correctly if I
use Plasma with X11. Needless to say, the same apps behave correctly in
GTK-based environments, e.g. GNOME.

STEPS TO REPRODUCE
1. Login into the Plasma-Wayland session
2. Open a GTK+ app, e.g. Xournal++ or Emacs PGTK
3. Click in the menu bar on any submenu that is not the first menu in the list

OBSERVED RESULT
When the user clicks in the menu bar, the first submenu (which is typically
Files) opens instead of the submenu that has actually been clicked. To actually
open the menu under the cursor, the user has to move the mouse after the menu
bar has been clicked. 

EXPECTED RESULT
Click opens the submenu under the cursor.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240724
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.9-1-default (64-bit)
Graphics Platform: Wayland

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to