Bug 433360 - Compression Quality capped at 99%, cannot set to 100%
Summary: Compression Quality capped at 99%, cannot set to 100%
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 20.12.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-21 05:35 UTC by 2wxsy58236r3
Modified: 2021-02-22 03:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 20.12.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!