Re: Spontaneous Loss of Focus
Re: Spontaneous Loss of Focus
- Subject: Re: Spontaneous Loss of Focus
- From: Jeremy Huddleston <email@hidden>
- Date: Tue, 19 Jul 2011 09:45:12 -0700
Thanks Andre,
How reproducible is the problem for you? Can you please get some diagnostic information for me from quartz-wm when in this state? Run 'sample <pid>' where <pid> is the process id of quartz-wm which you can get from running 'ps aux | grep quartz-wm'
If I can reproduce it, I can probably fix it. Short of that, you can run quartz-wm with DEBUG=1 in your environment:
DEBUG=1 /opt/X11/bin/quartz-wm
This will print out a ton of logging which might be helpful.
Thanks,
Jeremy
On Jul 19, 2011, at 1:40 AM, Andre Skarzynski wrote:
> I know this topic has probably been beaten to death, however, I recently migrated from my old PowerBook G4 to Snow Leopard on a MacPro. I am now being plagued by this problem were X11 apps suddenly and at no fixed interval will loose focus. That is, they will not respond to mouse clicks or keyboard input, but stay running. It is very frustrating now, I have X11 apps I need to run.
>
> I have read all the FAQs and searched the web and mailing lists. I am not running mLyric or Application Enhancer (APE), so none of those solutions listed help me. I installed XQuartz 2.6.2 in hope but to no avail. I even created a clean user account to no avail.
>
> I then saw a posting from Jeremy Huddleston in April on the X11-users, were he said the following;
>
>> Hmm... There's a similar report from another user, but I've never been able to reproduce the problem. It sounds like the WM has grabbed it and isn't letting go. You can try setting up your xinitrc such that xterm is execd and start quartz-wm from it:
>>
>> mkdir ~/.xinitrc.d
>> echo "exec xterm" > ~/.xinitrc.d/99-debug-xterm.sh
>> chmod 755 ~/.xinitrc.d/99-debug-xterm.sh
>>
>> Then when you start X11, you'll get an xterm with no window manager. If you quit the xterm, X11 exits. Start quartz-wm from that xterm, and when you experience the problem, kill quartz-wm and restart it. Let me know if the problem goes away.
>>
>> --Jeremy
>
> So I tried this, and yes, I get the problem, but when I kill "quartz-wm" and start it again the problem is gone. So I see the issue is with "quartz-wm", I think. I noticed that /usr/bin/quartz-wm is run if I don't give a full pathname. I did try /opt/X11/bin/quartz-wm, but the focus loss problem still comes back.
>
> The good thing is I can now regain control of my X11 apps with out killing them, but I need to keep killing and re-starting quartz-wm.
>
> So, has this problem been solved yet? Or can anyone suggest what I should do next. Apologies if it has already been covered, but I have never found a solution yet.
>
> Kind Regards,
>
> André
>
> --
>
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list (email@hidden)
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden