Gap between window decorations and body for applications and other glitches (Wayland, Fractional Scaling)
Affected version
Fedora Linux 38 (Workstation Edition) 64-bit, GNOME 44.5, Kernel 6.4.15-200.fc38.x86_64
Mutter 44.5
Bug summary
Some applications have a gap between their window decorations and the window itself. This includes FirefoxPWA windows (running with native title bar) and chromium and some electron apps forced to run under wayland (ozone platform flags) including Signal, VSCode, and Bitwarden.
Steps to reproduce
- Open one of the affected apps.
What happened
Sometimes, there is a transparent gap between the window body and decorations. There might also be a slight misalignment. This seems pretty random, but with the electron apps, it typically occurs when windowed, whereas with FirefoxPWAs, it only occurs when maximized. It is accompanied by other graphical glitches. There can be a slight horizontal misalignment, the window can appear slightly blurrier (but less blurry than xwayland), and tiling is inconsistent. Using keyboard shortcuts or drag-to-snap, windows sometimes split properly and have square corners (like in maximize), but other times, they keep their rounded corners and the graphical glitches or fail to cover the proper area.
What did you expect to happen
I expected the windows to display properly.
What did you expect Mutter to do? --> I expected mutter to display the windows properly.