Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
I've attached a patch that fixes the problem for me - before hiding the cursor,
it
checks to see that the cursor is inside the window.
If it is outside the window, nothing happens.
Tested, with all four edge cases. The mouse reappears when you move it beyond
each
edge.
Original comment by mistermo...@gmail.com
on 3 Feb 2010 at 5:03
Attachments:
Strange. Mouse pointer state in Windows is window-specific, i.e. mintty's
pointer
hiding should not have an effect while the pointer is over another window
(including
the desktop). In other words, I can't reproduce this.
Are you running Windows in a virtual machine or via VNC or some such?
Original comment by andy.koppe
on 3 Feb 2010 at 6:34
Ok. Weird. I'm running it bare-metal, on a Celeron laptop.
I've just done some more testing:
The cursor does not disappear when you type in mintty while the mouse is over:
- the desktop
- process explorer
- windows explorer
- internet explorer
- steam
The cursor DOES disappear when you type in mintty while the mouse is over:
- the windows 7 taskbar
- google chrome
Interestingly, when you type while the mouse is over the desktop, and then you
move
the mouse into the taskbar, the cursor goes invisible.
Thanks for the quick response!
Original comment by mistermo...@gmail.com
on 3 Feb 2010 at 6:57
Thanks. A couple more stabs at trying to reproduce this: have you got any
utilities
running that might have an effect here, e.g. for focus-follows-mouse? What
desktop
theme and mouse pointer scheme are you using?
In any case though, the workaround seems easy enough and I can't see it doing
any harm.
Original comment by andy.koppe
on 3 Feb 2010 at 7:44
I've restarted my computer, and now I can't reproduce the problem either. :-/
I could reliably reproduce it this morning, and I remember my mouse
disappearing
outside MinTTY a lot over the last couple of months.
If this happens again, I'll try and close programs one by one, and see if one
of them
is causing this behaviour.
Thanks for your help with this issue! :)
PS: I don't run any focus-follows-mouse software. I'm using the default
"Windows Aero
(system scheme) pointer scheme.
Original comment by mistermo...@gmail.com
on 3 Feb 2010 at 9:08
Weird. Perhaps a dodgy mouse driver or display driver. I applied a fix anyway,
using
the WindowFromPoint function to take overlapping windows into account. r728 on
trunk.
Original comment by andy.koppe
on 3 Feb 2010 at 7:16
Original comment by andy.koppe
on 13 Feb 2010 at 4:19
Original issue reported on code.google.com by
mistermo...@gmail.com
on 3 Feb 2010 at 3:14