Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug when moving large windows #1169

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

felipeerias
Copy link
Contributor

When the user tries to move a large window (3x size), it can become stuck at one extreme of the 3D environment.

The underlying cause seems to be a bug in how we compute the movement of the pointer in extreme cases when the window widget is too large and is positioned on a cylinder.

This bug is quite hard to pin down and only seems to happen when trying to move a large window, so for the time being this PR simply limits the range of movement for windows.

When the user tries to move a large window (3x size), it can become
stuck at one extreme of the 3D environment.

The underlying cause seems to be a bug in how we compute the movement
of the pointer in extreme cases when the window widget is too large
and is positioned on a cylinder.

This bug is quite hard to pin down and only seems to happen when trying
to move a large window, so for the time being the fix is to restrict
the range of movement to the width of one default window.
@felipeerias
Copy link
Contributor Author

The bug can be reproduced by these steps:

  • enable curved windows
  • enable window movement
  • resize the window to 3X size
  • try to move the window to the side
trim.7D649B8D-CD7B-4723-8E68-06613995E77F.MOV

Copy link
Collaborator

@HollowMan6 HollowMan6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is interesting. Didn't notice this before. I would suggest we add a TODO comment linking this issue in the code for easier tracking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants