AuburnSounds / Dplug

Audio plugin framework. VST2/VST3/AU/AAX/LV2 for Linux/macOS/Windows.
https://dplug.org/
Other
485 stars 32 forks source link

The mouse cursor vanishes in Renoise for macOS #783

Open Nifflas opened 1 year ago

Nifflas commented 1 year ago

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.

p0nce commented 1 year ago

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).

LunaTheFoxgirl commented 1 year ago

Problem can be reproduced in Cubase 12.0.6 on macOS Monterey

p0nce commented 1 year ago

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 commented 1 year ago
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 commented 9 months ago

Can repro in REAPER + AU but not Logic.

p0nce commented 9 months ago

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.