PRo3D icon indicating copy to clipboard operation
PRo3D copied to clipboard

Persistent (Hanging) panning in 3D view when leaving the window

Open chris-traxler opened this issue 2 years ago • 3 comments

When panning with the middle mouse button in the 3D view and releasing it outside of the 3D view (e.g. in the UI), the release is not recognised. When returning to the 3D view, panning continues without pressed middle mouse button.

Workaround: Click the middle mouse button in the 3D view to stop panning.

chris-traxler avatar Jul 04 '23 08:07 chris-traxler

Related, partly subsumed: https://github.com/pro3d-space/PRo3D/issues/192 and https://github.com/pro3d-space/PRo3D/issues/137

My proposal is to upgrade to the new orbit controller - to get rid of deprecation, smoother animation, less threads and maintained pointer apture solution.

The pointer capture problem in free fly is still unclear though.

haraldsteinlechner avatar Oct 02 '24 08:10 haraldsteinlechner

Should be fixed with pull request #423

RebeccaNowak avatar Oct 07 '24 14:10 RebeccaNowak

More background: FreeFlyController does not seem to recognize when the middle mouse button is released if the cursor is outside the rendering view AND while the middle mouse button is pressed. It works with right and left mouse button. The problem is not PRo3D-specific, it can also be observed in Aardvark.Media in the GoldenLayout Demo. The problem does not occur in the NavigationDemoNew although both use FreeFlyController. The problem also does not occur in the RenderControl Demo, which uses the same code as the GoldenLayout Demo. Therefore I suspect the events used in layouting interfere with FreeFlyController. The middle mouse button can be used to close tabs in GoldenLayout.

RebeccaNowak avatar Oct 08 '24 14:10 RebeccaNowak