RFE: Never, ever steal focus.

Serge E. Hallyn serue at us.ibm.com
Wed Jan 6 19:32:17 UTC 2010


Quoting Adam Jackson (ajax at redhat.com):
> On Wed, 2010-01-06 at 12:35 -0600, Serge E. Hallyn wrote:
> > Quoting Adam Jackson (ajax at redhat.com):
> > > On Wed, 2010-01-06 at 11:23 -0600, Serge E. Hallyn wrote:
> > > > There is no case where I want a new window or popup to take focus.  Makes
> > > > for an easy algorithm.  (hitting r in mutt is not a problem :)
> > > 
> > > There is no case where _you_ want this, sure.
> > 
> > Yes, exactly.  You're saying that
> > 	1. there are cases where you want a window to pop up
> > 	2. it's too complicated to figure out which windows should pop up
> > 	3. so windows should always pop up, no point being configurable
> >
> > and ridiculing us over (2).  I'm saying there are no cases where I want
> > a popup, so we can easily have 2 configurable options: always have windows
> > pop up and take focus, never have them do so.
> 
> Ahh, I see the misunderstanding here: I'm not arguing point three.  I'm
> not even really arguing point 2, as you phrased it; it's not _too_
> complicated, it's merely complicated.
> 
> I'm arguing that there exists an implementation that tries to prevent
> focus stealing, and trying to illustrate why that's a hard problem. And
> thus, why the OP's RFE as stated, is either not achievable, or not
> desirable.
> 
> I mean, in some sense, this is all academic anyway.  It's trivial to
> write an X app that steals focus, regardless of what the window manager

Haha - yes, that's why it's tough to care much, there are certain apps 
I'm forced to run that will always steal focus  :)  sigh.

> attempts to implement.  But even assuming you're running relatively
> well-behaved applications, it's still not an easy problem.

-serge




More information about the fedora-devel-list mailing list