How to enable system title bar in Chrome to make it visible on every workspace?

Starting two days ago (9/22/21) on both of my Kubuntu machines Chrome no longer displays system title bars and borders. The option in settings is enabled. Disable/re-enable/reboot hasn't fixed it. All other applications display this correctly.

chrome

My machines are both Kubuntu. lsb_release -a says Ubuntu 20.04.3 LTS. Chrome is 94.0.4606.61.

I've received no responses on the KDE-users list. On the Gentoo list the one person who responded said he also didn't have the system title bar but when he reenabled the feature and for him it works.

Using the system title bar allows Chrome to be pinned to all virtual desktops which I need for media. In the immediate term I'm using Firefox for that purpose but would prefer to use Chrome.

Thanks in advance.

Chrome with Appearance & Fix setting

6

4 Answers

Per Google this is a new issue from 94

From Reddit, here is a (temporary) quick fix:

  • Ensure that "Use system title bar and borders" is set
  • Go to chrome://flags
  • Find the "use-ozone-platform" setting and change it from "default" to "disabled"
  • Relaunch Chrome
2

Solution

Right click on the Chrome title bar, and check Use system title bars and borders (I tested this on Chromium in XFCE, but it should work on Chrome in KDE too).

solution Before enabling title bar

Now the title bar is there, and you can make it visible in every workspace.

after After enabling title bar


Background

Chrome is a GTK app. Like most other GTK apps it switched to CSD (client side decoration) in the recently released version 94. Now it draws its own title bar, instead of using the title bar provided by KDE Plasma.

10

Google Chrome beta works OK so hopfully when it migrates to stable this fault will be gone.

1

My answer is specifically for KDE but I suspect other desktop environments has similar capabilities.

SystemSettings->Shortcuts->KWin->Keep Window on All Desktop

and program it to something. I chose Meta+a (Windows key and a for 'all')

It appears to work for all app and it's a toggle.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like