Closed ashnur closed 13 years ago
I think that Chrome might set override-redirect. It is possible that this could be causing some of the problems.
I'm going to work on getting more useful logging for nwm so that these things can be better diagnosed remotely... over the weekend.
Yesterday, while I was trying to get the nouveau driver working, I used nwm for 2-3 hours on a single monitor. Not continously but for searching and updating the libraries on my office machine and it worked fine. I am thinking that this focus grabbing-losing issue might be somehow related to the multi-monitor settings I had. I do not know if this makes any sense, I am going to test it again on monday.
I'm having a similar issue when i follow links from gnome-terminal; focus goes to chromium but if it's on another workspace i can't get focus back until i go to chromium and then go back to another workspace.
this has inexplicably worsened; i've been tweaking my nwm-user script but not adding anything crazy. now, chromium reliably steals my focus permanently. neither nwm or chromium were updated. i've been using w3m a lot more...
OK, got it replicated with chrome with gnome-terminal:
echo http://google.com/ # then right click and follow the link
Basically, the problem is that window focus is only changed by nwm when something happens - e.g. a mouse is moved over to a different window or meta+j / k is pressed. Other change focus requests are allowed by the window manager, hence focus stealing is possible.
It seems I tend to keep two active windows, so didn't notice this since moving the mouse to a different window sets the focus correctly.
This focus stealing issue should now be fixed in master, so I'm closing this but do let me know if it reoccurs. Give me a couple of days of running it on my machines to ensure that it's OK.
awesome, thanks so much. i had to switch back to unity on my work machine. for some reason the bug didn't crop up on my netbook, so i've been using nwm at home all this time. i suspect it's my much older version of chromium on that machine...
finally back to running nwm at work instead of just on my netbook. no focus issues. thanks so much!
This happens usually a minute or two after session start. Whenever I try to change the focus, it seems that the focus passes normally, then it gets back to Chrome. I have further info on this, yet.