klassy icon indicating copy to clipboard operation
klassy copied to clipboard

BUG: The outline does not work in certains apps.

Open andrei93r opened this issue 1 year ago • 6 comments

Hi,

This might be my fault , however I the outline does not work on chrome, firefox and maybe other.

Is there a solution that I missied?

andrei93r avatar Sep 02 '24 15:09 andrei93r

That's because those have their own client side decorations. And if you try to force it anyway, the outline will be around the drop shadow of the window, not around the window itself. So this is why KDE Plasma disables its own Window decorations for non Qt apps by default. I still force it for apps like VSCodium and Obsidian and it works nicely. But it's per app whether it will look proper or broken. Firefox will look broken, so I don't force it. I just have to deal with the lack of window outline.

Yasand123 avatar Sep 09 '24 14:09 Yasand123

How can I force decorations for those windows?

BbIXOD avatar Sep 19 '24 09:09 BbIXOD

How can I force decorations for those windows?

  1. Window Rules in the settings
  2. Write the app name in the Window class [Exact Match] field. Like VSCodium or obsidian for example (case sensitive)
  3. Add a property, pick No title and frame [Apply Initially] and set it No

This should force Plasma's window decorations. But it will have the titlebar by default. To remove the titlebar, go to Color & Themes --> Window Decorations --> Edit the theme you use --> Window-Specific Overrides. Then add a new override, click on "Detect Window Properties..." and click on the application you want to edit like VSCodium for example, and just check "Hide window titlebar".

That is all.

Yasand123 avatar Sep 19 '24 20:09 Yasand123

How can I force decorations for those windows?

1. Window Rules in the settings

2. Write the app name in the `Window class` [Exact Match] field. Like `VSCodium` or `obsidian` for example (case sensitive)

3. Add a property, pick `No title and frame` [Apply Initially] and set it No

This should force Plasma's window decorations. But it will have the titlebar by default. To remove the titlebar, go to Color & Themes --> Window Decorations --> Edit the theme you use --> Window-Specific Overrides. Then add a new override, click on "Detect Window Properties..." and click on the application you want to edit like VSCodium for example, and just check "Hide window titlebar".

That is all.

Thanks for this, I was able to remove the Title Bar but the Outline still wont show up. I am guessing this has to do with me having a NVIDIA card on my laptop.

rmelendezz avatar Sep 27 '24 07:09 rmelendezz

Thanks for this, I was able to remove the Title Bar but the Outline still wont show up. I am guessing this has to do with me having a NVIDIA card on my laptop.

I have an Nvidia GPU as well. It should work. Follow the steps carefully. Try different applications.

Yasand123 avatar Sep 27 '24 11:09 Yasand123

How can I force decorations for those windows?

Chrome and most chromium based browsers: right click on an empty area in the tab bar and click on "Use systemtitle bar and borders"

Firefox and most firefox based browsers: go to customize from the ≡ menu and uncheck "Title bar" on the bottom left

Other gtk3 apps: Use gtk3-classic

hazel-bunny avatar Oct 31 '24 08:10 hazel-bunny

This isn't something that Klassy can fix easily

paulmcauley avatar May 07 '25 00:05 paulmcauley