After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 521574 - zenity --scale dialog's --value= option ignores the values higher then 100.
zenity --scale dialog's --value= option ignores the values higher then 100.
Status: RESOLVED FIXED
Product: zenity
Classification: Core
Component: general
2.22.x
Other Linux
: Normal normal
: ---
Assigned To: Zenity Maintainers
Zenity Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-10 13:35 UTC by Sebastien Bacher
Modified: 2008-03-17 19:25 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Sebastien Bacher 2008-03-10 13:35:44 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/185948

"Binary package hint: zenity

zenity --scale --text=helo --min-value=1 --max-value=255 --step=1 --value=200. When the --value= option is set to a number higher then 100 the slider is always set to 100.
zenity --scale --text=helo --min-value=1 --max-value=255 --step=1 --value=20 works fine."
Comment 1 Lucas Rocha 2008-03-17 19:25:19 UTC
Fixed in trunk and gnome-2-22 branch. Thanks for the report!

2008-03-17  Lucas Rocha  <lucasr@gnome.org>

        * src/scale.c (zenity_scale): set value range before setting value 
        in order to correctly set initial state (Fixes bug #521574).