Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Spontaneous Loss of Focus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spontaneous Loss of Focus



Andre Skarzynski <email@hidden> 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 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:

I have this trouble all the time.  I run X11 GNU Emacs frames on my Mac,
both from other Macs and from Ubuntu boxes, and the focus is often
grabbed away from the Emacs frame for a second or two -- then it comes
back.  I spent a long time trying to debug this a couple of years ago,
and I found that it seems to be related to running certain
Apple-specific image processing events; I was able to reduce its
occurrence considerably by disabling a background script that was using
'sips --addIcon' to create Finder icons for data files.  There's still
some pre-"OS X" code that assumes things like the ability to "take over"
the window system, I guess.

My guess is that this is due to a WindowManager interaction with some
other (Carbon?) process that's running, so it will be very hard to make
it reproducible for Jeremy, if he doesn't have that "other process" on
his machine.  My personal guess is iCal, but it could be PowerPoint or
something else -- others blame Spaces (which I run as well).

Bill
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)

This email sent to email@hidden

References: 
 >Re: Spontaneous Loss of Focus (From: Andre Skarzynski <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.