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

            Bug ID: 435407
           Summary: Present Windows kills animations/compositor when last
                    window is closed; only happens with "Regular Grid" and
                    Flexible Grid"; "Natural" layout doesn't have this bug
           Product: kwin
           Version: 5.21.3
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: effects-present-windows
          Assignee: kwin-bugs-n...@kde.org
          Reporter: windows2li...@zoho.com
  Target Milestone: ---

SUMMARY
When using the Present Windows effect, closing the last window crashes the
compositor and disables all animations, rather than gracefully returning to the
desktop view (which is expected when there are no more windows to close.)
Strangely, invoking the Present Windows effect *again* will return animations!
Weird.




STEPS TO REPRODUCE:
1. Under the Present Windows effect, change it to use "Regular Grid" or
"Flexible Grid" for the "Layout mode" option

2. Open a few windows.

3. Invoke the Present Windows effect, and close each window, one by one, until
none are left

4. After all windows are closed, the effect "ends" and you return to your
desktop, but...

5. Animations are disabled!

6. Open a few windows

7. Invoke the Present Windows effect

8. End the effect (without closing any windows)

9. Tada! Animations are enabled again!




EXPECTED RESULT:
The effect should end when all windows are closed, and return you to the
desktop. It should not disable animations / crash the compositor.




STEPS THAT AVOID THIS BUG:
1. Under the Present Windows effect, change it to use "Natural" for the "Layout
mode" option

2. Open a few windows

3. Invoke the Present Windows effect, and close each window, one by one, until
none are left

4. After all windows are closed, the effect "ends" and you return to your
desktop, and...

5. Everything is normal! Compositor didn't crash! Animations are not disabled!
ALL IS GOOD IN THE WORLD!




ADDITIONAL NOTES:
This bug *never* occurs if "Natural" is selected for the "Layout mode" (under
the Present Window settings).

I tested this with the open source nouveau driver and the proprietary nvidia
driver. Same result with either one.



SOFTWARE/OS VERSIONS:
Operating System: Manjaro Linux
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.10.23-1-MANJARO
OS Type: 64-bit
Graphics Platform: X11
Processors: 6 × Intel® Core™ i5-8400 CPU @ 2.80GHz
Memory: 11.6 GiB of RAM
Graphics Processor: GeForce GTX 1650/PCIe/SSE2

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

Reply via email to