! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Wrong mouse focus when clicking on a primary GTK3 toolbar with integrated scale
Status:
RESOLVED: WONTFIX

Comments

Description Thomas Lange 2012-06-09 14:39:34 CEST
Created attachment 4497 
test case

Description:
Clicking on the toolbar changes the mouse focus incorrectly
so you can't do mouse clicks anymore.

How to reproduce:
Click with the primary mouse button on the toolbar.

Expected behaviour:
After releasing the mouse button
the cursor should change to its default state again.

Actual behaviour:
The cursor remains in the wrong state ("fist").
Only a mouse wheel click resets it.

Further information:
Simple test case is attached.
Bug is not occuring with Gnome 3 so it's not a GTK+ issue.
Comment 1 Evangelos Foutras 2012-08-08 16:26:58 CEST
Duplicate of https://bugzilla.xfce.org/show_bug.cgi?id=8949 ?
Comment 2 Thomas Lange 2012-08-08 18:13:21 CEST
No, this is not a duplicate of my second bug report.
The actual behaviour is still the same,
even if the patch from Olivier Fourdan is applied to xfwm4.

A workaround is to use
"gtk_widget_set_valign (scale, GTK_ALIGN_CENTER);"
but the mouse focus should not change at all.
Comment 3 Thomas Lange 2013-08-27 02:06:50 CEST
The intention for the hack in scale_press/release became the default behaviour in recent versions of GTK3. I have tested GTK+ 3.8.2 without the scale hack and can't reproduce this bug anymore.

Bug #8994

Reported by:
Thomas Lange
Reported on: 2012-06-09
Last modified on: 2013-08-27

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
4.10.0

Attachments

test case (1.84 KB, text/x-c)
2012-06-09 14:39 CEST , Thomas Lange
no flags

Additional information