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

Viewer overlay actions are executed in the wrong order #711

Closed
devernay opened this issue Nov 27, 2021 · 0 comments
Closed

Viewer overlay actions are executed in the wrong order #711

devernay opened this issue Nov 27, 2021 · 0 comments
Assignees
Labels
func:gui type:bug Something isn't working
Milestone

Comments

@devernay
Copy link
Member

When reproducing the bug described in #708, using the same graph, sometimes the rectangle center is selected instead of the transform gizmo, although it is not visible.
Looking at the code in ViewerTab20.cpp, it seems like the overlay actions are executed in the wrong order:

  • the draw actions should be executed from back to front -> these are OK
  • all other actions (penUp, penMotion, penDown, etc) should be executed from front to back -> some are executed from back to front, including penDown, and the use of ViewerTabPrivate::lastOverlayNode seems to be a poor way to circumvent this bug
@devernay devernay self-assigned this Nov 27, 2021
@devernay devernay added this to the 2.4 milestone Nov 27, 2021
@devernay devernay added func:gui type:bug Something isn't working labels Nov 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
func:gui type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant