Re: FVWM: grabfocustransient not working?

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Mon, 16 Dec 2002 12:01:27 +0100

On Sat, Dec 14, 2002 at 01:53:59PM +0100, Olivier Chapuis wrote:
> On Sat, Dec 14, 2002 at 08:38:38AM +0000, Mikhael Goikhman wrote:
> > On 14 Dec 2002 00:47:51 -0600, Bob Mroczka wrote:
> > >
> > > I have Adobe's Acrobat reader version 5.0.6 installed
> > > on my Linux 2.4.20 box and I can't figure out why
> > > the find dialog window does not receive the focus when it is opened.
> > > The issue occurs with version 4 of the reader too.
> > >
> > > I was running fvwm 2.4.0 and just installed 2.4.14 but that didn't fix the problem.
> > > I use the clicktofocus style for all of my windows.
> > >
> > > Does anyone have any suggestions for getting these find windows
> > > to get the focus when they are opened?
> >
> > If you use ClickToFocus, GrabFocusTransient is the default.
> > What application do you run?
> >
>
> He says Acrobat reader.
>
> > You may have a problem if you define SloppyFocus/MouseFocus for your
> > window, then you should reissue GrabFocusTransient after SloppyFocus.
> > Or maybe you listen to add_window in FvwmEvent and then do something.
> >
> > Does your problem occur with a minimal configuration, i.e. if you run:
> >
> > fvwm -cmd "Style * ClickToFocus, DecorateTransient"
> >
> > I just did:
> >
> > Restart /opt/fvwm-2.4/bin/fvwm -cmd "Style * ClickToFocus"
> >
> > and it works well, transients automatically get focus.
> >
>
> I've tried with 2.4.14 and the Acrobat reader. I can reproduce the pbs.
> I've also tested with xemacs, some kde apps, and Netscape: no pbs.

acroread sets the "transientfor" window to an unmapped, 1x1 window
at a random screen position. I think fvwm does the right thing by
ignoring the "transient" hint altogether as in many other
situations. Popping up a transient dialog for a non existing
window is meaningless and might well cause that the window is
never even mapped. Someone should send a bug report to Adobe.

There *is* a bug in 2.5.x that makes transients lose their
transientfor window if they are created while the transientfor is
iconified or on another desk. I will commit a fix.

Bye

Dominik ^_^ ^_^
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Dec 16 2002 - 05:23:29 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST