xterm resize is wonky
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mutter |
Fix Released
|
Unknown
|
|||
mutter (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned | ||
xterm (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
Groovy |
Invalid
|
Low
|
Unassigned | ||
Hirsute |
Invalid
|
Low
|
Unassigned |
Bug Description
[ Impact ]
When I try to resize an xterm window the same way,
this happens instead: as the mouse is moved, the upper-right corner
does move, but it doesn't track with the mouse pointer like it should.
Meanwhile, the lower-left corner also moves (it should have remained anchored in its original x-y position on the screen).
[ Test case ]
- Start Xterm
- Resize the window from its top/left corner
- It should resize normally, and not act as shown in
https:/
[ Regression potential ]
Windows resizing might not work correctly
---
% lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
% wmctrl -m
Name: GNOME Shell
Class: N/A
PID: N/A
Window manager's "showing the desktop" mode: OFF
Terms:
window has four sides: top, bottom, left, and right
when referring to corners, "upper" means "top", and "lower" means "bottom",
so the four corners are upper-right, lower-right, lower-left, and upper-left.
wonky: works wrong, as detailed below ("cases that work wrong...")
Description:
I can resize a gnome-terminal window, everything works fine.
(Grab it, using the mouse, by the upper-right corner (click-and-hold);
the size changes as the mouse is moved, because the position
of the upper-right corner follows the mouse. (Only the upper-right corner moves.))
But when I try to resize an xterm window the same way,
this happens instead: as the mouse is moved, the upper-right corner
does move, but it doesn't track with the mouse pointer like it should.
Meanwhile, the lower-left corner also moves (it should have remained anchored in its original x-y position on the screen).
Cases that work correctly:
If the xterm window is grabbed by the lower-right corner and resized, this case works properly.
If the xterm window is grabbed by the bottom edge and resized, this case works properly.
If the xterm window is grabbed by the right edge and resized, this case works properly.
Cases that work wrong ("wonky"):
If the xterm window is grabbed by the left edge and resized, then the opposite (i.e. right) edge (incorrectly) migrates.
If the xterm window is grabbed by the top edge and resized, then the opposite (i.e. bottom) edge (incorrectly) migrates.
If the xterm window is grabbed by the upper-right corner and resized, then the window (incorrectly) migrates.
If the xterm window is grabbed by the lower-left corner and resized, then the window (incorrectly) migrates.
If the xterm window is grabbed by the upper-left corner and resized, then the window (incorrectly) migrates.
ProblemType: BugDistroRelease: Ubuntu 20.04
Package: xterm 353-1ubuntu1
ProcVersionSign
Uname: Linux 5.4.0-29-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 440.64 Fri Feb 21 01:17:26 UTC 2020
GCC version:
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: GNOME
Date: Tue May 12 13:52:47 2020
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
GraphicsCard:
NVIDIA Corporation GK107 [GeForce GT 740] [10de:0fc8] (rev a1) (prog-if 00 [VGA controller])
Subsystem: PNY GK107 [GeForce GT 740] [196e:109a]
InstallationDate: Installed on 2020-05-06 (6 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: To be filled by O.E.M. To be filled by O.E.M.
ProcKernelCmdLine: BOOT_IMAGE=
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/23/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0705
dmi.board.
dmi.board.name: M5A99X EVO
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: To be filled by O.E.M.
dmi.product.sku: To be filled by O.E.M.
dmi.product.
dmi.sys.vendor: To be filled by O.E.M.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.101-2
version.
version.
version.
version.
version.
version.
version.
version.
affects: | xterm (Ubuntu) → mutter (Ubuntu) |
Changed in xterm (Ubuntu): | |
status: | New → Confirmed |
Changed in mutter (Ubuntu): | |
status: | Confirmed → Triaged |
affects: | xterm → mutter |
Changed in mutter (Ubuntu): | |
importance: | Undecided → Low |
Changed in xterm (Ubuntu): | |
importance: | Undecided → Low |
status: | Confirmed → Triaged |
Changed in xterm (Ubuntu): | |
status: | Triaged → Invalid |
Changed in mutter (Ubuntu): | |
status: | Triaged → Fix Committed |
tags: | added: fixed-in-3.38.2 fixed-upstream |
description: | updated |
Changed in mutter (Ubuntu): | |
status: | Fix Committed → In Progress |
Changed in mutter (Ubuntu Groovy): | |
importance: | Undecided → Low |
status: | New → In Progress |
Changed in xterm (Ubuntu Groovy): | |
importance: | Undecided → Low |
status: | New → Invalid |
no longer affects: | mutter (Ubuntu) |
no longer affects: | mutter (Ubuntu Groovy) |
Changed in mutter (Ubuntu): | |
status: | New → In Progress |
Changed in mutter: | |
status: | Unknown → Fix Released |
Workaround exists, obviously:
Resize the xterm from the lower-right corner, or ...
after resizing (with "wonky" effects), move the xterm back where you want it.