Author |
Topic |
|
eugenesv
8 Posts |
Posted - 04/19/2016 : 15:12:38
|
Whenever I disable/reenable the app (by clicking on the tray icon) my mouse cursor size changes to ~30% of it's normal size. To get it back to normal I have to open mouse settings, change mouse scheme to any but current, apply, then change it back to my current scheme. No idea why S+ would do that to me
Win x64 10.0.10586 Version 2.8.6.4 |
|
Rob
USA
2615 Posts |
Posted - 04/19/2016 : 15:16:57
|
Maybe it doesn't like you? Just kidding, that's odd but I'm guessing it has to do with the code that supports hiding the mouse cursor and/or detecting the cursor type. I pull in each of the 13 cursor types into an array for masking and changing. It's probably doing something to reset the cursor which is causing your custom size to be overwritten. I'll add it to the list of things to check out. |
|
|
eugenesv
8 Posts |
Posted - 04/19/2016 : 15:32:34
|
It's not supposed to not like me yet — we've just met ;)
Just a thought — maybe it doesn't recognize that I have 200% text magnification in Windows to have text/icons display in a legible manner? And S+ pulls in the original size of the mouse cursors? |
Edited by - eugenesv on 04/19/2016 15:33:23 |
|
|
Rob
USA
2615 Posts |
Posted - 04/19/2016 : 15:47:10
|
It's because on unloading the mouse hook, S+ is calling SystemParametersInfo, passing in SPI_SETCURSORS, which reloads the system cursors. It's only making that call because if someone has hidden the mouse cursor via S+, they wouldn't be able to see a mouse cursor at all even after exiting S+.
It's probably overkill to call that regardless of if the mouse cursor was actually hidden or not, but there's no current way for you to avoid it at the moment. I'd have to update the code and push a release. I'll try to find some time to update it. |
|
|
Rob
USA
2615 Posts |
Posted - 04/19/2016 : 15:55:20
|
It also calls that on acShowMouseCursor. That really needs to be rewritten to store the actual cursors in memory and reset them back to their originals, so it's a little more complicated than I thought.. :/ |
|
|
|
Topic |
|