Bug 447082

Summary: KWin 5.23.3 regression on Intel: Black screen when putting on/taking off full screen a previously maximized window
Product: [Plasma] kwin Reporter: p.g.richardson
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, xaver.hugl
Priority: NOR Keywords: regression
Version First Reported In: 5.23.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description p.g.richardson 2021-12-16 16:20:11 UTC
SUMMARY
Black screen when putting on/taking off full screen a previously maximized window.

STEPS TO REPRODUCE
1. Open VLC or firefox and maximize
2. Start playing a video 
3. Click fullscreen

OBSERVED RESULT
Black screen

EXPECTED RESULT
Full screen window

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
Operating System: Fedora Linux 35
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.6-200.fc35.x86_64 (64-bit)
Graphics Platform: X11
Graphics Processor: Mesa IntelĀ® HD Graphics 630

ADDITIONAL INFORMATION
This has the same behaviour and workarounds as https://bugs.kde.org/show_bug.cgi?id=441904, ie. if the window is NOT maximized then making full screen works correctly.
Later version of kwin than 441904.
Modfying the desktop effects or changing the version of the compositor does make a difference.
Comment 1 Nate Graham 2022-09-08 15:08:53 UTC
Cannot reproduce with git master using the same GPU in the X11 session. Are you able to reproduce this issue in Plasma 5.25 or later?
Comment 2 p.g.richardson 2022-09-08 15:19:07 UTC
(In reply to Nate Graham from comment #1)
> Cannot reproduce with git master using the same GPU in the X11 session. Are
> you able to reproduce this issue in Plasma 5.25 or later?

Updated to 5.25 and both vlc and firefox appear fine now.
Comment 3 p.g.richardson 2022-09-08 15:20:16 UTC
By the way, thanks for looking into it.