Bug 443508 - Hiding a window's border causes it to turn black
Summary: Hiding a window's border causes it to turn black
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.22.5
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-09 07:31 UTC by Om
Modified: 2021-10-19 13:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.23
Sentry Crash Report:


Attachments
Konsole turning black upon hiding its border (3.29 MB, video/mp4)
2021-10-09 07:31 UTC, Om
Details
Dolphin turning black upon hiding its window border (2.78 MB, video/mp4)
2021-10-09 07:32 UTC, Om
Details
Inkscape turning black upon hiding its border (1.29 MB, video/mp4)
2021-10-09 07:33 UTC, Om
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Om 2021-10-09 07:31:34 UTC
Created attachment 142274 [details]
Konsole turning black upon hiding its border

SUMMARY
Recently, whenever a window's border is hidden (or restored), the entire window turns black. This started to occur only during the past few months. As can be observed in the attached screen-captures, the window could be reviewed only after performing a minimize/restore or a maximize/restore operation. This observation was made while using KDE in X11.

STEPS TO REPRODUCE
1. Open a window.
2. Hide the window border (either by right-clicking on the title bar or pressing Alt+F3 and selecting "More Actions > No Border"). Window observed to turn black.
3. Minimize and restore the window through its icon on the panel. Window content is visible again.
3.1. Alternately, maximize and restore the window by using the shortcuts Meta+PgUp and Meta+PgDn to make the window content visible again.

4. Now, unhide the window border (by pressing Alt+F3 and deselecting "More Actions > No Border"). Window (except the title bar) turns black again.
5. Repeat either step 3 or 3.1 to make the window content visible again.

OBSERVED RESULT
A visible window turns black upon hiding/unhiding the window's border.

EXPECTED RESULT
Window content should have been visible instead.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
NVIDIA driver version: 470.74
Comment 1 Om 2021-10-09 07:32:29 UTC
Created attachment 142275 [details]
Dolphin turning black upon hiding its window border
Comment 2 Om 2021-10-09 07:33:36 UTC
Created attachment 142276 [details]
Inkscape turning black upon hiding its border
Comment 3 Nate Graham 2021-10-18 02:01:34 UTC
Can you upgrade to Plasma 5.23 and see if it still happens in that version? Thanks!
Comment 4 Om 2021-10-18 18:27:52 UTC
Seems like this problem has been resolved in v5.23. Thank you for taking note.
Comment 5 Nate Graham 2021-10-19 13:28:19 UTC
Nice!