Bug 445198

Summary: Overview effect crashes on first start if there are no windows
Product: [Plasma] kwin Reporter: Bharadwaj Raju <bharadwaj.raju777>
Component: effects-overviewAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: nate
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Backtrace

Description Bharadwaj Raju 2021-11-09 11:15:11 UTC
Created attachment 143366 [details]
Backtrace

SUMMARY
If I try to open the overview effect on a freshly started system (no windows open yet), KWin crashes.

If I open a window then open overview, then close that window, overview starts working properly even though there are again no windows open.

STEPS TO REPRODUCE
1. Start kwin_wayland fresh with no windows
2. Try opening the overview effect

OBSERVED RESULT
KWin crash, backtrace attached.

EXPECTED RESULT
An empty overview should be displayed.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
This is on Wayland.

HARDWARE
GPU: Mesa DRI Intel G41 (this is a pretty old GPU, so maybe something to do with that?)
Comment 1 Nate Graham 2021-11-24 17:41:57 UTC
Cannot reproduce with today's git master. Can you?
Comment 2 Bharadwaj Raju 2021-11-26 09:19:05 UTC
Yes, it's fixed on master.