Hi,
When I turn my second monitor on or off, DC moves the clock from the second monitor to the Primary monitor. Always on Top also stops working.
I need to close DC and open it again for the clocks to go back to normal.
Qt has eternal problems with "Stay on top" on Windows... very likely because they violate some WinAPI policies applying/changing window flags on invisible window.
problem is very common and discussable across the Internet, and I'm too tired to find/invent some new tricks/workarounds when existing stop to work just to mitigates this issue...
I even tried to call pure WinAPI functions and passing to them arguments retrieved from corresponding Qt windows, but their effect is also lost through time (because Qt subsystem also may make some changes) or they just have no effect at all (also expected, because Qt manages window).
moreover, on Linux stay on top feature (using Qt API) even doesn't work at all (even on simple examples in few lines of code of official provided examples)! I got it work only using X11 API (thanks to few Linux-only flags provided in Qt).
what about behavior on monitor removal, described behavior is default, and again, at least on Qt level I have no control on it. I have no plans to dig very deep into platform-specific APIs (especially Windows) to change it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
try 4.7.4 , this release includes few new forkarounds for stay on top feature
multimonitor issue still not solved, sorry. please wait for next release
unfortunately, it will not be fixed.
Qt has eternal problems with "Stay on top" on Windows... very likely because they violate some WinAPI policies applying/changing window flags on invisible window.
problem is very common and discussable across the Internet, and I'm too tired to find/invent some new tricks/workarounds when existing stop to work just to mitigates this issue...
I even tried to call pure WinAPI functions and passing to them arguments retrieved from corresponding Qt windows, but their effect is also lost through time (because Qt subsystem also may make some changes) or they just have no effect at all (also expected, because Qt manages window).
moreover, on Linux stay on top feature (using Qt API) even doesn't work at all (even on simple examples in few lines of code of official provided examples)! I got it work only using X11 API (thanks to few Linux-only flags provided in Qt).
what about behavior on monitor removal, described behavior is default, and again, at least on Qt level I have no control on it. I have no plans to dig very deep into platform-specific APIs (especially Windows) to change it.