Closed m1k1o closed 4 years ago
Mentioned in https://github.com/nurdism/neko/issues/1#issuecomment-574366407 but still not fixed.
On the desktop part, yeah we should have only one desktop, didn't know it was set to 4.
on the alt tab par, I'm not sure how to go about fixing this, when you alt-tab the window looses focus when you hit the tab button so the tab key down event never gets sent and the key up event does not get sent. AFAIK there is no lost focous event for the browser.
@nurdism window.onblur
should do the thing.
window.addEventListener("blur", myScript);
The onblur event occurs when an object loses focus.
It fires exactly when Alt+Tab is pressed.
Describe the bug When I am in browser and I try to switch window on my host PC, I press Alt+Tab. It works great. But when I come back to neko, I notice, that there is Alt pressed. It captures
mousedown
on Alt key, and then leaves session. So nomouseup
for Alt will be distributed.To Reproduce Steps to reproduce the behavior:
This will most likely visible only with Alt+Tab, but is issue with every key.
Expected behavior If i press any key and leave neko-shared-browser-window with cursor (or with bluring my host window with Alt+Tab), it should "release" pressed key - send
mouseup
event.Screenshots
Desktop
Anyway, I would say, there should be only one Desktop, since only that is used now. Or are some use-cases for other desktops?
https://github.com/nurdism/neko/blob/14caa1fba8e04435588432d348684c5fa0b47164/.docker/files/openbox.xml#L147