Summary: | Show alternatives popup can lose focus but not disappear, and then it won't disappear until you manually re-focus it and make it lose focus again | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Waqar Ahmed <waqar.17a> |
Component: | Panel | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugseforuns, cwo.kde, firlaevhans.fiete, goodaqua, kdedev, nate, niccolo.venerandi, omano |
Priority: | NOR | ||
Version: | 6.0.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/f424f145b00a765653f6bf46414efff1ddc0294d | Version Fixed In: | 6.2.0 |
Sentry Crash Report: |
Description
Waqar Ahmed
2024-05-17 18:49:08 UTC
I have found a way to cleanly reproduce this on current Neon/Plasma 6.2 Dev, including with an (almost) fresh profile. STEPS TO REPRODUCE 1. Right-click a panel, Show Panel Configuration. 2. Right-click a widget that has alternatives (like kickoff), select "Show Alternatives". 3. Leaving the "Alternative widgets" interface open, click "Done" on the Panel Settings menu. After that, the "Alternative widgets" interface remains open and does not close if you click elsewhere, the way it usually does. Picking one of the options makes it go away, and I've found it seems to become unstuck over time and will close at some point. Can confirm on Plasma 6.1 This works as expected for me on Wayland. Are all affected people using X11? (In reply to Nate Graham from comment #3) > This works as expected for me on Wayland. Are all affected people using X11? No, I'm on Wayland. Did you follow the steps from the second comment? Open "Show alternatives" while in edit mode, then exit edit mode with it still open, and it won't go away when you click anywhere else unless you focus it again once. It doesn't happen when you do it the other way around, i. e. opening "Show alternatives" in normal mode and then *entering* edit mode, which makes the menu go away as expected. *actually just plain edit mode doesn't trigger it, you have to be in panel configuration mode. Oh, and another thing I found (sorry for pinging y'all thrice in a row): This also ONLY happens when you click "show alternatives" on the popup menu that you get when you hover over the plasmoid in panel edit mode, not when invoking it via the right click menu. This is weird. I can reproduce the issue with it with panel configuration mode open, but that seems different from what Waqar is reported. In both cases I suspect it's lost focus without closing for some reason. If you click on its header to give it focus again, will it then close when you hit the Esc key or click elsewhere to make it lose focus in the way it expected? Yes, clicking the header of the popup makes it go away again if I then click outside the popup or press escape. Lost focus without closing seems reasonable. That's for the replication steps I outlined in comment 2. I don't think anyone has replicated the precise steps that Waqar gave; mine was an alternate way to get the same symptoms. Maybe I should have been more explicit about that. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4485 Git commit 7b875528ad2b23a5d63e93cd40c2ca0b946f2e47 by Niccolò Venerandi, on behalf of Niccolo Venerandi. Committed on 26/06/2024 at 08:26. Pushed by niccolove into branch 'master'. Do not hide panel settings when a panel-parented dialog takes focus This avoids the Alternative Widgets dialog to remain stuck open when you close edit mode with it open. M +11 -0 shell/panelconfigview.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/7b875528ad2b23a5d63e93cd40c2ca0b946f2e47 Git commit 3acaa98ff89120cc93cdcb87210c061a7de2a004 by Niccolo Venerandi. Committed on 26/06/2024 at 15:05. Pushed by niccolove into branch 'Plasma/6.1'. Do not hide panel settings when a panel-parented dialog takes focus This avoids the Alternative Widgets dialog to remain stuck open when you close edit mode with it open. M +11 -0 shell/panelconfigview.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/3acaa98ff89120cc93cdcb87210c061a7de2a004 *** Bug 491064 has been marked as a duplicate of this bug. *** Looks like this broke again, or was never fully fixed; I can reproduce it on current git master, and Patrick Silva can reproduce it in Plasma 6.1.3. *** Bug 491332 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2430 Git commit f424f145b00a765653f6bf46414efff1ddc0294d by Niccolò Venerandi. Committed on 13/08/2024 at 08:02. Pushed by niccolove into branch 'master'. Keep panel popups upen so that the alternative dialog can gain focus Previously, the popups would loose focus before the alternatives one gain it; the panel settings dialog would notice that and ask for focus, so that the alternatives dialog actually never gets it. M +4 -1 containments/panel/contents/ui/ConfigOverlay.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/f424f145b00a765653f6bf46414efff1ddc0294d *** Bug 492899 has been marked as a duplicate of this bug. *** |