Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: The outline does not work in certains apps. #152

Open
andrei93r opened this issue Sep 2, 2024 · 6 comments
Open

BUG: The outline does not work in certains apps. #152

andrei93r opened this issue Sep 2, 2024 · 6 comments

Comments

@andrei93r
Copy link

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?

@Yasand123
Copy link

Yasand123 commented Sep 9, 2024

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.

@BbIXOD
Copy link

BbIXOD commented Sep 19, 2024

How can I force decorations for those windows?

@Yasand123
Copy link

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.

@rmelendezz
Copy link

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.

@Yasand123
Copy link

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.

@hazel-bunny
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants