Bug 470579 - missing window decoration when using chrome apps
Summary: missing window decoration when using chrome apps
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.27.5
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-03 09:39 UTC by m.wege
Modified: 2023-06-05 18:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot (2.09 KB, image/png)
2023-06-03 09:39 UTC, m.wege
Details

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2023-06-03 09:39:40 UTC
Created attachment 159431 [details]
Screenshot

Chrome has so-called "Chrome apps" which can be installed on some websites.  Basically, they are websites in an independent window which can be started independent off chrome itself from Kickoff or Krunner. Unfortunately they lack the window decoration which I believe is normally provided by kwin/KDE. It has an independent window decoration which not only looks different. But also does not have all the features the kwin/KDE decoration has (e.g. I have configured my kwin/KDE decoration to have an item to always keep a window on top). 

I assume this problem also affects other chromium-based browsers like Opera, Edge and Chromium.
Comment 1 Nate Graham 2023-06-05 15:36:43 UTC
Apps are allowed to opt out of the KWin-provided SSD titlebar and draw their own CSD one, so  I'm afraid this is a Chrome issue. I believe you can actually turn off the feature somewhere in Chrome and get an SSD titlebar back, though. Either way, not a KDE issue.
Comment 2 m.wege 2023-06-05 18:27:43 UTC
Hmm, if this can be done already. Couldn't this then be an issue for the KDE_plasma-Integration addon for Chrome? If so, could you reassign, instead of closing?
Comment 3 Nate Graham 2023-06-05 18:31:21 UTC
Switching from CSD mode to SSD mode is something that's out of scope for the browser integration feature. A lot of people like their browsers to use CSD mode; this is really a personal preference.