tcorreabr / Parachute

Look at your windows and desktops from above.
GNU General Public License v3.0
357 stars 32 forks source link

Overview misaligned with multiple monitors after entering fullscreen #97

Open DWW256 opened 3 years ago

DWW256 commented 3 years ago

I have a laptop with an external monitor, and both are 1080p. The external monitor is configured to be the secondary display, positioned higher up than my laptop along its right edge.

I do a lot of Zoom meetings, and if Zoom ever enters full screen, Parachute will henceforth align the overview on my laptop with the top edge of my external monitor. The problem only subsides after either disabling and re-enabling Parachute or after restarting the computer.

I tried to take a screenshot to explain the problem, but Spectacle is unfortunately running into a dependency failure on KDE neon at the moment. I'll try and send one over if needed.

DWW256 commented 3 years ago

Spectacle has been updated and is once again working correctly. Here's the screenshot, as promised! You'll notice that the left monitor appears much taller than the right. They are actually the same resolution; Parachute is just aligning itself with the area above the left monitor (which should be a black letterbox). Parachute_Bug

koma111 commented 3 years ago

I see something else as well in the picture: The lower third of the left screen (the laptop screen if I understand correctly) is not blurred. Makes me think whether this is related to this other issue #94 where the background blur is missing in some cases and Parachute is confused by multiscreen layouts. @DWW256 I suggest you have a look at that Also, restarting kwin from the command line or directly typing kwin_x11 --replace & into KRunner seems to always fix it for me. @tcorreabr Is it possible that these two issues have the same underlying cause? I'm not saying it is a duplicate, but they might be related.

DWW256 commented 3 years ago

Could be related to #94. Basically (as far as I can tell) the reason blur is missing on the bottom is because Parachute just draws a picture of the blurred background on top of everything, and that whole ensemble is misaligned. So I think that whole mess is the same problem: Parachute just doesn't always remember where my monitors are.

So yeah, it probably is the same thing as #94 since both involve Parachute forgetting the locations of the monitors and subsequently assuming they are all lined up horizontally with the same y-positioning. Thanks for pointing that out!

DWW256 commented 3 years ago

Further investigation has revealed that when I reset my monitor alignment so that both monitors have the same y-coordinate, Parachute appears to draw everything in the correct position for my previous monitor configuration. I now suspect that Parachute Is accidentally reading the old monitor layout whenever it detects a change to a new layout. Not sure why, but that is my best guess.