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

System titlebar lost on maximize on linux #11967

Open
marc1uk opened this issue Oct 2, 2020 · 9 comments
Open

System titlebar lost on maximize on linux #11967

marc1uk opened this issue Oct 2, 2020 · 9 comments
Labels
OS/Desktop OS/Linux priority/P5 Not scheduled. Don't anticipate work on this any time soon.

Comments

@marc1uk
Copy link

marc1uk commented Oct 2, 2020

Search for Existing Issues

I've searched for similar issues on brave's extensive history, and found similar ones, but couldn't specifically find this one.

Description

The system titlebar offers several options that the Brave CSD bar doesn't - for example, the ability to 'roll up' a window into its titlebar, the option to make the window always-on-top, the option to move the window to a new workspace, or make it visible on all workspaces, etc.

While some find the titlebar a waste of space, personally I find those 6 extra pixels worth that functionality, so I appreciate the option of 'use system titlebar and borders' - kudos on supporting user choices! 👍

Unfortunately when maximizing the window, the system titlebar disappears, making the option mostly non-functional. :(

Steps to Reproduce

  1. Right-click menu bar and check 'enable system title-bar and borders'
  2. Restore the brave window and observe the presence of the system title-bar and borders.
  3. Maximize brave, and observe that they are no longer visible.

Actual result:

Restored:
trash_1
Maximized:
trash_2

Expected result:

Maximized the same as restored:
trash_3

Reproduces how often:

Always

Brave version (brave://version info)

Brave 1.1.23 Chromium: 79.0.3945.88 (Official Build) (64-bit)
Revision c2a58a36b9411c80829b4b154bfcab97e581f1f3-refs/branch-heads/3945@{#954}
OS Linux
@rebron rebron added OS/Desktop OS/Linux priority/P5 Not scheduled. Don't anticipate work on this any time soon. labels Nov 16, 2020
@immanuelfodor
Copy link

This is not the case for me on Manjaro KDE, the system title bar is kept when maximized. Maybe it depends on your DE?

What's more annoying for me is that without the system title bar, when Brave is not maximized, there is extraneous space over the tabs and the edge of the browser window. Side-by-side comparison to Firefox:

image

The only workaround is to enable the system title bar, then set no border for the window. However, this loses the ability to manually resize or close or minimize the window (no window action buttons or draggable border are shown), however, moving or snapping to the screen edge works fine:

image

Use case: 4K screen where maximizing the browser is non-viable, but snapping the browser to half of the screen is really comfortable (2K vertical space).

@Piiit
Copy link

Piiit commented Aug 5, 2021

I think this should be considered a bug, because the icons disappear on maximize when the option for native title bars is selected. Someone, might be blocked in a fullscreen view without closing, restore and minimizing icons.

Please give it a higher priority. Thanks for your great work!

@com2
Copy link

com2 commented Sep 24, 2021

I have version 1.29.81 under Ubuntu 20.04LTS and right clicking in the tab bar in the context menu appears the option "Use system title bar and borders" disabled by default. It does what it says after enabling. Please confirm that this can be considered fixed now.
image

@Piiit
Copy link

Piiit commented Sep 24, 2021

@com2 It is not fixed... I have the same version as you on Cinnamon and when maximizing the window the system title bar disappears

@Piiit
Copy link

Piiit commented Sep 24, 2021

@com2 Tested it also with Chromium Version 93.0.4577.82... there it works correctly

@com2
Copy link

com2 commented Sep 28, 2021

@Piiit Cinnamon is not KDE based, is it? So may be someone should verify if it is the same under pure Gnome and then decide where this should be reported, here or there?

@Piiit
Copy link

Piiit commented Sep 28, 2021

@com2 Cinnamon is a fork of Gnome3 with GTK3 as graphical framework... but since the first deviation many things were changed under the hood.

@Piiit
Copy link

Piiit commented Sep 28, 2021

Brave is a fork + extras of Chromium, right? So maybe you could check what the differences are... since Chromium works correctly under Cinnamon 5.0.5 on Linux Mint 20.2... I also tested other themes of Cinnamon, sometimes they might cause issues... but it was the same for all themes.

@com2 Please let me know if I can provide additional information...

@Kip7777
Copy link

Kip7777 commented Oct 16, 2021

I'm on Manjaro + XFCE. I had just updated from 1.25.68 to 1.30.87-1 and discovered this issue. Basically, when I maximise Brave, the system title bar disappears. I'd happily use the Brave one except for the fact that any time you click the Brave tab/title bar, it grabs the whole window and starts to move it (complete with the move cursor) which is extremely annoying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS/Desktop OS/Linux priority/P5 Not scheduled. Don't anticipate work on this any time soon.
Projects
Status: P5 Backlog / waiting upstream
Development

No branches or pull requests

6 participants