Bug 490434 - Pop-up prompt to "click and drag to draw a selection rectangle" randomly remains on the screen when making selection
Summary: Pop-up prompt to "click and drag to draw a selection rectangle" randomly rema...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 21.12.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-18 05:47 UTC by p1977s
Modified: 2025-03-03 22:23 UTC (History)
1 user (show)

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


Attachments
This is what it looks like when the prompt remains on the screen rather than going away when drawing a selection (21.27 KB, image/png)
2024-07-18 05:47 UTC, p1977s
Details

Note You need to log in before you can comment on or make changes to this bug.
Description p1977s 2024-07-18 05:47:52 UTC
Created attachment 171749 [details]
This is what it looks like when the prompt remains on the screen rather than going away when drawing a selection

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
The following happens with "Capture Mode" set to "Rectangular Region", "Delay" set to "On Click", and "When Launching Spectacle" set to "Use last-used capture mode"
When I press the PrtSc key, crosshairs appear on the screen. I click my mouse once which produces the pop-up message to "click and drag to draw a selection rectangle". I then click a second time to begin drawing my selection. Sometimes at this point the pop-up message stays on the screen (rather than disappearing) and ends up being captured within my selection. 
Other times following the same steps produces the crosshairs, an initial click produces the pop-up message, and a second click causes the pop-up to go away as expected, allowing me to make a screen capture selection that does not include the pop-up message itself. 


STEPS TO REPRODUCE
1. Set "Capture Mode" set to "Rectangular Region", "Delay" set to "On Click", and "When Launching Spectacle" set to "Use last-used capture mode"
2. Press PrtSc to initiate the drawing of a rectangular screen image 
3. click a second time to bring up the pop-up prompt message
4. click a third time to draw the rectangular selection

OBSERVED RESULT
Sometimes the pop-up message remains on the screen and will be included in my rectangular selection. Other, seemingly random times, it will disappear from the screen before I draw the screen show selection. I saw "random" because between one occurrence and the next I am not changing any settings for Spectacle. 

EXPECTED RESULT
Expected result is that the pop-up message prompt would always disappear before drawing the rectangular selection.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: second 5.15.3

ADDITIONAL INFORMATION
I'm running Kubuntu 22.04.4 LTS
X-Server 11.0
X.Org version 1.21.1.4
Vulkan Instance Version 1.3.204
Spectacle 21.12.3
Comment 1 p1977s 2024-07-19 10:27:39 UTC
In case this helps, I've noticed that when I use Spectacle as described to draw and save a rectangular screen capture and it works as expected (that is, the pop-up message goes away just before the act of drawing the selection), no Spectacle process is left running in the background. 

But, when I use Spectacle as described to draw and save a rectangular screen capture, and the pop-up message remains on the screen rather than going away as expected just before making that selection, a Spectacle process is left running in the background. 

I've found that if I kill that left behind process and run Spectacle again, it behaves as expected - the pop-up message disappears from the screen just as I make the actual screen selection.

This is a consistent behavior.
Comment 2 Noah Davis 2025-03-03 22:23:53 UTC
Unfortunately, 21.12 is no longer supported. This issue is not present in the current version.