Bug 433360

Summary: Compression Quality capped at 99%, cannot set to 100%
Product: [Applications] Spectacle Reporter: 2wxsy58236r3
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate
Priority: NOR    
Version: 20.12.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 20.12.3

Description 2wxsy58236r3 2021-02-21 05:35:11 UTC
SUMMARY

To save screenshots in lossless WebP, the compression quality should be set to 100%. (Reference: Bug 420449 Comment 4)

However, there is no way to set it to 100%.

STEPS TO REPRODUCE

1. Open Spectacle and click "Configure..." -> "Save"
2. Drag the Compression Quality slider
3. In the textbox of Compression Quality, click the arrow and try making it 100%

OBSERVED RESULT

1. When dragging the slider, the maximum value is 99%.
2. When using the textbox to set the value to 100%, the Apply button will not be activated. When you click OK, close Spectacle, start Spectacle again and go to the settings, you will find that the maximum value will return to 99%.
Comment 1 2wxsy58236r3 2021-02-21 06:41:35 UTC
If I edit compressionQuality in spectaclerc to 100, then the webp output will be lossless, but as soon as I go to Spectacle settings again, the value returns to 99%, and Apply button is activated (even though I have not made any changes in the GUI).
Comment 2 Bug Janitor Service 2021-02-21 09:59:44 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/53
Comment 3 Nate Graham 2021-02-21 23:53:03 UTC
You're right.
Comment 4 Nate Graham 2021-02-22 03:14:14 UTC
Fixed by Natsumi Higa with https://invent.kde.org/graphics/spectacle/commit/afdb19d5358c860e5c6617dc9270167aeed551a9 in Spectacle 20.12.3!