Restoring edge tiled windows on Wayland shrinks them
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mutter |
Fix Released
|
Unknown
|
|||
mutter (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm running Ubuntu 18.04 with a vanilla GNOME session under Wayland (the issue presents with the default Ubuntu session too). I've encountered this issue with applications that use Client-Side window decorations, which is most of the GNOME applications. Windows with borders drawn through the window manager do not have this issue.
Steps to reproduce:
1. Open an application that uses client-side decorations, e.g. gnome-terminal.
2. Edge tile the window by snapping the window to the left or right screen edge via dragging or Super+left/right keyboard shortcut.
3. Unsnap the window to restore it to its non-tiled state.
Expected behaviour:
The position and dimensions of the window after undoing the edge tiling should be restored to exactly what it was prior to tiling.
Observed behaviour:
Every time the window is unsnapped from the edge, its size gets smaller. Repeating it over and over will lead to it eventually shrinking to the minimum possible size.
I've found this issue only with client-side decorated windows, and only while restoring from split view / edge tiling. Restoring from a normal maximized state is ok.
affects: | gtk → mutter |
summary: |
- Restoring edge tiled windows with client-side decorations shrinks them - (Wayland) + Restoring edge tiled windows on Wayland shrinks them |
tags: | added: bionic |
Changed in mutter: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in mutter (Ubuntu): | |
status: | Incomplete → Fix Released |
Changed in mutter: | |
status: | Unknown → Fix Released |
The bug shows up only in a Wayland session. The behaviour is normal under Xorg. Quite possibly an issue with GTK+, which is improperly handling the sizing of client-side decorated windows when tiling/untiling them.