tcorreabr / Parachute

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

Completely messed up when connecting ultrawide #100

Open Davincible opened 3 years ago

Davincible commented 3 years ago

Works great on my laptop screen by itself, but when I connect my ultrawide through a USB C hub its completely messed up. For some reason it looks better on the screenshot than in real life. 1) In the screenshot it looks normal, but on my smaller screen, the laptop screen, it basically shows from halfway up. So I only see the lower half of that screen. 2) The windows show incorrectly, all my windows are on my big screen, but somehow they show up on the smaller screen 3) background is incorrect.

image

Davincible commented 3 years ago

Turns out kernel 5.10 was giving me a whole lot of issues. Now it works better on a different kernel, but the blur doesn't work while it is turned on in settings: image

koma111 commented 3 years ago

Not exactly the same, but I think closely related to #94 and #98. Parachute doesn't play well on multimonitor, even if the aspect ratios and resolutions are the same, let alone two vastly different resolutions or dynamically changing the screen alignment (connecting or disconnecting a screen e.g. the ultrawide in question). Typing kwin_x11 --replace & into a terminal or KRunner fixes it temporarily, until the screen setup changes again or the user logs out and back in.

Davincible commented 3 years ago

Hmm yeah that command did fix it :D. No clue what it does, but is there someway to do this automatically?

koma111 commented 3 years ago

The command restarts KWin, the window manager and compositor of KDE. That is the part of the system responsible for displaying windows, fancy effects like blur, handling windows being moved around, keeping track of virtual desktops, etc. I don't know of a nice way to automate it, maybe through DBus? If you type the command into KRunner (the amazing search of Plasma, invoked by Alt+F2 or Alt+Space (unless you customized your keyboard shortcuts)), and hit Enter, in the future you will only have to type the first 2-3 letters, because KRunner remembers it.

Davincible commented 3 years ago

Yeah I ended up having to run it about every time I reconnect my monitor. It's a minor inconvenience but it works, so thanks for the suggestion