-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Preview - Mouse cursor doesn't reappear when switching workspaces during mouse hide #8958
Comments
@nmelnick - I am trying to reproduce it, but without any success. I don't have Lenovo and trackpoint though.
Can you please review my steps?
This is extremely interesting / weird as the cursor is restored the moment the terminal in the tab loses focus. |
@Don-Vito Thanks for the reply! Hm. Yesterday, I had a mouse connected, today, I'm TrackPoint only, so yesterday was testing with a mouse. I obviously cannot remove the TrackPoint entirely, but I don't currently have another Windows machine to test with. I attempted to recreate your steps, with the difference of the WSL2 tab being my default tab. I put Edge on my second workspace, Terminal on my first.
I then duplicated this with a PowerShell Core tab and a PowerShell tab, and the same behavior occurs. I attempted the same action without Edge, and instead, just Notepad on the second desktop, and the same thing occurs. I'm going to attempt to borrow another machine today, install the preview, and see if I can duplicate or if I have something incredibly weird on my machine. |
@nmelnick - thanks for the insights! |
@Don-Vito That's correct. The cursor is not shown in the next workspace, including attempting to mouse around in Edge. Mouseover events still fire, just no visible cursor. If I go back to the Terminal workspace, and press a key in it, then mouse around, the cursor will reappear. It seems that the event to show the cursor is not firing when I switch workspaces with the cursor in a hidden state. |
@DHowett - I am starting to lose my confidence of understanding windows internals. How can changing a cursor for a window in one app, to affect the cursor in the window of another process (in another workspace). |
Yea, controlling how the pointer looks is a special type of hell, for whatever reason. It's why #5028 is still blocked 😕 |
I mean if this is possible then one app can screw the entire OS that easily 😊 |
I'm experiencing the same behavior, when I start typing on the terminal the cursor disappears, then if I switch workspace it stays invisible even if switch back to the workspace containing the terminal. Is there any way to disable cursor disappearing when typing in the terminal? |
Okay despite the fact that e don't really have a repro for this bug - I had an idea that might help with this and also #1441. Maybe we should at the I guess it doesn't help with the intra-app pollution that we were seeing (where it's Hard to switch the cursor only while over a single control), but an idea nonetheless |
This is a good idea. |
I have experienced this too for some time. I never understood why does it happen, but then moved one instance of the terminal to an other workspace and then it happened every single time I switched from a workspace with maximized WT to a workspace with Firefox, or basically any other program. Some things I noticed: Also, for those who don't want to disable cursor hiding while typing: a Ctrl+Alt+Delete and then Esc also makes the cursor visible. It's still annoxing, but quicker. However, I have a regular mouse (though wireless and has extra buttons, but that probably doesn't matter), so if the devs have questions or a beta patch, let me know if I can help with investigating this. |
I am having the same issue as well. If the mouse is hidden when the desktop is switched it remains hidden on the new desktop. The only way to make it visible is to go back to the application that hid the mouse and move it around until the mouse becomes visible. I have disabled "Hide pointer while typing" but this doesn't help when viewing a video and the mouse is hidden by the video player. If you change desktops the mouse remains hidden. Is there an option to make the mouse always visible? While keeping the mouse visible |
Environment
Steps to reproduce
Expected behavior
Mouse cursor reappears on workspace switch
Actual behavior
Mouse cursor remains invisible (unless you change the size in mouse settings, or find the title bar and maximize/restore the window)
The text was updated successfully, but these errors were encountered: