-
Notifications
You must be signed in to change notification settings - Fork 52
Hide pointer while typing #230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Done. |
Windows doesn't hide the cursor by default? Do we really need to manually track mouse movements and key presses? Is it a recommended way you've found somewhere? Also, why the counter is needed? |
Please consider the following articles: |
Wow, I've never heard of this story. I was sure this setting was enforced by the default window proc. No wonder it's rarely working. |
This works for the main textarea but do you know why Hide pointer while typing is not respected for other input fields? As I've written in the first post:
But it's even hidden when the setting is disabled. |
Specified behavior implemented in the Windows OS code responsible for standard input fields/edit controls. While Scintilla editor is a custom control which is not an edit based one. |
Issue: the pointer remains hidden when a (modal) dialog appears. For example, start typing and then press Ctrl+O - you'll have no cursor in the file open dialog. I think the text area should listen for focus-lost event in addition to mouse-move. |
Fixed. |
|
Fixed. |
|
Cannot reproduce.
Fixed.
Fixed. |
It's quite easy and the problem is again with holding down Ctrl (like in other 2 cases that you have fixed). Try this: press and hold Ctrl, observe that the cursor became invisible, then just press O or S (while holding Ctrl) and you will notice that the dialog has no cursor. It's important that the document should not be changed because if a "Save?" message box is produced, the cursor will be shown and this bug won't trigger. |
Fixed. |
Windows Control Panel has an option in Mouse Properties > Pointer Options called
Hide pointer while typing
(enabled by default). For some reason, it doesn't work with Notepad2 or Notepad++. The strangest thing is that if you open a Find dialog and start typing there - the pointer will be hidden. But it isn't hidden while typing in the main window.I've also noticed that in Firefox cursor isn't hidden in any part of its window but in Gvim on Windows it is hidden properly. So it seems like a program-specific quirk, maybe even Scintilla-specific.
The text was updated successfully, but these errors were encountered: