Maato / volumeicon

Volume Icon aims to be a lightweight volume control that sits in your systray.
http://nullwise.com/volumeicon.html
GNU General Public License v3.0
183 stars 45 forks source link

Slider behaviour #45

Closed dglava closed 9 years ago

dglava commented 9 years ago

If the "horizontal slider" option is ticked, which is appropriate for vertical panels, the slider behaves in a weird way. According to the slider the volume is turned all the way up, but it's actually muted and vice versa.

Here's a video example: http://webmshare.com/6M3GV

The volumeicon version I'm using is 0.5.1, but it also happens in an older (0.4.something) version.

Maato commented 9 years ago

That is weird indeed. I think it went unnoticed because for me the blue part of the slider wasn't drawn in previously, making it unclear where the origin of the slider was. If you look in the documentation (https://developer.gnome.org/gtk3/stable/GtkScale.html) you'll see that horizontal sliders are 0 when the blue part is not visible but vertical sliders are 0 when it is, which seems kind of strange to me... Anyway, now in commit 30aa1093a3eb0b60e6bbfe56609c0c73b7f091fe only the vertical slider will be inverted.