[Bug 1827738] Re: Wrong X Window Map State

2019-05-07 Thread Bug Watch Updater
** Changed in: mutter Status: Unknown => New -- 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.

[Bug 1827738] Re: Wrong X Window Map State

2019-05-07 Thread Daniel van Vugt
Thanks. I think you will find IsViewable for iconic windows is an intentional design decision, even if not strictly compliant. But we will also wait and see what upstream says. ** Also affects: mutter via https://gitlab.gnome.org/GNOME/mutter/issues/589 Importance: Unknown Status: U

[Bug 1827738] Re: Wrong X Window Map State

2019-05-07 Thread tombert
Also the documentation you point to states: Once a client's window has left the Withdrawn state, the window will be mapped if it is in the Normal state and the window will be unmapped if it is in the Iconic state. I requested further clarification: https://gitlab.gnome.org/GNOME/mutter/issues/589

[Bug 1827738] Re: Wrong X Window Map State

2019-05-06 Thread Daniel van Vugt
But again that will only tell you if the window is iconified. If the window is both window state Iconic and map state IsViewable then the window is still required to redraw properly. Even in Ubuntu 18.04 this is necessary to support window previews when you right click on an icon in the dock. I'm

[Bug 1827738] Re: Wrong X Window Map State

2019-05-06 Thread Daniel van Vugt
> 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. Now that you mention it, maybe we don't need to log a mutter bug. If you want the iconified state of a window you jus

[Bug 1827738] Re: Wrong X Window Map State

2019-05-06 Thread Daniel van Vugt
To do the same in code you need to use: https://tronche.com/gui/x/xlib/window- information/XGetWindowProperty.html ** Changed in: mutter (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. ht

[Bug 1827738] Re: Wrong X Window Map State

2019-05-06 Thread Daniel van Vugt
My memory of X window management is a bit hazy, but I think the "Map State" and window state (one of which is "IconicState") are allowed to have different values for the same window. The window state including "IconicState" is defined in this spec: https://www.x.org/releases/X11R7.6/doc/xorg- d

[Bug 1827738] Re: Wrong X Window Map State

2019-05-06 Thread Olivier Tilloy
** Package changed: chromium-browser (Ubuntu) => xorg (Ubuntu) -- 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: ht

[Bug 1827738] Re: Wrong X Window Map State

2019-05-06 Thread Daniel van Vugt
** Package changed: xorg (Ubuntu) => mutter (Ubuntu) -- 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

[Bug 1827738] Re: Wrong X Window Map State

2019-05-04 Thread tombert
change package to xorg -- 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/