GNOME Bugzilla – Bug 677955
Clicking under/above the time slider causes a pause of the slider and the time label
Last modified: 2012-07-30 10:19:27 UTC
Description: Clicking under/above the time slider causes a pause of the slider and the time label. This is because clicking on the toolbar also emits button-press/release-events. How to reproduce: Click under/above the time slider. Expected behaviour: Nothing happens if the area under/above the slider is clicked. Actual behaviour: The slider and the time label pause. Further information: The audio player audacious had the same problem. I've fixed it with this commit: https://github.com/audacious-media-player/audacious-plugins/commit/497a0dceb7b680d6247888e9da9fce775dccc2bf The solution is to put the slider in an alignment which has a yscale value of zero.
I am unable to reproduce this. What version of rhythmbox are you using?
Created attachment 216279 [details] [review] Patch to fix this bug report
The latest one (2.97). But I think it's dependent on the theme you are using. It needs to allow dragging the window by clicking on the primary toolbar. Greybird e.g. doesn't, so try Orion theme. A working patch is attached.
Any update? The patch is simple to review... ;)
Review of attachment 216279 [details] [review]: This doesn't actually fix anything, and it also makes it much harder to click on the slider.
Of course it fixes something, the reported issue can no more be reproduced... Are you at least able to reproduce the issue with another theme now?
I can reproduce this with the default theme. Your patch makes no difference with the default theme (it doesn't make it harder to click on the slider, that was a different bug).
What do you mean with "default theme"?
The default GNOME theme, adwaita. Commit be47f2f fixes this. What was actually happening was that the header though the slider was still being dragged, so it stopped updating. The header now treats focus-out events as breaking the drag and everything works properly.
Thanks for the fix. I've noticed that my single-line-patch only works 100% correctly if you don't use GTK+ 3.5. With 3.5 you can click on the focus of the scale which overlaps with the toolbar and there you have the same issue again.
*** Bug 680821 has been marked as a duplicate of this bug. ***