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

View control mouse interaction issues #293

Closed
iche033 opened this issue Sep 27, 2021 · 1 comment
Closed

View control mouse interaction issues #293

iche033 opened this issue Sep 27, 2021 · 1 comment
Assignees
Labels
bug Something isn't working 🏯 fortress Ignition Fortress

Comments

@iche033
Copy link
Contributor

iche033 commented Sep 27, 2021

Environment

  • OS Version: Ubuntu 18.04
  • Source or binary build?
    both binary and source, ignition fortress pre2

Description

I ran into a few gui view control interaction issues with the mouse. I don't see these issues using the old GzScene3D plugin.

I can separate them into different issues if needed.

  1. Incorrect mouse anchor point.
  • This doesn't happen all the time but it happens often enough that it's quite easily reproducible on my machine. I also see incorrect anchor points for panning the camera from time to time, e.g. camera jumps when panning after resizing the render window or unexpected large camera pan movement because anchor point used is closer than actual point.

gui_view_anchor

  1. Context menu triggered on mouse release after a zoom action
  • Looks like the menu is triggered on all right mouse button releases. We should not open the context menu after a mouse right button drag.

gui_view_context

  1. Scroll zoom moves camera in wrong direction
  • The first zoom with scroll button works as expected. However, if you try to zoom again in the opposite direction, the first scroll increment will be in the wrong direction (still in the previous direction) correct.

gui_view_zoom

@iche033 iche033 added bug Something isn't working 🏯 fortress Ignition Fortress labels Sep 27, 2021
@chapulina chapulina self-assigned this Sep 28, 2021
@chapulina
Copy link
Contributor

Fixes on #295

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🏯 fortress Ignition Fortress
Projects
None yet
Development

No branches or pull requests

3 participants