Re: Problem with x11 windows popping in from Chrome and other apps
Re: Problem with x11 windows popping in from Chrome and other apps
- Subject: Re: Problem with x11 windows popping in from Chrome and other apps
- From: "James K. Lowden" <email@hidden>
- Date: Fri, 30 Mar 2018 13:09:16 -0400
On Thu, 29 Mar 2018 21:54:25 +0200
René J.V. Bertin <email@hidden> wrote:
> >occur without any assistance from launchd. All that is needed is for
> >Chrome (et alia) to send a message to "all windows". It appears in
>
> You can't do that on OS X, you can only treat with other
> applications. (WIthout "voodoo" in any case.)
http://nshipster.com/inter-process-communication/
See the discussion under "Distributed Notifications" under Cocoa and
"Registering Services" under XPC. You may be right that there's no way
to broadcast to all windows, but there are several ways to
communicate asynchronously with anonymous recipients. Not to mention
kill(2), of course, although I doubt signals are the culprit.
I would be interesting to see the output of ltrace(1) on the GUI
library for the XQuartz process, if only it existed on OS X. :-(
> And why would a web browser send a message to all other applications
> (or windows)?
I don't know, but it certainly could. Some tie-in with authentication,
as suggested by Tom Lane, seems plausible.
> Why would it not do that on my system, or why would XQuartz not react
> to it on my system (and those of the majority, I assume, since the
> bug is still there)?
Good question. Likely there is more than one moving part.
> Why would XQuartz be the only affected application that reacts this
> way?
Because XQuartz has a bug. That must be true, because it's
misbehaving. The only question is what's provoking the misbehavior.
You could be right that it's a configuration problem with the XQuartz
plist, and that launchd is one of the moving parts. IMO there's every
reason to think the problem lies somewhere in the thick layers of API
frameworks: not in their logic, but in their subtle (mis)use.
--jkl
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden