Re: FVWM: Mozilla "losts keyboard focus" sometimes

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Sun, 05 Jun 2005 19:59:01 -0400

=?iso-8859-1?Q?Bj=F6rn?= Steinbrink <B.Steinbrink_at_gmx.de> writes:
> On 2005.06.04 16:06:08 +0200, Peter Niemayer wrote:
> > Thomas Adam wrote:
> > >On Fri, Jun 03, 2005 at 06:40:24PM +0200, Peter Niemayer wrote:
> > >=20
> > >>Sometimes, the focus is not entirely lost but is sticking to a
> > >>different window (of mozilla), which is supposed not to have focus
> > >>(according to fvwms coloring of the window border). I have to restart
> > >
> > >
> > >Presumably you mean a transient window? How do you know that it isn't
> >supposed to receive the focus?
> >=20
> > No transient windows. Example situation: I have two Mozilla windows open,=
>
> > one with the mail interface, and one ordinary browser window. I want to
> > type text into a form on a web-page, so I click into the text-input field=
> .
> > The browser window is now highlighted as having focus, and even the curso=
> r
> > inside the text entry field blinks. But whenever I type something, it
> > goes to the mail interface window that is not supposed to be active - I
> > can e.g. scroll the message in the mail display by pressing up/down even
> > though the browser window is supposed to have focus. This situation is
> > "sticky" - I can still click into e.g. xterm windows and type there, but
> > whenever I click into the browser window again, the focus is wrongly
> > assigned to the mail window. Only restarting fvwm resolves the problem.
>
> This is, AFAICT, not FVWM related, as I have experienced the same with
> metacity (Gnome) and IIRC also with wmi. Often changing focus using
> alt+tab works here to get a correct focus. I think that Mozilla tries to
> keep track of the currently focussed window itself and has some bug
> there, as I sometimes even get a bookmark opened in the wrong window,
> although it was selected from the bookmark menu.

That was a good hint. It led me on a long trail which finally
ended in gtk.
If your copy of Mozilla is built against gtk2, I believe this
patch will fix your problems:

http://bugzilla.gnome.org/attachment.cgi?id=46042&action=view

You may need a gnome account to access that page but I don't
think so. The patch is about a month old so there may be
a release containing the patch. I built from source.
I believe it finally fixed a Mozilla focus problem I've been having.

-- 
Dan Espen                           E-mail: dane_at_mk.telcordia.com
--
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 Jun 06 2005 - 10:38:45 BST

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