Closed austincondiff closed 1 year ago
I am not able to replicate this when CodeEdit is in focus... My cursor is changing properly.
When it is not in focus, it stays as a pointer- but is that not the default behavior?
https://user-images.githubusercontent.com/806104/211112469-c9f04c67-aec1-4c6b-977f-80124d764a3e.mov
Maybe it is a macOS bug on my end because it is like this in Xcode as well...
https://user-images.githubusercontent.com/806104/211112755-d1168735-b274-4ba1-9cf2-64f03701d7bd.mov
If you look close, you can see the cursor briefly flash to the I-beam. It appears that it flashes when I cross the boundary of a selection. Very strange. I can close this if you are not experiencing this.
Why close? This is trivial to reproduce here with CodeEdit in focus. Clearly the cursor should not be an arrow in this case:
Weirdly enough, it seems that is related to how fast you move your mouse pointer into the text editing area. And when the cursor is in text selection mode, it changes back to a pointer when interacting with the text editing area.
This issue should probably be moved to CodeEditTextView
Transferring to CodeEditTextView now.
I am noticing this in more apps than CodeEdit. I am starting to think it is a macOS bug. Can anyone confirm?
Confirmed in a handful of web browsers in various html fields and the URL bar...
I've had to restart my machine to fix this. I'd like to report this bug to Apple but I have no idea what causes it and how to fix it other than restarting. Closing for now.
Description
Cursor remains an arrow when hovering over editor.
To Reproduce
Hover over the editor.
Expected behavior
When hovering over editor, cursor should change to an I-beam to indicate editable text.