MaterialX icon indicating copy to clipboard operation
MaterialX copied to clipboard

Mouse interaction with the UI when cursor over render view orbits the camera

Open HardCoreCodin opened this issue 1 year ago • 1 comments

  1. When the scrollbar appears in the property editor, grabbing it with the mouse to scroll and dragging the scrollbar up next to the render view, treats it as a mouse drag in the render view and orbits the camera.
  2. Using the File menu and clicking a menu option and dragging the mouse also does the same and orbits the camera as it is over the render view.

HardCoreCodin avatar Aug 21 '24 05:08 HardCoreCodin

There are bunch of UI items here. I think your case is similar to another item mentioned.

kwokcb avatar Aug 21 '24 13:08 kwokcb

Hi! I would like to tackle this issue for the ASWF Dev Days 2024.

LeaRe avatar Sep 21 '24 00:09 LeaRe

While working on this issue I also noticed another case of unintentional camera orbiting. The previous logic to detect the cursor in the render view did not consider that the render view moves up when scrolling. As a result, the camera would still orbit when clicking parts of the Node Property Editor that were previously occupied by the render view. I added a fix for this behaviour as well in my changes for this ticket (PR will be out soon).

LeaRe avatar Sep 27 '24 21:09 LeaRe

Thanks to @HardCoreCodin for this original report, and to @LeaRe for the fix in #2032!

jstone-lucasfilm avatar Sep 28 '24 18:09 jstone-lucasfilm