In that case, I suspect the reason might have something to do with these other issues linked below. Although, this would be the first time I'm seeing this affecting window positioning instead of just the desktop icons.
The cause is still unknown, but I'm pretty sure there's some sort of race condition whenever the desktop loads the different components.
What I think is happening is some sort of race condition where the desktop finishes loading components in such a way that calculations as to where things should be placed are wrong. By forcing a layout shift the calculation are done again with the taskbar now fully loaded.
This is all assuming that these two issues are related, but the behavior seems very consistent. Unfortunately, I still don't know of an actual fix to this.
For reference:
As a workaround, you can run a script that does this for you. Still annoying, but less so.
-
Create a new text file with the following contents:
#!/bin/bash gnome-extensions disable zorin-taskbar@zorinos.com sleep 0.5 gnome-extensions enable zorin-taskbar@zorinos.com -
Right-click on it → Properties → Allow executing file as program.
-
To run it, right-click on it → Run as program.
If this works, we can set it up also after waking up so that you it runs automatically. It's a bit more involved, but only slightly.