mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
83b8938e1a
WinLibrary currently waits 5 seconds if it can't read the taskbar registry, and then it tries again. This is because based on my testing, if a screen layout changes, windows takes up to 20 seconds to update registry to record this fact. We have to wait until windows has finished 4 times before we are sure to have passed the 20 second window. This is likely the delay you have mentioned. I *think* that I can slightly speed this up. We only MUST to do this delay when we are recording the config (i.e. creating a new display profile), and other times it's kind of a nice to have. So I've attempted to speed this up using a 'fastScan' option for the WinLibrary GetActiveConfig function. This will enable it to only query once for the general scans of the active config, and if there is a problem getting the data it will just accept that fact and will still return quickly. But it will still take up to 20 seconds when creating a new display profile as it is REALLY important we get that data correctly. Fixes #129 |
||
---|---|---|
.. | ||
AMD | ||
NVIDIA | ||
Properties | ||
Resources | ||
UserControls | ||
Windows | ||
DisplayMagicianShared.csproj | ||
DisplayMagicianStartupAction.cs | ||
PixelShift.cs | ||
ProfileIcon.cs | ||
ProfileItem.cs | ||
ProfileRepository.cs | ||
ResizeDrawing.cs | ||
RestartManagerSession.cs | ||
Rotation.cs | ||
Scaling.cs | ||
ScanLineOrdering.cs | ||
SharedLogger.cs | ||
ShellHelper.cs | ||
Utils.cs | ||
Wallpaper.cs |