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 440131 - Features request for new gtk volume button widget
Features request for new gtk volume button widget
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-05-21 09:41 UTC by Luca Ferretti
Modified: 2014-05-22 01:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A glade mockup of the slider with percentage (3.74 KB, application/x-glade)
2007-05-21 09:47 UTC, Luca Ferretti
Details
A screenshot from previous glade mockup (1.65 KB, image/png)
2007-05-21 09:49 UTC, Luca Ferretti
Details

Description Luca Ferretti 2007-05-21 09:41:07 UTC
Based on my past experience (as user) with BaconVolume, I think GtkVolumeButton widget should:

  1. have a "Volume" label when placed in a toolbar (see for example Rhythmbox)
    
  2. show a tooltip displaying percentage when the user change the volume using
     mouse wheels[1]

  3. show the current percentage on the slider when popped up


About 2. and 3. please note that by now you can only know the exact percentage using the tooltip.


[1] the widget should update the content of its tooltip; currently the tooltip disappears when you start to use the mouse wheel
Comment 1 Luca Ferretti 2007-05-21 09:47:57 UTC
Created attachment 88532 [details]
A glade mockup of the slider with percentage
Comment 2 Luca Ferretti 2007-05-21 09:49:12 UTC
Created attachment 88533 [details]
A screenshot from previous glade mockup
Comment 3 Luca Ferretti 2007-05-21 09:51:18 UTC
Another request:

  4. add tooltips to + and - buttons explaining how many percentage points
     will increase/decrease clicking on it
Comment 4 Matthias Clasen 2007-05-22 15:45:35 UTC
- I think the percentage thing needs to be optional, at least
- The last proposal borders on overtooltipping, imo
Comment 5 Bastien Nocera 2007-05-23 16:59:20 UTC
(In reply to comment #0)
> Based on my past experience (as user) with BaconVolume, I think GtkVolumeButton
> widget should:
> 
>   1. have a "Volume" label when placed in a toolbar (see for example Rhythmbox)

That would need a GtkToolItem. Any hints which widget I should make this a descendant of? GtkVolumeButton or GtkScaleButton? And which widget I should base it on?

>   2. show a tooltip displaying percentage when the user change the volume using
>      mouse wheels[1]

Is it recommended to do that? Are there any widgets already doing this in GTK+?

>   3. show the current percentage on the slider when popped up

If we have 2, I don't think this would be necessary (and the mockup doesn't look too good...)

(In reply to comment #3)
> Another request:
> 
>   4. add tooltips to + and - buttons explaining how many percentage points
>      will increase/decrease clicking on it

Why is that needed? I agree with Matthias that it's over-tooltipping...
Comment 6 Luca Ferretti 2007-05-30 10:20:04 UTC
> >   2. show a tooltip displaying percentage when the user change the volume using
> >      mouse wheels[1]
> 
> Is it recommended to do that? Are there any widgets already doing this in GTK+?

The volume panel applet. Also note that this applet increases/decreases 3% for each mouse wheel step and "syncs" whell steps, +/- buttons clicks and arrow keys presses.

Please also note that currently, when you use the whell in GtkVolumeButton, the tooltip disappears and you have to move the mouse pointer outside the button area then inside again to show it.

PS IMHO 5% is better: 0 - 5 - 10 - 15 - 20 ....

> 
> >   3. show the current percentage on the slider when popped up
> 
> If we have 2, I don't think this would be necessary (and the mockup doesn't
> look too good...)

Yes, mockup is not so good, but by now you can't know the exact value when showing/using the slider. So, if you are at 25% and you want to increase to 75%, you should click on button, move the slider, close the slider, check the value in tooltip and maybe restart if it's not the desired value.
 
> (In reply to comment #3)
> > Another request:
> > 
> >   4. add tooltips to + and - buttons explaining how many percentage points
> >      will increase/decrease clicking on it
> 
> Why is that needed? I agree with Matthias that it's over-tooltipping...
> 

The "feature" is explain how much the volume will be increased if you will click on it. Maybe tooltips is not the exact solution, but IMHO users should be able to easy learn or figure the exact behavior of the widget.

If you know that for each click on + button, you will have a 5%, you know you will have to click 10 times to change volume from 25% to 75%.

Comment 7 Jan Arne Petersen 2007-06-20 00:38:01 UTC
> Please also note that currently, when you use the whell in GtkVolumeButton, the
> tooltip disappears and you have to move the mouse pointer outside the button
> area then inside again to show it.

Using the new tooltip API should fix this problem.

See bug 449311.
Comment 8 Matthias Clasen 2014-05-22 01:35:15 UTC
closing out old feature requests