Bug 372893 - Slider control hides bar when amount is set to exactly 0%
Summary: Slider control hides bar when amount is set to exactly 0%
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools (show other bugs)
Version: 3.1 Beta
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-24 17:59 UTC by Andy Statia
Modified: 2016-11-29 10:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Statia 2016-11-24 17:59:18 UTC
The fill tool options panel will hide the "Grow selection" slider bar if set to 0%, but this is the halfway point, so should still show a bar halfway through the slider.

Replication steps:
1. Select the fill tool
2. Go to the Tool Options panel
3. Drag the "Grow selection" value up and down, noting that it shows what percentage you are currently on
4. Drag the value until it is exactly in the middle at 0%; the bar will disappear at this point

The application is likely mistakenly thinking that 0% means no bar should be shown, but for this slider that assumption would be incorrect.
Comment 1 Halla Rempt 2016-11-28 13:43:46 UTC
Git commit 34f0800178611206109944f140ccb8a21a24f806 by Boudewijn Rempt.
Committed on 28/11/2016 at 13:43.
Pushed by rempt into branch 'krita/3.1'.

M  +2    -2    libs/ui/widgets/kis_slider_spin_box.cpp

https://commits.kde.org/krita/34f0800178611206109944f140ccb8a21a24f806
Comment 2 Halla Rempt 2016-11-29 10:14:54 UTC
Git commit f2ee040b3b7213eeedfffcdb6bd39f3c3cb7976e by Boudewijn Rempt.
Committed on 28/11/2016 at 13:43.
Pushed by rempt into branch 'rempt/impex-refactoring'.

M  +2    -2    libs/ui/widgets/kis_slider_spin_box.cpp

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