A button allow to change the App.cursor to the finger cursor, then with this cursor
another button opens a Floating Window
Then, the app cursor is reset by Xojo or MacOS, is this normal or is a bug?
If moving the cursor over the floating window then the cursor recover its finger image, but when enter the original window reset again to standard cursor.
The Finger Button:
Sub Action() Handles Action
App.MouseCursor = System.Cursors.FingerPointer
End Sub
The Open Floating window (forcet to open to the right of the cursor to see the effect):
Sub Action() Handles Action
Window2.Left = system.MouseX+10
window2.Show
End Sub
Really interesting. Switching focus back to the main window, the finger pointer cursor is not displayed unless I hover over the buttons. If I move the mouse off of them, it goes back to the standard pointer.
I switched to setting the Window.MouseCursor property in the Open event, and that issue is fixed, but the FingerPointer is still only displayed on the main window when it has focus.
The same example, if using a Document window not a floating, then when the cursor is over the active window the finger cursor is showed, but when over the non active window cursor is reset to standard one.
It works fine here. I do not understand the trouble.
The cursor change when it is above the title part of the window. It stays as Finger when the floating window is above. And change to arrow when goes out of the floating.
For me, standard behavior.
Look at the cursor in the IDE when moving from above the Code Editor with focus, then above the Properties or Navigation panes or elsewhere.
Just so you know, I was discussing with another developer (who uses a different tool to Xojo, but is still a macOS developer) about problems with cursors in recent macOS versions. He’s aware of some bugs at the OS level and was describing issues I’ve seen from within Xojo (and when I try to force a cursor using system API).
Back in 2005, my wife had a Sony Vaio and it needed to be restarted daily otherwise Adobe Illustrator couldn’t save. She lost a lot of work when she forgot.
They were absent of 10.16?
It’s now the moment I realise I’ve skipped an entire macOS release cycle (well, I’ve probably used Big Sur twice, for a total of… 10 minutes ).