Bug 399623 - Checkboxes doesn't appear in global menu for gtk applications
Summary: Checkboxes doesn't appear in global menu for gtk applications
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu widget (show other bugs)
Version: 5.14.0
Platform: Neon Linux
: NOR major
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
: 399609 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-10-10 16:19 UTC by Floreal
Modified: 2022-01-26 15:08 UTC (History)
3 users (show)

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


Attachments
The bug in the menu for gimp (29.99 KB, image/png)
2018-10-10 16:19 UTC, Floreal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Floreal 2018-10-10 16:19:41 UTC
Created attachment 115541 [details]
The bug in the menu for gimp

SUMMARY

In Gtk applications like gimp, checkbox options appears without the checkbox in the global menu (it's correct for the appmenu in the window decoration bar). So we can't see option status in the menus of the global menu bar.

STEPS TO REPRODUCE
1. Open Gimp
2. Click on "Windows" menu on the global menu bar
3. Option "Single-window mode" doesn't have a checkbox (which is expected)

OBSERVED RESULT

Options with checkboxes appear without the checkbox. Tested with libreoffice, gimp, ... all have the bug

EXPECTED RESULT

The checkbox should appear

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.1
Comment 1 Nate Graham 2018-10-10 17:26:39 UTC
*** Bug 399609 has been marked as a duplicate of this bug. ***
Comment 2 avlas 2018-10-10 17:48:25 UTC
*** Bug 399609 has been marked as a duplicate of this bug. ***
Comment 3 Floreal 2018-11-01 23:37:58 UTC
In 5.14.2 version:

Problem solved for QT applications (dolphin, vlc).

For some gtk applications (libreoffice, gimp), the problem persists. But if I minimize then restore the application (or switch to another application, then go back to libreoffice or gimp), the checkboxes are now present.

But for other gtk applications (thunderbird, firefox), the problem is solved like qt applications. Is it due to different gtk version (2 or 3)?

So, problem only partially fixed...
Comment 4 Kai Uwe Broulik 2020-12-28 17:42:56 UTC
For Gimp I request the "windows" menu, then look up the relevant action which does not exist. Then I get an action change event which adds it, I signal a menu item change but in dbusmenu-qt the toggle-type cannot change, so it ignores that it now has a checkbox.

Not sure on which side the actual bug is on, though.
Comment 5 galder 2022-01-26 15:08:03 UTC
moving to confirmed