Dplug icon indicating copy to clipboard operation
Dplug copied to clipboard

The mouse cursor vanishes in macOS

Open Nifflas opened this issue 2 years ago • 7 comments

Dragging a knob, and releasing the knob while the cursor is outside the window of the VST plugin, makes the cursor stay hidden. The only way to get the mouse cursor to show in Renoise again is to open the menu at the top of the screen and selecting any option.

Nifflas avatar Jul 28 '23 16:07 Nifflas

I've heard the latest macOS updates do not allow cursor hiding, which is also a bit user-hostile. We should find a way out of this (EDIT: either by disallowing to hide (replace by normal cursor), or workaround on macOS only).

p0nce avatar Jul 29 '23 14:07 p0nce

Problem can be reproduced in Cubase 12.0.6 on macOS Monterey

LunaTheFoxgirl avatar Aug 26 '23 10:08 LunaTheFoxgirl

Workaround : note that you can always avoid mouse cursors completely by defining legacyMouseCursor version identifier. It will be turned into a permanent Dplug Option.

p0nce avatar Aug 26 '23 13:08 p0nce

I think the best way to solve it would be to have a counter internally of how many hides has been called, then calling show an equal amount of times

p0nce avatar Aug 30 '23 10:08 p0nce

Can repro in REAPER + AU but not Logic.

p0nce avatar Dec 18 '23 10:12 p0nce

More complicated than thought.

A related but maybe separate issue is that mouseExited: is called by Cocoa during a drag. So we cannot use this call trivially to unhide the cursor.

  • [ ] Assess impact of mouseExited: being called not at right time
  • [ ] try to find a scheme to get to true "mouse exit" (exit window if not dragging, finish dragging else)
  • [ ] correct behavior for hidden cursor too

p0nce avatar Dec 18 '23 10:12 p0nce