Bug #103
New GtkToolbar: cursor focus bug
0%
Description
The new GtkToolbar brought a really annoying bug:
If you make a mouse click under/above the time slider, the cursor becomes a "fist" (hard to explain)
and you can't do anything except moving the cursor.
GTK+ 3.4.1
audacious-git (25th April)
Theme: Orion and Greybird tested
For a better explanation, a short video is attached.
History
#1 Updated by Thomas Lange over 12 years ago
Forgot to complete the title but can't edit it anymore.
Sorry, please change it to "New GtkToolbar: cursor focus bug"
#2 Updated by Michał Lipski over 12 years ago
- Subject changed from New GtkToolbar: to New GtkToolbar: cursor focus bug
#3 Updated by Michał Lipski over 12 years ago
I can't reproduce it. GTK+ 3.4.1, tested with Orion and Adwaita themes.
#4 Updated by Thomas Lange over 12 years ago
Could it be related to XFCE? I just tried reproducing with Gnome 3 and was unable to do it.
But there's still a problem: the time slider and the time label get paused (as shown in the video).
Are you able to reproduce this?
#5 Updated by Michał Lipski over 12 years ago
Hmm, actually yeah. When I click on the toolbar, the time slider and the time label get paused.
It seems that "button-press-event" signal gets emitted for the slider... but there's no "button-release-event" afterwards.
#6 Updated by John Lindgren over 12 years ago
- Status changed from New to Rejected
We don't do anything special with cursors, or even look at any mouse events on the toolbar, so this is definitely a GTK+ bug. Closing.
#7 Updated by Thomas Lange over 12 years ago
Downgrading GTK+ to 3.2 fixed the cursor problem, so it is actually a regression in GTK+.
The slider/label pausing remains the same.
Do you think the cursor related issue needs to be reported to XFCE or GTK+?
#8 Updated by Thomas Lange over 12 years ago
The problem is "GTK_STYLE_CLASS_PRIMARY_TOOLBAR" in ui_gtk.c.
Replacing it with "GTK_STYLE_CLASS_TOOLBAR" or commenting the two context lines fixes this bug.
But the toolbar loses its different appearance.