Public bug reported:

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://lesstif.sourceforge.net/doc/super-ux/g1ae04e/chap3-2.html)
"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)
     Importance: Undecided
         Status: New


** Tags: bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1827738

Title:
  Wrong X Window Map State

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1827738/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to