! 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 !
focus follows mouse working intermittenly.
Status:
RESOLVED: FIXED

Comments

Description mike ciccarelli 2008-07-15 20:09:00 CEST
I compiled xfce on linux 64 bit system and everything compile fine. I was able to fire up startxfce4 without any problems. When I'm running xfce 4.4.2 and I set the focus to "focus follows mouse" it works but then will stop working until I click on another window or move to another window. Then it'll stop working again for now apparent reason. I'm willing to send any information you need to help debug this problem! I did have to recompile my own glib, gtk+ and other libraries since I'm on a rh 4 update 5 system and the default libs are outdated.

Here's a list of "extra" libs I compiled before compiling xfce-4.4.2:

drwxr-xr-x  15 mc7 mc7     8192 Jul 15 15:59 gtk+-2.12.11
drwxr-xr-x   7 mc7 mc7     8192 Jul 15 15:41 dbus-1.2.1
drwxr-xr-x   8 mc7 mc7     8192 Jul 15 15:40 dbus-glib-0.76
drwxr-xr-x  10 mc7 mc7     8192 Jul 15 14:26 libical-0.30
drwxr-xr-x   6 mc7 mc7     8192 Jul 15 14:11 libnotify-0.4.4
drwxr-xr-x   3 mc7 mc7     1024 Jul 15 14:01 xfce-4.4.2
drwxr-xr-x   8 mc7 mc7     8192 Jul 15 13:58 vte-0.16.14
drwxr-xr-x  10 mc7 mc7     8192 Jul 15 13:55 pygtk-2.12.1
drwxr-xr-x  10 mc7 mc7     8192 Jul 15 13:54 libglade-2.6.2
drwxr-xr-x   6 mc7 mc7     8192 Jul 15 13:53 pycairo-1.4.12
drwxr-xr-x   7 mc7 mc7     8192 Jul 15 13:52 pygobject-2.14.2
drwxr-xr-x   9 mc7 mc7     8192 Jul 15 13:50 libexif-0.6.16
drwxr-xr-x   8 mc7 mc7     8192 Jul 15 13:48 GConf-2.22.0
drwxr-xr-x   7 mc7 mc7     8192 Jul 15 13:43 ORBit2-2.14.13
drwxr-xr-x   5 mc7 mc7     8192 Jul 15 13:40 libIDL-0.8.10
drwxr-xr-x   4 mc7 mc7     8192 Jul 15 13:37 intltool-0.37.1
drwxr-xr-x   7 mc7 mc7     8192 Jul 15 13:32 pcre-7.7
drwxr-xr-x  15 mc7 mc7    16384 Jul 15 13:14 libxml2-2.6.30
drwxr-xr-x  19 mc7 mc7     8192 Jul 15 13:11 Python-2.5.2
drwxr-xr-x   9 mc7 mc7     8192 Jul 15 12:54 pango-1.20.5
drwxr-xr-x   5 mc7 mc7     8192 Jul 15 12:54 startup-notification-0.9
drwxr-xr-x   8 mc7 mc7     8192 Jul 15 12:51 cairo-1.6.4
drwxr-xr-x  13 mc7 mc7     8192 Jul 15 12:45 poppler-0.8.4
drwxr-xr-x  11 mc7 mc7     8192 Jul 15 12:11 zlib-1.2.3
drwxr-xr-x   8 mc7 mc7     8192 Jul 15 11:58 gtk-doc-1.9
drwxr-xr-x   6 mc7 mc7     8192 Jul 15 11:47 atk-1.22.0
drwxr-xr-x   4 mc7 mc7     8192 Jul 15 11:46 pixman-0.11.6
drwxr-xr-x  15 mc7 mc7     8192 Jul 15 11:44 fontconfig-2.6.0
drwxr-xr-x   8 mc7 mc7     1024 Jul 15 11:42 freetype-2.3.7
drwxr-xr-x   7 mc7 mc7     8192 Jul 15 11:40 libpng-1.2.29
drwxr-xr-x  12 mc7 mc7     8192 Jul 15 11:36 glib-2.16.4
drwxr-xr-x   6 mc7 mc7     8192 Jul 15 11:32 pkg-config-0.19

Please let me know any more information you may need.

thanks,
Mike
Comment 1 Olivier Fourdan editbugs 2008-07-15 21:08:59 CEST
The priority/severity is wrong, it's by no mean a major issue with a very high priority.
Comment 2 Olivier Fourdan editbugs 2008-07-15 21:14:16 CEST
The focus follow mouse is based on the EnterNotify event and I see no reason why it would stop working unless you are using some application that grabs the keyboard.

