Bug 362616

Summary: Multiple PrintScreen presses have no effect
Product: [Applications] Spectacle Reporter: tesfabpel
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: fel1992, sudhir
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description tesfabpel 2016-05-03 10:20:05 UTC
With the old tool, pressing the print screen multiple times opened a new instance of the app (IIRC)...
This does not work with spectacle...

Reproducible: Always

Steps to Reproduce:
1. Press PrintScreen
2. Spectacle opens with the screenshot
3. Press PrintScreen again

Actual Results:  
No effect.

Expected Results:  
A new instance of Spectacle should be opened.
Otherwise, discard the previous screenshot and fetch a new one...

This may cause the user to lose its screenshot...
Comment 1 Boudhayan Gupta 2016-05-03 11:16:32 UTC
The intended behaviour is to discard the previous shot and take a new one. This will be fixed.
Comment 2 Boudhayan Gupta 2016-05-03 11:35:17 UTC
This seems to be a KHotkeys issue. Triggering the DBus method manually does update the screenshot in the app.
Comment 3 Sudhir Khanger 2016-09-05 14:55:42 UTC
>Expected Results:  
>A new instance of Spectacle should be opened.

What is the benefit of new instances of Spectacle on multiple PrtSc clicks? I would hope multiple PrtSc clicks should only bring them to foreground.

Having 7 instances of Spectacle on a single screen doesn't make sense. Multiple instances of Spectacle should be triggered when opened from app menu. PrtSc should bring existing one to the foreground.
Comment 4 tesfabpel 2016-09-05 15:02:07 UTC
(In reply to Sudhir Khanger from comment #3)
> >Expected Results:  
> >A new instance of Spectacle should be opened.
> 
> What is the benefit of new instances of Spectacle on multiple PrtSc clicks?
> I would hope multiple PrtSc clicks should only bring them to foreground.
> 
> Having 7 instances of Spectacle on a single screen doesn't make sense.
> Multiple instances of Spectacle should be triggered when opened from app
> menu. PrtSc should bring existing one to the foreground.

For example, if you want to take 3 screenshots in 6 seconds you press the button 3 times and then review / save the screenshots separately...
Comment 5 Feelus 2016-10-21 19:44:15 UTC
*** Bug 366282 has been marked as a duplicate of this bug. ***
Comment 6 Boudhayan Gupta 2017-02-20 18:24:07 UTC
This behaviour is intended.

(In reply to tesfabpel from comment #4)
> For example, if you want to take 3 screenshots in 6 seconds you press the
> button 3 times and then review / save the screenshots separately...

You're now able to take screenshots without bringing up the GUI which are auto-saved, using the default hotkeys. These may be reviewed and discarded at your leisure.