Summary: | Virtual desktop switcher shows minimized windows when setting "Keep window thumbnails" to "Always" in KWin X11 | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kwindowsystem | Reporter: | Erin Yuki Schlarb <erin-kde> |
Component: | general | Assignee: | Martin Flöser <mgraesslin> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | kde, kde, kdelibs-bugs-null |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Erin Yuki Schlarb
2015-12-19 12:41:01 UTC
thanks Re-assigning to KWindowSystem as the Pager does check for isMinimized() which should work even if the window is not "technically" minimized? Otherwise we could just add an additional info.hasState(NET::Hidden) check. When selecting "Always" a message pops up telling you that this option interferes with the minimized state of the window. One of the results is that a window is considered to not be minimized. There is nothing we can do about that in Pager and or taskbar. > There is nothing we can do about that in Pager and or taskbar. Yes, there *is* something you can do: You can check for "_NET_WM_STATE_HIDDEN". That's why you set that atom, right? > When selecting "Always" a message pops up telling you that this option interferes with the minimized state of the window. One of the results is that a window is considered to not be minimized. Also "interferes with the minimized state of windows" tells me: The window might continue to draw/render/… while it's minimized, not that the pager will *incorrectly* report it as not being minimized. Please, revise your decision, thanks. Martin Gräßlin: Could you please explain to me why KWin sets the _NET_WM_STATE_HIDDEN atom, if even you yourself refuse to make use of it? Martin Gräßlin: Your argument "there is nothing we can do" is *definitely* not true, however (after thinking it through once more) your argument is probably that: "Since X doesn't believe the window to be minimized, we won't 'lie' to applications (that might expect `.isMinimized()` == Window state Iconic) by also checking for `_NET_WM_STATE_HIDDEN`". I don't know whether I'm on the right track here, of course, since you've been ignoring me, … Was your actual message: "If an application *really* wants to know whether a window is visible (for the user) it has to check for `_NET_WM_STATE_HIDDEN` itself." ? Should the `info.hasState(NET::Hidden)` check proposed by Kai be implemented? Yours faithfully, Alexander Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved. While I believe that this issue still persists on X11, it never existed on Wayland so it'll eventually completely fix itself. :-) |