SRU: metacity crashes while minimizing a windows that has undocked child
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
metacity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Mustafa Kemal Gilor | ||
Jammy |
Fix Released
|
Undecided
|
Mustafa Kemal Gilor |
Bug Description
[General information about the SRU]
* It includes the fix for the bug https:/
* The fix is already included in 3.46.0 release: https:/
* The reproducer also revealed another issue with docked windows, undocked windows are not being restored after parent window is minimized and restored
* The fix for restore is included in 3.46.1 release: https:/
* Focal(3.36.1) and Jammy (3.44.0) needs both fixes to be backported
[Impact]
This affects users using applications that have docked windows
[Test Case]
* Install gnome-session-
* Start a graphical session with metacity
* run python3 Untitled.py
* Undock one of the application's child windows
* Minimize main window
* Result: Metacity will crash
* Fix: install fix from ppa:
* sudo add-apt-repository ppa:mustafakema
* sudo apt update
* sudo reboot # or alternatively, restart display manager
* run python3 Untitled.py
* Undock one of the application's child windows
* Minimize main window
* Expectation: it should not crash and the application should be minimized.
[Regression Potential]
The fix is small in size and localized, it should not cause any regressions.
-------
Bug Version: 1:3.36.1-1 / 1:3.44.0-1
Metacity is running without the composite manager.
Users cannot minimize an application with an undocked child window
ProblemType: Bug
DistroRelease: Ubuntu 20.04 / Ubuntu 22.04
Package: metacity 1:3.36.1-1 / 1:3.44.0-1
ProcVersionSign
Uname: Linux 4.4.0-24-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Related branches
- Dmitry Shachnev: Pending requested
-
Diff: 282 lines (+250/-0)5 files modifieddebian/changelog (+9/-0)
debian/patches/0001-add-meta-window-is-focusable.patch (+69/-0)
debian/patches/0002-focus-only-ancestors-that-are-focusable.patch (+74/-0)
debian/patches/0003-remove-extra-unmap-events-window-and-serial.patch (+95/-0)
debian/patches/series (+3/-0)
- Dmitry Shachnev: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 282 lines (+250/-0)5 files modifieddebian/changelog (+9/-0)
debian/patches/0001-add-meta-window-is-focusable.patch (+69/-0)
debian/patches/0002-focus-only-ancestors-that-are-focusable.patch (+74/-0)
debian/patches/0003-remove-extra-unmap-events-window-and-serial.patch (+95/-0)
debian/patches/series (+3/-0)
description: | updated |
description: | updated |
Changed in metacity (Ubuntu Focal): | |
status: | New → In Progress |
Changed in metacity (Ubuntu Jammy): | |
status: | New → In Progress |
Reproducer script: