Zenity 'step' value ignored when using mouse

Asked by Chris Bruno on 2012-02-27

This is also posted at: http://ubuntuforums.org/showthread.php?p=11722705#post11722705 and before I submit a bug report, wanted to get some additional eyes on it...

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 and a step value of 5 as follows:

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

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.

Question information

English Edit question
Ubuntu zenity Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chris Bruno (chris-bruno) said :

This is also true of the zenity 'replacement' yad.

Revision history for this message
Mike Birchley (mbirchley) said :

I concur as I have zenity 3.4.0-0ubuntu3 here in a recently upgraded Ubuntu 12.04 and besides many other problems with Zenity rendering my scripts unusable, the mouse is NOT moving the slider with the --scale option in my setup. Same behaviour as Chris Bruno. Hope next fixes are successful. This option always worked in previous versions of Zenity/Ubuntu.

Revision history for this message
Mike Birchley (mbirchley) said :

Still seeing this behaviour with mouse scrolling, have had a recent update to Zenity 3.4.0-0ubuntu4 which has fixed feeding file lists to Zenity in scripts, but the scrolling problem is unchanged. Anyone else?

Can you help with this problem?

Provide an answer of your own, or ask Chris Bruno for more information if necessary.

To post a message you must log in.