Bug 375201 - Levels - the middle slider saves integers
Summary: Levels - the middle slider saves integers
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Filter Layers (show other bugs)
Version: unspecified
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-17 22:12 UTC by Alex
Modified: 2017-01-19 10:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2017-01-17 22:12:08 UTC
Currently levels filter mask middle slider (grey) can be set from 10 to 0.1. Maybe it is possible to change that limit from 0.1 to 0.001. Such extreme setting can be useful when working with 32bit images.
Comment 1 Halla Rempt 2017-01-18 07:29:22 UTC
Thanks for the report, I'll look into it.
Comment 2 Halla Rempt 2017-01-19 09:47:10 UTC
Eek, this even unearths a real bug: a value of 0.001 is saved as 1.
Comment 3 Halla Rempt 2017-01-19 09:56:31 UTC
Git commit de183bb43576d662a916ef4af66130a038d358d0 by Boudewijn Rempt.
Committed on 19/01/2017 at 09:55.
Pushed by rempt into branch 'master'.

And actually save the gamma value correctly; unless you moved the
sliders, the value taken would be 1.0

M  +1    -1    plugins/filters/levelfilter/kis_level_filter.cpp
M  +6    -3    plugins/filters/levelfilter/wdg_level.ui

https://commits.kde.org/krita/de183bb43576d662a916ef4af66130a038d358d0
Comment 4 Halla Rempt 2017-01-19 10:00:53 UTC
Git commit d2d19b5be3efe5ad48ed237b9b324642009146a7 by Boudewijn Rempt.
Committed on 19/01/2017 at 10:00.
Pushed by rempt into branch 'krita/3.1'.

And actually save the gamma value correctly; unless you moved the
sliders, the value taken would be 1.0

M  +1    -1    plugins/filters/levelfilter/kis_level_filter.cpp
M  +6    -3    plugins/filters/levelfilter/wdg_level.ui

https://commits.kde.org/krita/d2d19b5be3efe5ad48ed237b9b324642009146a7