SUMMARY A recent Plasma upgrade made it so terminal emulator alacritty gets incorrectly resized to a 2x1 window when opened. I opened a bug report with alacritty and they said this is a KDE issue, so I'm reporting it here. I have not seen this resize bug effect other programs outside of alacritty. Github issue - https://github.com/alacritty/alacritty/issues/5603 STEPS TO REPRODUCE 1. open alacritty OBSERVED RESULT alacritty window is tiny (2x1) EXPECTED RESULT alacritty window is size specified in config file (behavior even occurs if config file is deleted and default setting is used) SOFTWARE/OS VERSIONS Linux/KDE Plasma KDE Plasma Version: 5.23.3 KDE Frameworks Version: 5.87.0 Qt Version: 5.15.2
I got the same issue for kwin-5.23.3. Downgrading kwin to 5.22 can solve this issue temporarily.
Typo. Downgrading to kwin 5.23.2 can solve this issue.
I'm using the same versions of KDE/QT/Alacritty on ArchLinux and I'm having the same issue.
I've bisected the commits between 5.23.2 and 5.23.3 and identified this one as the culprit - https://invent.kde.org/plasma/kwin/-/commit/e2f9f35c3cb07503e5ffd7b0134526ec0edddc83
Can you attach a log of WAYLAND_DEBUG=1 alacritty
Created attachment 143633 [details] The output of `WAYLAND_DEBUG=1 alacritty` The output of `WAYLAND_DEBUG=1 alacritty` when kwin is built from this commit - e2f9f35c3cb07503e5ffd7b0134526ec0edddc83.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1674
first configure event is [3085629.386] xdg_toplevel@22.configure(1, 1, array) which shows kwin is telling it do this, which is weird. From the logs I can't see why it wouldn't be 0,0. but the log shows something very wrong on the client. We're committing the surface before setting min/max/deco. This needs fixing their side.
Git commit 068d60e36a112c6b901010331ef3a995019c97cb by Vlad Zahorodnii. Committed on 17/11/2021 at 06:58. Pushed by vladz into branch 'master'. Revert "wayland: Check workspace position when preferred deco mode changes" This reverts commit 2560288e4b66acfdbb8a8f4daafd2d600aeb525a. It broke alacricitty. The fix is not obvious, so revert the commit for the time being. M +1 -1 src/xdgshellclient.cpp https://invent.kde.org/plasma/kwin/commit/068d60e36a112c6b901010331ef3a995019c97cb
Git commit 325208347c40d7311aea83572b5150ba3750cba9 by Vlad Zahorodnii. Committed on 17/11/2021 at 06:59. Pushed by vladz into branch 'Plasma/5.23'. Revert "wayland: Check workspace position when preferred deco mode changes" This reverts commit 2560288e4b66acfdbb8a8f4daafd2d600aeb525a. It broke alacricitty. The fix is not obvious, so revert the commit for the time being. (cherry picked from commit 068d60e36a112c6b901010331ef3a995019c97cb) M +1 -1 src/xdgshellclient.cpp https://invent.kde.org/plasma/kwin/commit/325208347c40d7311aea83572b5150ba3750cba9