Author |
Topic |
|
Hax
128 Posts |
Posted - 06/12/2012 : 18:08:53
|
My mouse cursor freezes for short moments while opening Configure Action window (Win 7 x64 & S+ x64). |
|
Rob
USA
2615 Posts |
Posted - 06/12/2012 : 18:20:09
|
Ok good, it's happened to me just a couple times, wasn't sure if I was just going crazy =)
I think the reason is:
Every time an app or action is selected, the config is saved and refreshed (as has always been), however now, each call to save the config also tells the hook to refresh the config. This ties up the DLL process as it's refreshing, which causes the mouse hook to not respond while this is happening. When you first open the actions window, it may cycle through a tree node or two, and with autosave checked, this likely triggers them to save (even though there are no changes made) and causes the lag. In fact, since this was a simple change from the code perspective, there's still some processing paths that are now inefficient.
I'll come up with some code adjustments to streamline things, this is why I made it beta, figured there would be a drop in some performance/stability. Ideally, making changes to the XML tree wouldn't require the entire XML to be refreshed in the code, but the node doesn't seem to store in memory in a way that's exposed..or I need to further research that library to find a way to do so.
Thanks for the bug report! |
|
|
Rob
USA
2615 Posts |
Posted - 06/13/2012 : 16:24:29
|
Let me know if the latest is any different. Hasn't happened to me yet, but wasn't happening that often before. The only noticable hesitation is when closing an S+ dialog, but since S+ is running in high priority at all times now, it's not surprising to have that little stutter when destroying the window, etc. |
|
|
Hax
128 Posts |
Posted - 06/13/2012 : 19:46:57
|
Still the same, but I've gotten used to it. |
|
|
Rob
USA
2615 Posts |
Posted - 06/13/2012 : 19:50:11
|
Hmm, I'll keep digging.
How long of a freeze? Every single time? Only the Actions window? |
|
|
Hax
128 Posts |
Posted - 06/13/2012 : 19:57:59
|
Very short (but noticeable) Yes Yes |
|
|
Hax
128 Posts |
Posted - 06/14/2012 : 18:58:44
|
The problem is gone (1.9.903). |
|
|
Rob
USA
2615 Posts |
Posted - 06/14/2012 : 19:34:14
|
Huzzah! |
|
|
|
Topic |
|
|
|