Description of the issue:
Maximizing Brave browser causes it to maximize beyond the borders of the existing monitor’s screen resolution by about the width of the scrollbar all around its four edges.
Steps to Reproduce (add as many as necessary):
- Launch Brave in a non maximized window
- Maximize Brave through the right mouse click menu on title bar (or Alt-F7 if using xfce4-based ubuntu flavor)
Actual Result (gifs and screenshots are welcome!):
Brave maximizes, but is larger on all sides and extends beyond the size of the actual monitor screen resolution.
Any items that would normally be visible on the maximized screen are now cut off if using one monitor or spill over into the adjascent monitor(s) if using 2 or more monitors, e.g., the scrollbar appears on the adjascent monitor to the right if Brave is maximized on the left monitor.
The problem persists whether the monitor is in portrait or landscape orientation.
For example: if the screen resolution is 1920x1080p, Brave will maximize to something like 1928x1088p
Brave should maximize and be contained entirely within the current monitor’s screen resolution.
Reproduces how often:
Brave stable release - Version 1.31.87 Chromium: 95.0.4638.54 (Official Build) (64-bit)
Reproducible on current live release (yes/no):
not sure, but definitely on the latest stable release
I’m using Brave on a fresh installation of Ubuntu 20.04.3 LTS [ubuntustudio 20.0.3 LTS with lightdm as window manager and xfce4 as desktop environment].
Linux kernel: Linux 5.4.0-89-lowlatency
Brave is running in classic mode, but running it in gtk mode does not resolve the issue.
I’m currently using 4 monitors.
The issue exists in the exact same manner with Google Chrome since Version 95.0.4638.54 (Official Build) (64-bit). The backend must be similar between both browsers.
The issue has been reported by others on other websites and exists for various Linux flavours and Microsoft Windows so it seems to be independent of OS.
The issue does not exits on 1.30.89 Chromium 94.0.4604.81 (Official Build) (64-bit) or Google Chrome with the same 94 version.