[Pkg-xfce-devel] Bug#278461: xfwm4: Focus Follows Mouse Fails
Simon Huggins <firstname.lastname@example.org>, email@example.com
Thu, 30 Jun 2005 09:44:14 +0100
On Sat, Jun 25, 2005 at 11:27:05AM -0500, Michael Urman wrote:
> On Sat, Jun 25, 2005 at 11:53:04AM +0100, Simon Huggins wrote:
> > I can't actually reproduce this consistently but I do care because *I*
> > use focus follows mouse all the time and often switch between two
> > workspaces. I'm sure I /have/ seen it in the past but I wonder if that
> > was only when I was using 4.0.x
> Since then I've been too annoyed by the problem and have retreated to
> using Metacity. Somehow it has no problems with the desktop-changing
> focus problems. Instead it likes to focus any new window whether
> transient or not, related to the focused window or not. I don't like
> that behavior, but it bothers me less. Interestingly on desktop switch
> while xfwm4 will appear to draw the windows in a random order,
> metacity will draw the window under the cursor first. For all I know
> this allows it to catch a window-leave event that xfwm4 misses.
> > Can you reproduce it consistently? If so can you screenshot what you
> > have on both windows and put an X where your mouse pointer was so I can
> > try and reproduce this.
> If you can't reproduce it from my description I don't think a
> screenshot is going to help. The only thing it would tell you that I
> haven't before is my desktop size of 1600x1200. I run into it
> consistently switching between the two following ascii diagrammed
> desktop layouts:
> #1 #2
> .-====--====--====-. .-====----========-. GT = multi-gnome-terminal
> || || || || || |-.| || GV = gvim
> || GT || GT || GV || || GT | || FF || BL = gaim buddy list
> || || || m || || | || m || IM = gaim
> |`----'`----'`----'| |`----' || || QL = quodlibet
> | | | | `----'`--------'| FF = firefox
> |BL|,-------.,----.| | ,---------.| P = pan
> | || IM || QL || | | P || Nautilus root window
> | || || || | | || Gnome Panel along left
> `==--=======--====-' `--------=========-' m = mouse cursor position
> For example my mouse will be over FF on #2 (located over GV on #1). I
> hear a message from IM so I want to switch to it. I'll hit my desktop
> switch key (Control-1) and start moving the mouse to be over IM. The
> desktop #2 has disappeared by the time I start my motion, but #1 is
> just beginning to draw. I complete my motion and the desktop completes
> its redraw, and GV has focus despite my pointer being over IM.
> I'm pretty sure I was able to reproduce this with just two multi-gnome
> terminals on one desktop (the other empty), but I'm not about to
> reverify that.
Hmm, see if I could reproduce it consistently then we would have fixed
it by now.
I very occasionally see focus issues but generally it works and
especially when I just spend time flipping from one to another.
Maybe it's a race condition and your computer takes a long time to
redraw. Is that possible?
> > Running 4.2.2 would be useful too.
> At this point I think I'm just going to live with Metacity until I
> find something better. At this point it's clear that either the xfwm4
> team is unaware of or is uncapable of or uninterested in addressing
> this behavior (my bet is unaware) and either way I'm not about to be
Well I haven't reported it upstream as I've not been able to reproduce
it consistently myself. I have seen occasional odd focussing but
nothing I can reproduce all the time.
That's the barrier to fixing it at the moment I'm afraid.
Just another wannabie | "I get mail; therefore I am." | Just another fool
----------------------+ - Dilbert +-------------------
This message was brought to you by the letter I and the number 6.
htag.pl 0.0.22 -- http://www.earth.li/projectpurple/progs/htag.html