! 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 !
xfwm linked with gtk2 2.11.x kills keyboard/mouse
Status:
RESOLVED: FIXED

Comments

Description Kevin Fenzi 2007-06-18 04:25:25 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.4) Gecko/20070603 Fedora/2.0.0.4-2.fc7 Firefox/2.0.0.4
Build Identifier: 

I have gotten a report of problems with the 4.4.1 Xfce linked against gtk2 2.11.x. causing keyboard/mouse events to get dropped, making the desktop unusable. 

See the report from the fedora bug here: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243735

Installing the older gtk 2.10.x seems to work fine. 

Any ideas what the problem could be? Or what additional information would be helpful to track things down?

Reproducible: Always

Steps to Reproduce:
1. have gtk2 2.11 installed. 
2. login and use alt-tab to change focus
3. then use the panel task manager to change focus. 

Actual Results:  
Mouse and keyboard input stop. 

Expected Results:  
Focus changes and keyboard and mouse still work.
Comment 1 Olivier Fourdan editbugs 2007-06-20 17:10:41 CEST
Never heard of such a problem but I'm not using rawhide myself (gtk2-2.10.13-1.fc7). It could be a problem with key grabs. Is it a tickless kernel? And what about gnome-panel's taskbar (ie libwnck) with xfwm4, does it exhibit the same problem?
Comment 2 Olivier Fourdan editbugs 2007-06-20 19:20:16 CEST
The good news is that I can reproduce it, and that xfce 4.2 is not affected.
Comment 3 Kevin Fenzi 2007-06-21 01:59:47 CEST
Cool. Glad it's easy to reproduce. 

Let me know if you would like me to have the Fedora reporters or myself test any patches or provide more info. 

Comment 4 Olivier Fourdan editbugs 2007-06-21 21:58:19 CEST
Ok, metacity suffered the same problem and was modified. See http://bugzilla.gnome.org/show_bug.cgi?id=354213
Comment 5 Olivier Fourdan editbugs 2007-06-21 22:29:47 CEST
Created attachment 1188 
Patch that fixes the hang with gtk+-2.11.x

I believe the following patch (committed both branches) fixes the issue.
Comment 6 Kevin Fenzi 2007-06-25 18:30:37 CEST
I have spun up some fedora devel packages with this patch applied. 

http://www.scrye.com/~kevin/fedora/xfwm/

I have asked the folks who are seeing this issue to test them and confirm that the patch fixes things. 

Thanks for the quick fix!

If this does fix this issue, I would say it's worth a 4.4.2 release... 
Comment 7 Kevin Fenzi 2007-06-28 20:15:09 CEST
I have a report that this patch does indeed fix the issue. 
Just FYI. 
Comment 8 Olivier Fourdan editbugs 2007-07-01 15:00:18 CEST
FYI, you may want to take a look at this one too: #3359
Comment 9 Kevin Fenzi 2007-07-02 15:48:10 CEST
>FYI, you may want to take a look at this one too: #3359

Yep. Just got a report of that this morning. ;( 

Any news of a 4.4.2 release? I guess I should just push patches for this and 3359 out for now. 
Comment 10 Daniele C. 2007-10-04 17:21:03 CEST
I also had the same bug:

https://bugs.freedesktop.org/show_bug.cgi?id=12666

I will now try the patch - as 4.4.2 is not available on my gentoo portage tree
Comment 11 Alexander Toresson 2007-10-04 17:47:49 CEST
Daniele: <drac> Can't login to bugzilla right now, but someone with access there could reply to him it's fixed in Gentoo version 4.4.1-r1
Comment 12 Samuel Verstraete editbugs 2007-11-05 12:56:26 CET
has this patch been applied to trunk as well? i still have frequent lockups with the svn co... (so not the 4.4 branch)
Comment 13 Olivier Fourdan editbugs 2007-11-06 21:57:02 CET
Yes, it is in trunk. 

Bug #3346

Reported by:
Kevin Fenzi
Reported on: 2007-06-18
Last modified on: 2009-07-14

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Attachments

Additional information