Window decorations missing with Snap build on KDE #7439
Replies: 4 comments 16 replies
-
|
Which Plasma version are you using? IIRC this was a bug on Plasma 6.1 that I never quite figured out how to reproduce Do tip builds have the same bug? |
Beta Was this translation helpful? Give feedback.
-
|
Occurs also with 1.2.0 snap. |
Beta Was this translation helpful? Give feedback.
-
|
Same problem here. Compiling from source fixes the problem. System info
This was also a problem on kubuntu 25.04 and KDE Plasma 6.4 which I was running last week. |
Beta Was this translation helpful? Give feedback.
-
|
This issue seems to be caused by a bug in a gtk / wayland library in core24 base of the snap - not by ghostty itself. The bug also occurs on Plasma Wayland session in Kubuntu 24.04.3 LTS with the .deb build. I have a workaround that enables server side decorations for the snap build. However more work probably needs to be done to include it in the snap distribution. The difference between a from source / .deb ghostty behaviour and a snap ghostty behaviour is that the snap version requests two window decoration objects, instead of one. The first one being the client side decoration. This can be seen in wayland debug log: Snap (core24 - BROKEN): Deb (Ubuntu 25.10 - WORKING): The workaround consists of a single library that has to be preloaded before the ghostty from snap starts. This library blocks the initial call for client side decorations and lets only the server side requests pass. When this fix is applied then server side decorations work. The launcher script takes ghostty configuration properties into account so only when server side decorations are configured the workaround is activated. The workaround is available in my branch, with further documentation: Disclaimer: The identification of the issue, debugging and coding of the workaround was done by GitHub Copilot. I only guided the process and had it test some ideas, otherwise all other work was done by AI. Note: The snap build failed for the 1.2.x branch because one of the required theme files is not available anymore and blueprint compiler for some reason did not execute correctly. My branch contains fixes for the blueprint compiler and skips the themes emiting by using the -Demit-themes=false flag. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
Using the 1.1.3 snap on kubuntu 25.04 and Plasma 6, I do not get any window decorations - no matter what value I use for
window-decoration. This is not the case when I build ghostty from source usingzig build -Doptimize=ReleaseFast. I have observed this for a while and it was already like that with kubuntu 24.04.The following self built binary works and shows window decoration as expected.
This snap store binary does not display window decoration.
Console output looks very similar and I did not see anything suspicious with the snap.
Expected Behavior
Window decoration displayed.
Actual Behavior
I do not see any window decorations using the snapstore binary.
Reproduction Steps
Ghostty Logs
No response
Ghostty Version
Additional Relevant Configuration
No response
I acknowledge that:
```) on separate lines.Beta Was this translation helpful? Give feedback.
All reactions