SUMMARY I tested this with qbittorent STEPS TO REPRODUCE 1. Open qbittorent 2. Close bittorent to system tray 3. Open bittorent from system tray 4. repeat 2. and 3. OBSERVED RESULT Every time the window is opened it is created little wider than before (it goes more and more beyond screen edge) SOFTWARE/OS VERSIONS KDE Plasma Version: 5.15.90 KDE Frameworks Version: 5.58 Qt Version: 5.13.0 beta3 ADDITIONAL INFORMATION On wayland
There is also another way to trigger this: Open Dolphin a few times, you can see that every new instance has a slightly bigger window.
I just checked the logs. Kwin is not specifying a size in the configure event, so the bug is purely client side (the Qt QPA) probably it adjusting as we toggle from CSD. Needs fixing in Qt. I'll leave this open till we submit a patch.
Patch: https://codereview.qt-project.org/c/qt/qtwayland/+/262587
Is Qt 5.13.0 rc1 supposed to have fixed this? I am asking because it's still broken.
It probably didn't make it to RC1. Please test 5.13.0 https://blog.qt.io/blog/2019/06/19/qt-5-13-released/
(In reply to Christoph Feck from comment #5) > It probably didn't make it to RC1. Please test 5.13.0 > > https://blog.qt.io/blog/2019/06/19/qt-5-13-released/ So, I tested with qt 5.13.0 on Arch and it's still broken.
I also checked the source and the patch isn't there, either it wasn't accepted or it has been reverted.
Qt branch off 5.13.0 before release day. It takes special exception to get a change in there. It should be in 5.13.1
This patch is now included in Arch Linux starting qt5-wayland 5.13.0-2