Skip to content

Mouse cursor gets stuck with Orbit Tool on macOS when using a Ruby Tool #1028

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

Open
voqhai opened this issue Jan 6, 2025 · 2 comments
Open

Comments

@voqhai
Copy link

voqhai commented Jan 6, 2025

When creating a simple Ruby tool in SketchUp, the cursor behaves differently on macOS compared to Windows. On Windows, SketchUp automatically provides a default cursor if none is specified. However, on macOS, if the Orbit Tool is triggered (by holding the middle mouse button), the cursor becomes stuck with the Orbit Tool's appearance even after resuming the Ruby tool.

def onSetCursor
  UI.set_cursor(0) if Sketchup.platform == :platform_osx
end

def resume(view)
  onSetCursor
end

Feature Request:
SketchUp should provide a default cursor automatically when a Ruby tool does not set one explicitly.

@sketchup
Copy link

sketchup bot commented Jan 13, 2025

Logged as: SKEXT-4473

@sketchup sketchup bot added the logged label Jan 13, 2025
@kalpana-ghodeswar
Copy link

Hi Voqhai,

Could you please confirm the Sketchup version for this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants