Skip to content

Timing issues fixed. Hopefully.

Latest
Compare
Choose a tag to compare
@TomONeill TomONeill released this 25 Feb 14:04
· 2 commits to master since this release

I've noticed a timing issue which caused only the first few icons to cache and restore.
I'm hooking into the Windows events for changing the resolution and since I can't temporarily break that event from happening, I have to make sure I'm caching all the desktop icons in time.

This release contains hopefully a solution for this problem. I am now making sure the icon list I'm caching from is not changing during the process of changing the resolution.

I think this would very much make a difference. I've named my commit "experimental" since I am going to test it in the coming days/weeks, but that doesn't mean it isn't unstable. It could potentially mean that more RAM is going to be used, but we'll have to see.

Last but not least, during the initial testings I've found out that going to a small resolution and back might show some icon movement, but I'm unsure if this is standard behaviour. I am not familair with how Windows (should) keep the positions in place, so I'm just guessing, really. The alternative is to keep track of every icon (meaning, new icons, icon sizes, deleted icons) and move them around based on calculating from which resolution you are changing from and going to change to.

Have fun.