+/- geometry offsets don't work under Wayland

Bug #1972133 reported by Steve Langasek
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xwayland (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When using the default wayland-based session in Ubuntu 22.04, trying to use +/- to control window placement doesn't work. E.g. the following should give me a gnome-terminal window in the lower-right corner of the screen:

  gnome-terminal --geometry -0-0

It does not; instead it stacks it with a window position just slightly down from and to the left of the previous window.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xwayland 2:22.1.1-1
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sun May 8 18:14:34 2022
InstallationDate: Installed on 2019-12-23 (867 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
SourcePackage: xwayland
UpgradeStatus: Upgraded to jammy on 2022-04-15 (23 days ago)

Revision history for this message
Steve Langasek (vorlon) wrote :
Revision history for this message
Geert Uytterhoeven (geert-linux-m68k) wrote :

GNOME-TERMINAL(1) says:

       --geometry=GEOMETRY
           Set the window size as COLSxROWS+X+Y. For example, 80x24 or
           80x24+200+200.

When run under Wayland, only "COLSxROWS" are honoured, "+X+Y" are not.
When run under Xorg, everything works as expected.

I have a script that creates tens of windows and tabs at predefined positions, which now needs manual repositioning.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xwayland (Ubuntu):
status: New → Confirmed
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.