api-issue-tracker icon indicating copy to clipboard operation
api-issue-tracker copied to clipboard

onMouseMove and onLButtonUp doesn't trigger when mouse is outside viewport

Open thomthom opened this issue 5 years ago • 2 comments

https://github.com/SketchUp/api-issue-tracker/issues/512#issuecomment-674818743

On Mac, when the mouse button is down, onMouseMove and onLButtonUp are received even if the mouse is outside the viewport or hovering a dialog box. That's not the case on Windows.

Because the mouse can be released when the cursor is outside the viewport on Windows it is a challenge to detect when a click+drag has ended. If a mouse button was pressed down in the viewport then it should capture and trigger mouse events even when outside the viewport.

thomthom avatar Aug 17 '20 11:08 thomthom

Logged as: SU-46986

sketchupbot avatar Aug 24 '20 06:08 sketchupbot

Hi Fredosixx,

I tried to reproduce this with latest SketchUp version (SU2025.0) and SU2023.0 on MacOS (Sonoma) and looks like this is working as expected. Is this still an issue for you?

Thanks

Image

kalpana-ghodeswar avatar May 19 '25 12:05 kalpana-ghodeswar