So first thing would be to find a test case to reproduce the issue (is that always the same application that has the focus when the problem happens, what applications are running at the time, etc.)
Comment 3 Olivier Fourdan editbugs 2008-07-15 21:15:45 CEST
(In reply to comment #2)
> The focus follow mouse is based on the EnterNotify event and I see no reason
> why it would stop working unless you are using some application that grabs the
> keyboard.
  ^^^^^^^^
I meant mouse here, of couse.
Comment 4 Olivier Fourdan editbugs 2008-07-15 21:23:38 CEST
*** Bug 4230 has been marked as a duplicate of this bug. ***
Comment 5 mike ciccarelli 2008-07-15 21:29:27 CEST
I can duplicate this with just 2 Terminal windows (the xfce terminal).. if I go back and forth it works maybe every 5th-6th time.. otherwise it gets stuck on either one of the windows... Here's what I have running at the time:

mc7      28951 28855  0 17:25 ?        00:00:00 /opt/goglobal/2.2.9-1039/bin/xinit /usr/bin/startxfce4 -- /opt/goglobal/2.2.9-1039/bin/Xgo :2 -screen 0 1592x1138x24 -tune -backbuffer -nobackingstore -mousedowninterval 40 -mouseupinterval 150 -dpi 75 -cachesize 16384 -compresscache -cachecompressionthreshold 64 -fp /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Type1/ -co /opt/goglobal/2.2.9-1039/lib/X11/rgb -smartparent -cmapopt -sp /opt/goglobal/2.2.9-1039/lib/X11/xserver/SecurityPolicy
mc7      29053 28951  0 17:25 ?        00:00:00 /bin/sh /opt/xfce-4.4.2/etc/xdg/xfce4/xinitrc
mc7      29062     1  0 17:25 ?        00:00:00 /usr/bin/ssh-agent -s
mc7      29067     1  0 17:25 ?        00:00:00 /opt/xfce-4.4.2/bin/dbus-launch --sh-syntax --exit-with-session
mc7      29068     1  0 17:25 ?        00:00:00 /opt/xfce-4.4.2/bin/dbus-daemon --fork --print-pid 8 --print-address 13 --session
mc7      29070 29053  0 17:25 ?        00:00:00 /opt/xfce-4.4.2/bin/xfce4-session
mc7      29075     1  0 17:25 ?        00:00:00 xfce-mcs-manager
mc7      29077     1  0 17:25 ?        00:00:00 xfwm4
mc7      29079     1  1 17:25 ?        00:00:00 xfce4-panel
mc7      29081     1  0 17:25 ?        00:00:00 Thunar --daemon
mc7      29083     1  0 17:25 ?        00:00:00 /usr/libexec/gam_server
mc7      29084 29079  0 17:25 ?        00:00:00 /opt/xfce-4.4.2/libexec/xfce4/panel-plugins/orageclock socket_id 14680104 name orageclock id 12161547020 display_name Orage Clock size 30 screen_position 1
mc7      29085 29079  0 17:25 ?        00:00:00 /opt/xfce-4.4.2/libexec/xfce4/panel-plugins/xfce4-menu-plugin socket_id 14680109 name xfce4-menu id 5 display_name Xfce Menu size 36 screen_position 11
mc7      29087     1  0 17:25 ?        00:00:00 xfdesktop
mc7      29104     1  1 17:26 ?        00:00:00 /opt/xfce-4.4.2/bin/Terminal
mc7      29105 29104  0 17:26 ?        00:00:00 gnome-pty-helper
mc7      29106 29104  0 17:26 pts/4    00:00:00 /bin/bash
mc7      29114 29104  0 17:26 pts/5    00:00:00 /bin/bash
mc7      29137 29106  0 17:26 pts/4    00:00:00 ps -ef
mc7      29138 29106  0 17:26 pts/4    00:00:00 grep mc7
mc7      31176     1  0 Jul14 ?        00:00:00 /usr/libexec/gconfd-2 10
Comment 6 mike ciccarelli 2008-07-15 21:35:01 CEST
I apologize for the high priority.. not too familiar with the system and what priorities, etc.. this is a bug that would stop us from using xfce though since a couple of people use this feature..

there might be another peice of software causing the problem, but do you notice anything else that might be wrong (wrong versions of libs, etc).. Do you want me to test anything or run anything? Be glad to collect data...
Comment 7 Olivier Fourdan editbugs 2008-07-17 07:52:13 CEST
Can you tell me what is Xgo and what it does? Does the problem occurs on a regular X server?
Comment 8 mike ciccarelli 2008-07-17 13:17:44 CEST
Olivier,

Looks like it might in fact be a problem with the Xgo server not responding to requests.. with your input I did some testing and apparently the new version of the Xgo server breaks mouse tracking.. I tested it with older release and focus follows mouse works fine... I'll give you a final update soon once they fix the problem. But thanks for the idea of checking on other processes.. Consider the problem fixed for the most part as it wasn't broken in XFCE to start with.

thanks,
Mike
Comment 9 mike ciccarelli 2009-03-03 15:31:48 CET
problem was with Graphon's GoGlobal product...

Bug #4231

Reported by:
mike ciccarelli
Reported on: 2008-07-15
Last modified on: 2009-07-14
Duplicates (1):
  • 4230 focus follows mouse working intermittenly.

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Attachments

Additional information