Bug 365590

Summary: "On Click" checkbox does not remember state when checked
Product: [Applications] Spectacle Reporter: kde
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kde 2016-07-12 23:49:54 UTC
Press Print Screen to open Spectacle. In the "Area" dropdown, select "Window Under Cursor". Click "On Click". Click "Take New Screenshot." Click on another window to take a screenshot of it. Save the screenshot and exit Spectacle.

Then press Print Screen to open Spectacle again. "Area" will still be set to "Window Under Cursor" but "On Click" is no longer checked. (The "Delay" field will also retain whatever value you set, but "On Click" does not.)

I also tried closing Spectacle, editing ~/.config/spectaclerc, and changing "waitCaptureOnClick=false" to "waitCaptureOnClick=true". Then when I run Spectacle again, "On Click" is not checked, and it also overwrites that line in spectaclerc and changes it back to "false".
Comment 1 Boudhayan Gupta 2016-07-13 06:12:50 UTC
I believe I fixed this in 16.04(.1?)

Which version are you running?
Comment 2 kde 2016-07-13 06:17:16 UTC
(In reply to Boudhayan Gupta from comment #1)
> I believe I fixed this in 16.04(.1?)
> 
> Which version are you running?

15.12.3 in Kubuntu 16.04.
Comment 3 Boudhayan Gupta 2016-07-13 06:31:30 UTC
Yep, how preferences are handled was completely reworked in 16.04. This has been fixed for a long time now.
Comment 4 kde 2016-07-13 15:02:55 UTC
Uh... I'm confused. If it's been fixed for "a long time now," why is it still broken for me? I installed 16.04 only a month ago and all my packages are up to date.
Comment 5 Boudhayan Gupta 2016-07-13 18:34:23 UTC
This was fixed in Spectacle version 16.04.0, not Ubuntu version 16.04.