You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There might be a second issue here (my mac is in the shop because the butterfly keyboard got a crumb in it, so I can't test), which is whether NSCursor::set leaks globally into other app windows. If so, we should probably change it so there's a single rect that covers the entire window (or, to be more precise, the area of the NSView that serves as the root of the druid widget hiearchy, when thinking about VST guest use cases). I think that change can be made at the shell level without affecting event flow or API, if needed.
@cmyr observed that NSCursor.set can clobber the global cursor.
The Apple docs are confusing. If you set up these tracking areas, and it drills down to Cocoa calling your view's cursorUpdate method, of which their suggested impl (see Listing 6-4) is to just call NSCursor::set. So it's unclear if this is really what's causing the clobbering of the global cursor, or whether it might be something else such as a grab that's not being let go.
There's also the performance issue of if we should call the set_cursor every time, or only when the cursor has actually changed. This is subtle, because of the need to track when the mouse has left the window on Windows. See discussion in #87 for details.
Investigate the clobbering of the global cursor on mac, and consider the performance improvement.
The text was updated successfully, but these errors were encountered:
I have a bunch of thoughts on this, I'm not especially happy with the current API; need to write up a general 'mouse improvements' issue at some point, i've been putting that off.
This is a followup to concerns raised in #87.
@cmyr observed that NSCursor.set can clobber the global cursor.
The Apple docs are confusing. If you set up these tracking areas, and it drills down to Cocoa calling your view's
cursorUpdate
method, of which their suggested impl (see Listing 6-4) is to just callNSCursor::set
. So it's unclear if this is really what's causing the clobbering of the global cursor, or whether it might be something else such as a grab that's not being let go.There's also the performance issue of if we should call the set_cursor every time, or only when the cursor has actually changed. This is subtle, because of the need to track when the mouse has left the window on Windows. See discussion in #87 for details.
Investigate the clobbering of the global cursor on mac, and consider the performance improvement.
The text was updated successfully, but these errors were encountered: