Created attachment 149019 [details] Show in Activities checkbox menu When a menu consists of a set of checkboxes, clicking to set/clear one checkbox closes the menu. This is very annoying when the user wants to set multiple items as the whole menu sequence has to be started again. I know of at least two places where these menu types are found. 'Show in Activities' from the window TitleBar and selecting columns to be displayed in Dolphin. STEPS TO REPRODUCE 1. Right click on window TitleBar 2. Select 'Show in Activities' when you have multiple activities 3. Try and select more than one activity (but not All Activities) OBSERVED RESULT When any checkbox item is clicked, it is set and the menu closes EXPECTED RESULT The menu to stay open so that multiple checkboxes can be selected and close on a mouse click outside the menu SOFTWARE/OS VERSIONS Linux/KDE Plasma: Operating System: openSUSE Tumbleweed 20220517 KDE Plasma Version: 5.24.5 KDE Frameworks Version: 5.94.0 Qt Version: 5.15.2 Kernel Version: 5.17.7-1-default (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz Memory: 7.5 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 620 ADDITIONAL INFORMATION
That usually how menus work in computer software, what's the expected behaviour in your opinion?
(In reply to Felipe Kinoshita from comment #1) > That usually how menus work in computer software, what's the expected > behaviour in your opinion? It may be how menus work, but not multiple checkboxes. This is where having multiple checkboxes in a menu breaks the original menu concept. Menus allow only single click but multiple checkboxes have to allow for multiple clicks. My server is running an older version of KDE/Plasma under openSUSE Leap and allows me to select more than one checkbox at a time without closing the menu, the menu only closes when I click outside the menu so, at one point, this worked as I would like. Operating System: openSUSE Leap 15.3 KDE Plasma Version: 5.18.6 KDE Frameworks Version: 5.76.0 Qt Version: 5.12.7
This happened because we ported an old custom menu implementation to the standard one. The custom one had the behavior you wanted, but suffered from other bugs. Porting to the standard menu fixed all those bugs, but introduced this one. Unfortunately short of reverting that work (which we don't want t, we cannot add the behavior you want in the menu. It needs to be done in Qt itself. See https://bugreports.qt.io/browse/QTBUG-47406
Oops, clicked save too soon. That last paragraph should be: Unfortunately short of reverting that work (which we don't want to do because it would re-introduce other bugs), we cannot add the behavior you want in the menu. It needs to be done in Qt itself. See https://bugreports.qt.io/browse/QTBUG-47406
Understood :-) It does seem that putting checkboxes in menus is really overloading the original WIMP concept ;-)