Terminal windows disappear when external monitors connect

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

Bug Description

(I am not sure if xwayland is at fault or the session or window manager or the GNOME Terminal app. It happens under Wayland using gnome-session and gnome-shell.)

When I connect external monitors (via a Thunderbolt 4 dock), sometimes GNOME Terminal windows that stay on the primary display disappear. Using the Ubuntu dock, I can see the windows in the thumbnails when I click on the Terminal app, but when I click on the thumbnail, the terminal in the lower-right corner highlights as though it is the window that was clicked; the missing window does not reappear. When I unplug the monitors, the terminals are still gone, but if I click on the thumbnails, they restore, usually in the lower-right rather than the upper-left and upper-right corners they started in. It seems only to be these two windows that vanish, not the other four terminals I have on screen. Terminal borders are contained within the primary laptop screen, but they do sometimes overlap each other or other windows, and the transparent halos (or whatever they're called) that the window manager puts around them are sometimes off-screen. The windows are on the far right screen edge and on the left flush with the right edge of the dock, and both flush with the bottom edge of the Activities bar that runs across the top of the primary display.

Needless to say, my expected behavior is that they don't move or disappear when external monitors are connected, since they've never been pulled to external monitors, and that regardless, they appear when their thumbnails are clicked.

In the same or a possibly related problem, some windows, notably the Thunderbird appointment reminder list, get reduced to the tiniest possible size and put on an external monitor, when one is attached. This requires finding them (usually there is a piece of the title bar left) and stretching them out.

I use sloppy focus (follow pointer but keep last focused window when pointer is over background), if that matters.

GNOME Terminal 3.44.0 for GNOME 42.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xwayland 2:22.1.1-1ubuntu0.6
ProcVersionSignature: Ubuntu 6.2.0-32.32~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-32-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Sep 13 12:09:08 2023
InstallationDate: Installed on 2023-03-18 (178 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 <email address hidden>
 SHELL=/bin/bash
SourcePackage: xwayland
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Joe Harrington (joeharr) wrote :
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.