Focus should be not lost when un-fullscreen or un-maximize a window #5
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is a very small issue on which I have been affected in different ways, basically when you un-fullscreen a window, the focus is changed to another one, this is a demo of how it is happening:
https://youtu.be/n1d8_phwJDQ
Note: on the video I don't mention "un-maximize" but is the same issue, if i maximize a window, and then un-maximize it, my focus is lost into another window sometimes
I've got my focus set to 'click to focus' and this doesn't happen.
So it likely has to be in the focus setting there.
I have pushed a fix that seems to work for me in the un-fullscreen case.
Un-maximize should already keep focus by warping the pointer. Seems to work for me.
@triantares not exactly: the "click to focus" option doesn't set the focus by itself, it requires the user to do it, the other 2 options are a "auto" way to set the focus following where is your mouse pointer, the issue was that when you de-maximize/de-fullscreen , the mouse can be located somewhere touching another window (and so your focus is lost into another window) where is meant to keep the focus on the same one on this action
@kw verified and working, thank you :)
Note: there's a similar issue that still happens on this condition:
this issue happens because has not relation with the de-fullscreen state, but still, should E16 remember the "parent focus" and return the focus to it when its children (or "next") application focus is lost?
I don't think I agree here. In this case e16 does what sloppy/pointer focus does - focus the window in which the pointer is.
I think this is straightforward to understand and accept as a user. If in stead the window that previously had focus was focused I think that one might wonder why some particular window that doesn't contain the pointer is focused.
Focusing windows that don't contain the pointer in sloppy focus mode is already questionable, IMO. But e16 allows that when switching focus (or it can warp the pointer too and not violate that principle).