Bug 408877

Summary: Dragging Tilix in Wayland causes window size to grow
Product: [Plasma] kwin Reporter: Bernie Innocenti <bernie>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate
Priority: NOR    
Version: 5.16.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.17

Description Bernie Innocenti 2019-06-18 16:21:28 UTC
SUMMARY
The Tilix terminal emulator is a GTK3 application with client-side decorations. Like many terminals, it adjusts its window size to an even number of character cells.

Dragging a Tilix window works normally with KWin in X11, but has a surprising behavior in Wayland.


STEPS TO REPRODUCE
1. boot into a Plasma Wayland session
2. open Tilix (I have version 1.9.1, in case it matters)
3. drag it around from the title bar

OBSERVED RESULT
The Tilix window grows by a few dozen pixels every time you repeat step 2

EXPECTED RESULT
The window size shouldn't change

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.16.0
KDE Frameworks Version: 5.59.0
Qt Version: 5.13.0rc3-1

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2019-06-18 17:53:09 UTC
BTW Konsole in 19.08 (unreleased) will have the same tiling features. :)
Comment 2 Vlad Zahorodnii 2019-06-18 18:16:30 UTC
If I'm not mistaken, this bug is fixed in master (which means the fix will be available only in Plasma 5.17).
Comment 3 Nate Graham 2019-06-18 18:18:03 UTC
Is it easily backportable to the Plasma/5.16 stable branch?
Comment 4 David Edmundson 2019-06-18 18:19:17 UTC
>Is it easily backportable to the Plasma/5.16 stable branch?

No.
Comment 5 Bernie Innocenti 2019-06-27 15:45:34 UTC
In reply to Nate Graham from comment #1)
> BTW Konsole in 19.08 (unreleased) will have the same tiling features. :)

Yeah, can't wait!