Bug 499018 - When invoking rectangular region with a shortcut while an autohide panel is active, the panel-side edge lights up and the panel may get stuck unhidden
Summary: When invoking rectangular region with a shortcut while an autohide panel is a...
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: git-master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-22 17:11 UTC by cwo
Modified: 2025-01-22 22:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.3.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cwo 2025-01-22 17:11:29 UTC
SUMMARY

When spectacle is invoked with the shortcut for rectangular region (or launched with MR !431 applied) while the mouse is at the  screen edge where an auto-hiding panel is (and consequently the panel is visible), the glow that happens when the mouse is close to the panel still happens (at least once) while the rectangular screenshot interface is visible. This is not the case if the rectangular region screenshot is invoked while the mouse is far away from the edge; moving it to the edge then while the rectangular region interface is active does not cause the edge to glow. Under certain circumstances, this can also lead to the panel becoming stuck unhidden, until the user mouses over the panel again.

This reminds me a bit of bug 493171 where an auto-hide panel could also get stuck while being activated under a full-screen effect. May be a kwin issue.

STEPS TO REPRODUCE
1. Have an auto-hiding bottom panel
2. Move the mouse to the bottom screen edge until the glow happens, then keep the mouse still
3.  Press Meta+Shift+Print, wait for the rectangular region screen shot to come up, then move the mouse a little toward the screen edge. Notice the edge glowing.
4. Still in rectangular region mode, move the mouse far away from that edge, to the center of the screen
5. Press Escape to exit rectangular region mode. Notice the panel is unhidden and does not automatically hide
6. Mouse over the stuck panel; when you move away, it hides again.

OBSERVED RESULT

Glowing edge and stuck panel

EXPECTED RESULT

Edge does not glow (similarly to how it does not glow when the panel was hidden when invoking the screenshot), and panel always hides on its own. 


SOFTWARE/OS VERSIONS

Spectacle master from today, with and without !431

Operating System: TUXEDO OS 
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.1
Kernel Version: 6.11.0-108013-tuxedo (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2025-01-22 22:11:25 UTC
This appears to have been fixed just yesterday by https://invent.kde.org/plasma/kwin/-/commit/25de61736815d015c9c40e6c5797ce5a688ec7e2! Can't reproduce with those steps and that commit applied.