Bug 481057 - While in Panel Edit Mode, per-widget hover pop-up does not close on Esc keypress and blocks it from closing Edit Mode in general
Summary: While in Panel Edit Mode, per-widget hover pop-up does not close on Esc keypr...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.93.0
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2024-02-08 15:10 UTC by Benjamin Flesch
Modified: 2024-04-29 20:39 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Flesch 2024-02-08 15:10:51 UTC
SUMMARY
***
Running v6RC2 on a three-monitor setup. When I right-click on a panel that contains a task manager applet and select "edit mode", the plasmashell edit mode launches, and the new positiong widget shows up. However, another context menu from the task manager overlays the edit mode positioning widget with options "remove" "configure" "show alternatives". In this case, I cannot use ESC key to close the edit mode. If I press ESC, the overlaying context menu will close, the windows will fly back in, but the edit mode toolbar at the top of the screen remains. Also the panel remains in the hover/focus state with blue border.
***


STEPS TO REPRODUCE
1. right click on panel with task manager applet to open edit mode
2. see that edit mode top panel appers, edit mode positioning widget appears, and a context menu for task manager ("remove" "configure" "show alternatives")
3. press ESC key to close edit mode as usual
4. edit mode will remain open

OBSERVED RESULT
edit mode not closed with ESC key

EXPECTED RESULT
edit mode closes with ESC key as usual

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.9.3
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2024-02-08 15:31:39 UTC
X11?
Comment 2 Benjamin Flesch 2024-02-08 15:40:22 UTC
wayland
Comment 3 fanzhuyifan 2024-02-08 17:35:37 UTC
Can't reproduce on wayland -- ESC correctly exits the edit mode for me.
Comment 4 duha.bugs 2024-02-08 17:45:49 UTC
I can reproduce.
1 Monitor + Wayland
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1
Kernel Version: 6.7.2-arch1-1 (64-bit)

Can also reproduce in a VM running Neon unstable.
Comment 5 Benjamin Flesch 2024-02-08 20:52:25 UTC
I also had a situation earlier where if you habe closed the edit mode and right click on the panel on another monitor, the context menu still shows "exit edit mode" instead of enter edit mode.
Comment 6 Nate Graham 2024-02-15 03:22:31 UTC
On my single and dual-screen setups--all on Wayland with Qt 6.6.0--when I execute those steps, the first Esc keystroke closes the panel config window, and the second Esc keystroke exits from global edit mode.
Comment 7 dmatteo002 2024-04-27 11:18:34 UTC
For me the situation is as follow after entering "panel edit mode" with windows behind:
1. if i don't exit the panel (still hover on it) i cannot exit using ESC
2. if i hover on the middle part and press ESC
      a. the first ESC, bring me with "panel edit mode" open and windows behind
      b. the second ESC: the top bar with "edit mode" option remain but is under the other windows and the panel has still blue bar and config buttom on the left to re-enter panel mode
      c. pressing extra ESC, does nothing. To fix i need to switch to another virtual desktop and back.

SOFTWARE/OS VERSIONS:
Operating System: Arch Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon Graphics
Comment 8 Nate Graham 2024-04-29 20:26:17 UTC
Ok, I can confirm this. The per-applet hover overlay blocks the Esc key from closing Edit Mode while it's open.

Probably Esc should close it, so that subsequent Esc keypresses can close other things.