Bug 498225 - Window Under Cursor: delay before window selection
Summary: Window Under Cursor: delay before window selection
Status: CONFIRMED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 24.12.0
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-03 19:50 UTC by Plata
Modified: 2025-01-03 20:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Plata 2025-01-03 19:50:09 UTC
SUMMARY
When taking a screenshot with "Window Under Cursor" and a delay, the delay is executed before the window selection.

STEPS TO REPRODUCE
1. set delay
2. click "Window Under Cursor"

OBSERVED RESULT
1. delay
2. window selection
3. screenshot (immediately)

EXPECTED RESULT
1. window selection
2. delay
3. screenshot

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Comment 1 Nate Graham 2025-01-03 19:56:58 UTC
Can confirm. The delay appears before you can select a window, which causes the window to suffer from Bug 433569.

Not sure if this is expected or not, but it does make the feature unusable for working around Bug 433569.
Comment 2 Plata 2025-01-03 20:17:11 UTC
Same behavior with "Rectangular Region". So at least it's somewhat consistent.

However, as described e.g. on https://userbase.kde.org/Taking_Screenshots, the purpose of the delay is "for example when taking screenshots of drop-down menus". As this is not possible with the current behavior, I would claim that it's a bug.

Is there a use case that requires the current behavior (I can't think of any right now)?