Slider handle doesn't stop at mouse position when clicking outside of the handle

Bug #601562 reported by Hernando Torque
This bug report is a duplicate of:  Bug #898611: Slider shouldn't increase by steps. Edit Remove
50
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Indicator Display Objects
Incomplete
Low
Cody Russell
One Hundred Papercuts
Incomplete
Low
Unassigned
The Sound Menu
Invalid
Low
Cody Russell
indicator-sound (Ubuntu)
Invalid
Low
Conor Curran

Bug Description

Binary package hint: indicator-sound

Example:

Pressing the mouse at position "x" (1), the volume decreases all the way down to vol_min (2). Clicking the same position again, the volume raises to vol_max (3). What I expect when clicking at "x" is, that the handle moves to exactly that position (4).

1. [------------x---------((()))--]
2. [((()))------x-----------------]
3. [------------x-----------((()))]
4. [----------((()))--------------]

If this is a design choice I'd like to know the reasoning behind it, because if I want vol_min/vol_max there's already a more efficient way to get it: clicking the dedicated buttons.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: indicator-sound 0.3.4-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-6.9-generic 2.6.35-rc3
Uname: Linux 2.6.35-6-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sun Jul 4 11:18:17 2010
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: indicator-sound

Revision history for this message
Hernando Torque (htorque) wrote :
description: updated
Revision history for this message
Omer Akram (om26er) wrote :

I think thats the intended behavior

Revision history for this message
Vish (vish) wrote :

When we change the volume in the sound preferences window by clicking on the slider. Its just one click and volume is increased/decreased to the position where it was clicked. Not in increments and no overshoots

However ,when we click on the scrollbars , it is an incremental page up or page down and it stops where the user is clicking. No overshoots here either.

If user clicks on a position in a slider , user wants to set the level/position there , either we do it in increments or in one shot. Doing it in increments can be useful , while increasing or decreasing volume to set the desired volume.
There is no reason for an overshoot.

Changed in indicator-sound (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Changed in indicator-sound:
status: New → Confirmed
Revision history for this message
David Barth (dbarth) wrote :

Moving to the central ayatana work list for the last 10.10 iteration.

Changed in indicator-sound:
assignee: nobody → Cody Russell (bratsche)
importance: Undecided → Medium
milestone: none → ubuntu-10.10-beta
Revision history for this message
David Barth (dbarth) wrote :

De-listing from the beta milestone, waiting for input from Conor on whether it is still worth fixing without impacting the release.

Changed in indicator-sound:
milestone: ubuntu-10.10-beta → none
Conor Curran (cjcurran)
Changed in indicator-sound (Ubuntu):
assignee: nobody → Conor Curran (cjcurran)
Revision history for this message
Hernando Torque (htorque) wrote :

I got to correct Vish: scrollbars do show the same behavior (eg. Gedit and Nautilus), while I've seen sliders that stop at the mouse position (like timelines in eg. Rhythmbox and Totem), don't react to clicks outside of the handle at all (The Widget Factory), or show the described behavior (Gimp).

Changed in hundredpapercuts:
status: New → Triaged
Cody Russell (bratsche)
Changed in indicator-sound:
importance: Medium → Low
David Barth (dbarth)
Changed in indicator-sound:
milestone: none → ubuntu-10.10
Conor Curran (cjcurran)
Changed in ido:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Cody Russell (bratsche)
Revision history for this message
pfrenssen (pieter-frenssen) wrote :

Often when you click on the volume slider button you don't "grab" it but it starts moving quickly towards max volume. This can be rather startling.

It happens when you click on the speaker icon in the notification applet, and then click directly on the volume slider button.

It does not happen when you click inside the popup window (eg. to the left of the slider) before clicking on the slider button.

Conor Curran (cjcurran)
Changed in indicator-sound:
status: Confirmed → Invalid
Revision history for this message
Vish (vish) wrote :

Hernando Torque , Yea.. scrollbars in Nautilus/Gedit do the same.. But, I had tested in Firefox, which stops at the pointer.. Well that's another bug i guess. ;-)

Changed in hundredpapercuts:
importance: Undecided → Low
milestone: none → nt3-ayatana
Revision history for this message
Bartosz Kosiorek (gang65) wrote :

I think it will be much easier to change all GNOME sliders (it is using the same component).

Conor Curran (cjcurran)
Changed in indicator-sound:
milestone: ubuntu-10.10 → none
Changed in indicator-sound (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Hernando Torque (htorque) wrote :

So... is this bug invalid? Does it need input from the design team?

Revision history for this message
Chris Wilson (notgary-deactivatedaccount) wrote :

I'm not able to reproduce the overshoot described in the original report. Instead, I observe an incremental increase/decrease in the direction towards the click until the slider reaches the cursor, at which point no further change is observed. Is this considered fixed or do we want to move the volume slider straight to the location of the click, instead of using these increments?

Changed in ido:
status: Confirmed → Incomplete
Changed in hundredpapercuts:
status: Triaged → Incomplete
milestone: nt3-ayatana → none
Revision history for this message
Hernando Torque (htorque) wrote :

I certainly can reproduce it in Precise.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.