You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to my window manager's (Fluxbox) implementation of click to focus, there is an enterEvent for every left button click even if the mouse was already inside the widget. This resets _overType to OverNothing because of 0d930fe.
It is unclear to me what 0d930fe tries to improve by adding enterEvent and leaveEvent. If I remove the overriding methods, everything works fine and I am also no longer restricted to the application window when resizing the visible region with the right mouse button.
The text was updated successfully, but these errors were encountered:
Thanks for the detailed comment.
I don't remember why exactly I added this events. Maybe, because if we leave the widget while overing some object, the object still look like it is overed. If this is the case, then only the leaveEvent is needed, so that we can remove the enterEvent, and everything should work with Fluxbox.
I think the correct way to fix this is to set _overType one last time in mousePressEvent before it is locked by _mousePressed. If it works, I'll make a commit to my tree.
Due to my window manager's (Fluxbox) implementation of click to focus, there is an enterEvent for every left button click even if the mouse was already inside the widget. This resets _overType to OverNothing because of 0d930fe.
It is unclear to me what 0d930fe tries to improve by adding enterEvent and leaveEvent. If I remove the overriding methods, everything works fine and I am also no longer restricted to the application window when resizing the visible region with the right mouse button.
The text was updated successfully, but these errors were encountered: