Wrong X Window Map State
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mutter |
New
|
Unknown
|
|||
mutter (Ubuntu) |
Opinion
|
Low
|
Unassigned |
Bug Description
Testet on Ubuntu 18.04.02 LTS
Use [xwininfo] and e.g. [emacs] or [terminal] to test for map state.
Call [xwininfo] and click on the open terminal window:
xwininfo: Window id: 0x2c04847 "tombert@bionic: ~"
Absolute upper-left X: 741
Absolute upper-left Y: 94
Relative upper-left X: 10
Relative upper-left Y: 38
Width: 734
Height: 458
Depth: 32
Visual: 0x2a0
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x2c00005 (not installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +741+94 -261+94 -261-808 +741-808
-geometry 80x24+731+56
Now iconify the terminal and call: [xwininfo -id 0x2c04847]
The "Map State" is still "IsViewable" when it should be unmapped.
The reference I found:
(http://
"3.4.2.5 Iconify and Deiconify
A top-level window that is not Withdrawn will be in the Normal state if it is mapped and in the Iconic state if it is unmapped. This will be true even if the window has been reparented; the window manager will unmap the window as well as its parent when switching to the Iconic state."
The big problem is that graphical applications cannot distinguish their current state.
If this is not a bug, then please give advice in how to query the iconified state.
Best Regards
affects: | chromium-browser (Ubuntu) → xorg (Ubuntu) |
affects: | xorg (Ubuntu) → mutter (Ubuntu) |
Changed in mutter: | |
status: | Unknown → New |
change package to xorg