Summary: | Deleted panels still respond to keyboard shortcuts until their "undo deleting this panel" notification is closed | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Matej Starc <matej.starc> |
Component: | Panel | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | 4wy78uwh, nate, niccolo.venerandi |
Priority: | NOR | ||
Version First Reported In: | 5.24.90 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/83a995f98af380c53c2b5dddcb210e837a24b5c3 | Version Fixed In: | 6.3.0 |
Sentry Crash Report: | |||
Attachments: | bug screenshot |
Description
Matej Starc
2022-05-29 05:44:26 UTC
Created attachment 149302 [details]
bug screenshot
Did you close the notification that says "a panel was deleted" or is it still visible somewhere? (In reply to Nate Graham from comment #2) > Did you close the notification that says "a panel was deleted" or is it > still visible somewhere? Ah. So it seems that until that notification ceases to be valid or is closed, the app launcher can still be used. Yes, until you close the notification, the panel is just hidden, not actually deleted. That's so you can undo deleting it using the notification. We could probably block keyboard shortcuts that affect it when it's in this state. (In reply to Nate Graham from comment #4) > Yes, until you close the notification, the panel is just hidden, not > actually deleted. That's so you can undo deleting it using the notification. > > We could probably block keyboard shortcuts that affect it when it's in this > state. Blocking shortcuts would be a good idea. Thanks. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4982 Git commit 83a995f98af380c53c2b5dddcb210e837a24b5c3 by Niccolò Venerandi. Committed on 05/12/2024 at 16:43. Pushed by niccolove into branch 'master'. Delete PanelView immediately after user asks to delete panel We used to only hide the PanelView until as long as the "undo" notification was alive, but this allows the user to still interact with the applets through shortcuts. Instead, we immediately delete the PanelView, and we create it again if the user undoes the action. M +11 -1 shell/shellcorona.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/83a995f98af380c53c2b5dddcb210e837a24b5c3 |