WindowTop / WindowTop-App

Set window on top, make it dark, transparent and more
Other
1.12k stars 68 forks source link

[Anchors] Sometimes some anchors disappeared while switching windows #237

Closed gileli121 closed 2 years ago

gileli121 commented 2 years ago

The issue was reported here https://www.olean.net/post/2550.html And also few users reported this problem also.

I could reproduce the issue every time that part of the covered window was offscreen. Technically, it is true that different windows do not fully cover such a window. But it is still hidden because the part that is not covered by other windows is outside the screen. So it still should consider "Covered"...

So I modified the function that updates the IsCovered property and added there a logic to take this case into account. In addition, I also fixed a case that anchors sometimes show up for a window that is not covered (you still can access the window directly and see it on the screen). This was due to an inaccurate calculation in some cases. It is fixed also.

gileli121 commented 2 years ago

Version with the fix: WindowTop 5.12.5-beta2 - setup.exe.zip

gileli121 commented 2 years ago

Seems to work fine Released in https://github.com/BiGilSoft/WindowTop/releases/tag/v5.12.5

If there are any issues, feel free to report here.