Bug 514042

Summary: Harmless warning: Attempted creation of invalid surfaces for some decorations
Product: [Plasma] kwin Reporter: Steve Cossette <farchord>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: kde, nate
Priority: VLO    
Version First Reported In: 6.5.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Steve Cossette 2026-01-01 13:58:53 UTC
So, I would like to preface this with the following: This error doesn't happen with the default breeze KDE Theme. In my case, I use the MacSonoma/MacSonoma Dark themes from https://github.com/vinceliuice/MacSonoma-kde (I have installed it from KDE's own themes portal).

Once the theme is installed, for me, all I need to do to get the error is to minimize and maximize specific apps. At first, it looked like it happened only with electron-based apps, but it looks like it happens with Konsole too.

Essentially:

1- Install the MacSonoma custom theme
2- Open Konsole, and minimize/maximize it. Simply look at system logs to see the errors.

This is the specific error I get:

```
Jan 01 08:48:05 fedora kwin_wayland[2254]: 0x3: GL_INVALID_VALUE in glTexStorage2D(width, height or depth < 1)
Jan 01 08:48:05 fedora kwin_wayland[2254]: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Jan 01 08:48:05 fedora kwin_wayland[2254]: Failed to create an offscreen framebuffer
```
Comment 1 David Edmundson 2026-01-01 16:42:44 UTC
Are there any issues or just this warning?
Comment 2 Steve Cossette 2026-01-01 17:46:03 UTC
No visible issues aside from the warning. Thought I'd report it anyway.
Comment 3 David Edmundson 2026-01-01 22:13:22 UTC
ack, thanks