Bug 498225

Summary: Window Under Cursor: delay before window selection
Product: [Applications] Spectacle Reporter: Plata <plata.hill>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: CONFIRMED ---    
Severity: minor CC: kde, nate
Priority: NOR    
Version First Reported In: 24.12.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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)?