https://bugs.kde.org/show_bug.cgi?id=356909

            Bug ID: 356909
           Summary: Virtual desktop switcher shows minimized windows when
                    setting "Keep window thumbnails" to "Always" in KWin
           Product: plasmashell
           Version: 5.4.2
          Platform: Debian testing
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Pager
          Assignee: plasma-b...@kde.org
          Reporter: alexander-...@xmine128.tk

See "Steps to Reproduce" and "Additional Information"…

Reproducible: Always

Steps to Reproduce:
1. Make sure the "Pager" is present on the plasma shell somewhere and that you
are using "KWin" as window manager
2. Minimize some window (preferably on an otherwise empty virtual desktop) and
observe it disappearing from the "Pager" display
3. Open the "System settings" (from KDE 5)
4. Navigate to "Display and Monitor" → "Compositor"
5. Change the setting "Keep window thumbnails" to "Always"
6. Click "Apply"

Actual Results:  
The minimized window is displayed in the "Pager" display as if it weren't
minimized (but it's actually not visible when switching to that virtual
desktop).

Expected Results:  
The minimized window should be display in the "Pager" preview area. Changing
the "Keep window thumbnails" setting should not have any effect.

Using "xprop" and "diff" on the window in question, the following observations
were made:

When disabling window thumbnails for minimized windows, the minimized window
has its window state set to "Iconic"; when enabling window thumbnails for
minimized windows it's window state is always "Normal" and does change (whether
you minimize it or not).

Minimized windows always receive the additional "_NET_WM_STATE_HIDDEN" window
manager state flag. This is behaviour is not influenced by the "keep window
thumbnails" settings.

My (educated) guess therefor is that "Pager" only checks whether a window's
state is "Iconic" or not to determine whether it should be displayed as part of
the preview or not. It does not, however, also check for the
"_NET_WM_STATE_HIDDEN" atom to determine whether a window really is visible or
not.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to