Bug 474873 - Panel in "Auto-Hide" mode makes it unnecessarily difficult to trigger hotcorners sharing the same edge
Summary: Panel in "Auto-Hide" mode makes it unnecessarily difficult to trigger hotcorn...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.27.8
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: usability, wayland
Depends on:
Blocks:
 
Reported: 2023-09-25 19:50 UTC by stephan.seitz
Modified: 2023-09-29 17:44 UTC (History)
1 user (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 stephan.seitz 2023-09-25 19:50:56 UTC
SUMMARY


Not sure whether this is a kwin_wayland bug or a plasma bug. It can not be reproduced on a kwin_x11 session. It's also possible that the behavior on Wayland is the intended behavior. Please excuse the generated spam by this bug report in that case.

STEPS TO REPRODUCE
1. Configure a full-width Plasma panel on the top edge of the monitor with visibility "Auto Hide"
2. Configure Screen Edges to perform an action on the top-left corner of the monitor (Settings -> Workspace Behavior -> Screen Edges)
3. Put your mouse cursor quickly to the top-left corner of the monitor

OBSERVED RESULT

- On a kwin_x11 session, both the "Auto Hide" panel will be visible and the top-left corner action will be triggered
- On a kwin_wayland sesssion, only the "Auto Hide" panel will become visible. The top-left corner action will not be triggered. Once the panel is visible, you can move away your mouse cursor minimally from the top-left corner and go back to the top-left corner. The top-left corner action will be triggered as it would on a X11 session. You could also first go with your cursor to the top edge of the screen to make the panel appear and then go the the top-left corner. Also in this case the corner action would work. 

I did not test other window managers.

EXPECTED RESULT

I would expect that on a Wayland session, I would get the same behavior as on a X11 session with both the "Auto Hide" panel appearing and the corner action to be triggered

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Linux stephan-Z87-DS3H 6.5.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep  6 15:11:07 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 5.27.8
(available in About System)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0-0ubuntu1
Qt Version:  5.15.10

ADDITIONAL INFORMATION

Thank you for your awesome work on KDE!
Comment 1 Nate Graham 2023-09-28 18:32:43 UTC
I can *kind of* reproduce this when I replicate that setup. If I keep forcing my cursor into that corner--especially if I move it more upwards than to the left--the hotcorner eventually activates. Can you reproduce that?
Comment 2 stephan.seitz 2023-09-28 20:40:37 UTC
The behavior I experience is that once the panel is visible. I can enable the corner-action as expected.

I can observe the behavior you're describing:
- move cursor to the very left edge of the screen, then move the cursor up. Only panel activates
- move the cursor to the top edge slightly missing the corner, then move left: first panel get visible, then the corner action get triggered. However, quickly going to the top-edge then left also does not trigger the corner-action.
Comment 3 Nate Graham 2023-09-29 17:44:28 UTC
Cool.