← Back to team overview

desktop-packages team mailing list archive

[Bug 942848] Re: Zenity 'step' value ignored in --scale when using mouse on slider

 

It seem to be a forgotten error which still persists. Could anyone
please cure it?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to zenity in Ubuntu.
https://bugs.launchpad.net/bugs/942848

Title:
  Zenity 'step' value ignored in --scale when using mouse on slider

Status in Zenity:
  New
Status in zenity package in Ubuntu:
  Confirmed

Bug description:
  I am attempting (in both Ubuntu 10.04 & 11.04) to use a zenity scale
  dialog to allow the user to select and return a multiple of 5 quantity
  from 5 to 40, with a default value of 10 as follows in terminal:

  zenity --scale --title="Quantity" --text="How many copies?" --min-
  value=5 --max-value=40 --value=10 --step=5

  Everything works as expected except it seems to ignore the 'step'
  value when I use the mouse to adjust the slider. I am able to select
  any quantity from 5 to 40 and it selects and returns the value without
  any constraint. If I use the keyboard arrow keys, it functions as
  expected, constraining it to a multiple of 5.

  I appreciate any help/input you can provide.
  ~theBruno

To manage notifications about this bug go to:
https://bugs.launchpad.net/zenity/+bug/942848/+subscriptions