I'm using Xubuntu 20.04. When I am trying to maximize google chrome, the maximize button, minimize button and the close button get above the visible screen area. 
7 Answers
This is not a fix for the problem, but here's what I've done on my one workstation to remove the title bar from above Chrome 95 when it's maximized in XFCE.
- In Chrome, enable the
Use system title bar and bordersoption. - In the XFCE Window Manager Tweaks, enable the
Hide title of windows when maximized. - In apps that have optional CSD, enable it. In an app like VS Code you would change the
Window: Title Bar Stylesetting tocustom. - Learn to live with the fact that some apps (MySQL Workbench, Thunderbird, etc.) now don't have min/max/close buttons in the window title bar anymore when they're maximized. Personally, I can do that all with the keyboard shortcuts so I don't mind too much.
My main takeaways:
- I appreciate the extra vertical space that this setup gives me in other apps.
- It helps me towards using the keyboard for all window management.
- If I happen to be holding the mouse and I want to do things, I can always use a windows taskbar item to min/max/close it.
Before I tried the little experiment above, I did some research to find out what is actually going on with Chrome. Here is what happened: They switched off their custom X11 window management code in favor of using a library called Ozone which handles all the window management features for them.
Here are all the links I collected reading about this:
- https://bbs.archlinux.org/viewtopic.php?pid=1990969
- https://bbs.archlinux.org/viewtopic.php?id=244031&p=22
- https://twitter.com/maksim_sisov/status/1431272534356471964
- https://piunikaweb.com/2021/09/23/google-chrome-94-use-system-title-bar-and-borders-checkbox-broken/
- https://support.google.com/chrome/thread/127138612/use-system-title-bar-and-borders-broken-in-google-chrome-94-please-repair?hl=en&msgid=127842587
- https://www.phoronix.com/forums/forum/software/desktop-linux/1275863-chrome-chromium-s-ozone-x11-code-now-fully-enabled-old-legacy-x11-code-to-be-removed/page4
- https://old.reddit.com/r/kde/comments/pgm1n9/chrome_title_bar/
- https://bbs.archlinux.org/viewtopic.php?pid=1990969
- https://forum.manjaro.org/t/howto-enable-hardware-video-acceleration-video-decode-in-google-chrome-brave-vivaldi-and-opera-browsers/51895/23
This is not a fix. I'm having the same problem in my Xubuntu 22.04.5, Chrome 131.0.6778.69. Here's what I do everytime when I launch chrome.
Right click on tab bar and select 'Use system title bar and borders' and then deselect it. This will restore the maximized chrome window into the screen boundaries.
Try to right click on top bar of Chome (where tabs are located), in a free area and then select Use system title bar and borders.
- This is a workaround, but we used to be able to run Chrome without the option of using system title bar and borders. I think we will have to wait until the Chrome team fixes this bug.Wayne Bloss– Wayne Bloss2021-10-20 13:04:24 +00:00Commented Oct 20, 2021 at 13:04
- It seemed strange to me because I was playing with my appearence settings and I wasn't sure what did I do wrong. But I realized that what I told you to do wasn't the fix, but a rather a workaround with the incovenience of the window manager bar above the browser.sandrino– sandrino2021-10-20 22:37:48 +00:00Commented Oct 20, 2021 at 22:37
It looks like this problem is fixed in Chrome 96.0.4664.45, even when Use system title bar and borders is disabled.
I'm on Manjaro, XFCE 4.16.
- After further testing, the window maximizes correctly when using the maximize button on the window decoration, but it still hides a little under the system bar when using the
Win-↑shortcut.Marcin Sedlak-Jakubowski– Marcin Sedlak-Jakubowski2021-11-17 10:23:57 +00:00Commented Nov 17, 2021 at 10:23
Long time issue is back in 131.0.6778.69
Reverted to version 130.0.6723.116-1 using instructions at
Install older versions of google-chrome-stable, on ubuntu 14.10
Same thing happened to me, right after I updated Google Chrome on Xubuntu 20.04. I downloaded the previous version from October 7th, 94.0.4606.81-1, and downgraded. On this version, the issue goes away. It's the same story for Chrome Beta and Unstable, the latest version causes some funky fullscreen behavior on Xubuntu.
Here's the deb for the previous version of Chrome: https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_94.0.4606.81-1_amd64.deb
If you are using fedora, this might help:
wget https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-94.0.4606.71-1.x86_64.rpm
- Welcome to the site, and thank you for your contribution. Please note that brevity is acceptable, but fuller explanations are better. You may want to add a note why you think this approach will solve the OPs problem.AdminBee– AdminBee2021-11-16 13:47:33 +00:00Commented Nov 16, 2021 at 13:47