This has been a known bug for a long time, sometimes after switching window with Alt+Tab shortcut, the view rotation mode stays in rotation mode without the alt key pressed.
This can be put to normal again by pressing alt again when getting back in the view
This is because Qt never sends a release key event. And relying on key events was choosen because PyQt doesn't seem to properly generate the key modifiers values (it always remains at value 0 during mouse events even when keys are actually being held)
This has been a known bug for a long time, sometimes after switching window with
Alt+Tab
shortcut, the view rotation mode stays in rotation mode without the alt key pressed. This can be put to normal again by pressing alt again when getting back in the viewThis is because Qt never sends a release key event. And relying on key events was choosen because PyQt doesn't seem to properly generate the key modifiers values (it always remains at value
0
during mouse events even when keys are actually being held)