maximized xwayland windows shift by 1 pixel when on top vs/ not on top

Bug #1997480 reported by Joe Barnett
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xwayland (Ubuntu)
New
Undecided
Unassigned

Bug Description

on kinetic with a gnome wayland session, maximized X apps on the secondary screen run through xwayland appear to move position by ~ 1 pixel when they are on top vs/ not on top. running w/ 2 monitors, primary @ 175% scaling, secondary @ 100% scaling

minimal example:
maximize xterm and have it be the top window on secondary screen. open another window on the primary screen. drag it over to the secondary screen to overlap the xterm and see the window border jump by ~1 pixel

actual example that is more noticable:
maximize an intellij/pycharm/other jetbrains product and have it be the top window on the secondary screen. hover over something that creates a popup (eg a folder in the left project tree pane with a name long enough to get cut off) and see the whole IDE dance around.

ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: xwayland 2:22.1.3-2
ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7
Uname: Linux 5.19.0-23-generic x86_64
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME
Date: Tue Nov 22 10:50:47 2022
InstallationDate: Installed on 2019-08-17 (1193 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190305.1)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: xwayland
UpgradeStatus: Upgraded to kinetic on 2022-09-22 (60 days ago)

Revision history for this message
Joe Barnett (thejoe) wrote :
Revision history for this message
Joe Barnett (thejoe) wrote :

I've also noticed that the crash in https://bugzilla.mozilla.org/show_bug.cgi?id=1790496 gets triggered by the 1pixel shift, even when sharing the full desktop screen.

Revision history for this message
Joe Barnett (thejoe) wrote :

i think this is maybe fixed in lunar? seems better at least with initial testing

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.