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

            Bug ID: 459244
           Summary: "No Windows" label does not show up for "Window class
                    on current desktop" when there are no non-minimized
                    windows
    Classification: Unclassified
           Product: kwin
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: effects-present-windows
          Assignee: kwin-bugs-n...@kde.org
          Reporter: m...@ratijas.tk
  Target Milestone: ---

SUMMARY

WindowView effect's implementation binds this label's visibility to `heap.count
=== 0`, where `count` is a window heap's an alias to its Repeater::count
property. Instead it should be kind of a visibleCount: something like a
children and visibleChildren duo in Items.

STEPS TO REPRODUCE
1. Open at least one window on a desktop.
2. Minimize all windows.
3. Activate "Toggle Present Windows (Window class on current desktop)" action
(Ctrl+F7 by default).

OBSERVED RESULT
Empty blurred screen.

EXPECTED RESULT
Placeholder with text "No Windows".

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE: git-master
Qt Version: 5.15.6
Kernel Version: 5.19.8-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: G752VT
System Version: 1.0

ADDITIONAL INFORMATION
Note: Ctrl+F7 mode seems to be using special filtering technique, which is why
this glitch isn't present (har har) in other flavors of this effect.

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

Reply via email to