Created attachment 155447 [details] A screenshot of the "Drop down" menu become some sort of Menu in itself? SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Switch to Wayland 2. Open system settings 3. Toggle "Highlight changed settings" option on 4. Click on any of the settings options OBSERVED RESULT It prevents you from clicking on anything unless you click outside of the Window and click back. Also sometimes it opens another smaller window for you to choose your options. [See attached] EXPECTED RESULT The drop down menu should close and let you do your thing. SOFTWARE/OS VERSIONS Windows: N/A macOS: N/A Linux/KDE Plasma: KDE Neon Testing Edition (available in About System) KDE Plasma Version: 5.26.90 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 ADDITIONAL INFORMATION Sorry for any mistakes, this is my first bug report D:
Can reproduce. Operating System: Arch Linux KDE Plasma Version: 5.26.90 KDE Frameworks Version: 5.102.0 Qt Version: 5.15.8 Graphics Platform: Wayland
This is that wayland bug where pop-up menus get drawn as windows when the button you clicked on to activate the menu is located in an inactive window. We already have a bug report about this somewhere...
There's another issue here too, though, which is that after you click on the hamburger button once, sometimes when you click on other things, the menu opens again, as though the thing you had clicked on was the hamburger menu. Possibly introduced by https://invent.kde.org/plasma/systemsettings/-/commit/ee6ba5e817e741a073fc59558865194fa2f8f593 or https://invent.kde.org/plasma/systemsettings/-/commit/3fe962232d3f954437d9c2b5cf6489fe3d2c0077. Let's use this bug report to track that.
*** Bug 464687 has been marked as a duplicate of this bug. ***
Wayland sure is a bright and amazing future… or will be someday
A possibly relevant merge request was started @ https://invent.kde.org/plasma/systemsettings/-/merge_requests/193
Git commit 6e086d2b836592db7096209c68ce346cb3b885c6 by Arjen Hiemstra. Committed on 07/02/2023 at 11:43. Pushed by ngraham into branch 'master'. sidebar: Use a proper checked state for the menu button We don't generally override down for setting the pressed state of menu buttons, instead we use the checked state, which is subtly different visually. Moreover, using onPressed here causes a weird behaviour where any subsequent press after clicking the "highlight changed settings" menu item will re-open the menu on wayland, probably caused by the same source as https://bugs.kde.org/show_bug.cgi?id=464855 . Using onToggled instead will prevent this. M +6 -2 sidebar/package/contents/ui/HamburgerMenuButton.qml https://invent.kde.org/plasma/systemsettings/commit/6e086d2b836592db7096209c68ce346cb3b885c6
Git commit a9116045f325d68b29ebff4425ec61a4b85ee06c by Nate Graham, on behalf of Arjen Hiemstra. Committed on 07/02/2023 at 16:49. Pushed by ngraham into branch 'Plasma/5.27'. sidebar: Use a proper checked state for the menu button We don't generally override down for setting the pressed state of menu buttons, instead we use the checked state, which is subtly different visually. Moreover, using onPressed here causes a weird behaviour where any subsequent press after clicking the "highlight changed settings" menu item will re-open the menu on wayland, probably caused by the same source as https://bugs.kde.org/show_bug.cgi?id=464855 . Using onToggled instead will prevent this. (cherry picked from commit 6e086d2b836592db7096209c68ce346cb3b885c6) M +6 -2 sidebar/package/contents/ui/HamburgerMenuButton.qml https://invent.kde.org/plasma/systemsettings/commit/a9116045f325d68b29ebff4425ec61a4b85ee06c