On Sat, Dec 31, 2016 at 6:11 AM, Dominik Vogt <dominik.v...@gmx.de> wrote: > On Sat, Dec 31, 2016 at 05:37:45AM -0700, Jaimos Skriletz wrote: >> On Sat, Dec 31, 2016 at 4:11 AM, Dominik Vogt <dominik.v...@gmx.de> wrote: >> > On Fri, Dec 30, 2016 at 09:12:50PM -0700, Jaimos Skriletz wrote: >> >> On Fri, Dec 30, 2016 at 8:49 PM, Dominik Vogt <dominik.v...@gmx.de> wrote: >> >> > On Fri, Dec 30, 2016 at 08:24:07PM -0700, Jaimos Skriletz wrote: >> >> >> Hello, >> >> >> >> >> >> This was reported by a Debian user. Please retain the CC to >> >> >> 802604-forwar...@bugs.debian.org in your response, so that >> >> >> the Debian BTS has a record. >> >> >> >> >> >> In short if the mouse cursor is over the root window and hidden with >> >> >> unclutter, when switching pages (and maybe desks), focus is not given >> >> >> to the window under the pointer. >> >> > >> >> > Works fine for me. I'd need a precise description + config file >> >> > to test this. >> >> > >> >> >> >> Using SloppyFocus with a 2x2 grid of pages with the default config and >> >> the following two key bindings >> >> >> >> Key Right A CM Scroll 100 0 >> >> Key Left A CM Scroll -100 0 >> >> >> >> I then run unclutter to hide the mouse after being idle for a second: >> >> >> >> unclutter -idle 1 -root >> >> >> >> I move the mouse over the root window and wait for it to be hidden. >> >> Once it is hidden >> >> I use the key binding to switch to a new page. After I switch to the >> >> page focus is kept >> >> on the window in the old page and is not transferred. >> > >> > Still does not happen for me. With unclutter 8-18 (Debian): >> > >> > * Start fvwm with default config. >> > * Open two Xterms from the menu (left side of screen). >> > * Open FvwmConsole and move it to the bottom right corner. >> > * Type >> > style * sloppyfocus >> > Key Right A CM Scroll 100 0 >> > Key Left A CM Scroll -100 0 >> > in FvwmConsole. >> > * Run "unclutter -idle 1 -root" from one of the Xterms. >> > * Press ctrl-alt-right to switch to page (1 0). >> > * (Optional: open an Xterm there and close it to take away the >> > focus from any window on (0 0).) >> > * Move the pointer roughly to the middle of the FvwmConsole >> > window. >> > * Press ctrl-alt-left to switch to page (0 0). >> > => The pointer ends up over FvwmConsole which gets the focus. >> > >> >> These steps work for me. > > "Work" = "the window does not get focus"? >
Yes work, as in reproduces the issue. >> I tried with various versions of the optional >> step, though in my tests I left the xterm around, but this did not >> seem to matter, Leaving the xterm or not did not change the result. > > Neither for me. > >> Unsure how else to describe it as those steps cause this to happen, >> just tested again in a VM and have attached screen shots to show how >> the focus is right before and right after I switch pages. In the >> before picture the mouse is in the bottom right corner over the root >> window near the panel (but not over it) and unclutter has hidden the >> mouse. >> >> Only other thing I note, as soon as I move the mouse, focus is then >> given to the window under the mouse, but until then it remains on the >> window on the previous page. > > You probably have a different version of unclutter. In the past, > there was some change of the method it uses to hide the pointer. > his may well play a role here. Can you find out which version you > have? I guess it's something that should be fixed in unclutter if > it's still an issue with the latest version. > Using the version from Debian stretch, 8-20. I downgraded to the wheezy version, 8-18 that you reported to use, and no longer can reproduce this bug. So it is something with a change in unclutter. I will reassign the bug to unclutter. Thanks for the help. jaimos