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 675535 - GtkScale in GtkToolbar: strange behaviour with double click
GtkScale in GtkToolbar: strange behaviour with double click
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkToolbar
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2012-05-05 21:20 UTC by Thomas Lange
Modified: 2012-06-13 17:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case (1.56 KB, text/plain)
2012-05-05 21:20 UTC, Thomas Lange
  Details
Patch for 3.4 branch (360 bytes, patch)
2012-06-13 17:08 UTC, Thomas Lange
none Details | Review

Description Thomas Lange 2012-05-05 21:20:40 UTC
Created attachment 213529 [details]
Test case

Description:
If you make a double click on the slider, you can still move it. But you can't set its position with a further mouse click.
If you make a double click on the bar, the slider moves to the lower or upper limit and can not be moved anymore.

This is only occurring if the toolbar style is set to "GTK_STYLE_CLASS_PRIMARY_TOOLBAR".
A simple test case is attached.

How to reproduce:
Make a double click on the slider or on the bar.

Expected behaviour:
The same as with "GTK_STYLE_CLASS_TOOLBAR"

Actual behaviour:
-> Description

This issue could be also related although it isn't reproduceable with a double click.
http://redmine.audacious-media-player.org/issues/103
Comment 1 Thomas Lange 2012-06-13 17:08:21 UTC
Could you backport the fix also to the 3.4 branch?
The patch is attached.

By the way, there is a typo in commit 4a25bac0e7685000fff90a211db6ac60f6b74ab1:
http://git.gnome.org/browse/gtk+/commit/?id=4a25bac0e7685000fff90a211db6ac60f6b74ab1
"the the user hits"

Thanks.
Thomas Lange
Comment 2 Thomas Lange 2012-06-13 17:08:44 UTC
Created attachment 216314 [details] [review]
Patch for 3.4 branch