brave-browser: Gnome Wayland Fractional Scaling Regression

Description

Previously brave worked fine when org.gnome.mutter experimental-features was set to ['scale-monitor-framebuffer'] (necessary to get fractional scaling at the moment under gnome). Now if you set the display scaling to something larger than 100% (e.g. 150% or 200%), brave is not scaled properly, appearing much too large.

Steps to Reproduce

  1. gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"
  2. Set display scaling to something larger than 100%
  3. Install latest version of brave
  4. Set Preferred Ozone platform to Wayland under brave://flags
  5. Restart brave

Actual result:

Brave window is not sized properly, e.g. when it is “maximized” it takes up more than the full screen and is blurry.

Expected result:

Brave is sized properly according to the desktop scaling setting and not blurry.

Reproduces how often:

Consistently

Brave version (brave://version info)

Brave: 1.51.110 Chromium: 113.0.5672.77 (Official Build) (64-bit) Revision: c4236862955e005c2187105415ac4a2ecf86dff1-refs/branch-heads/5672_62@{#3} OS: Linux

Version/Channel Information:

  • Can you reproduce this issue with the current release?
    • Yes
  • Can you reproduce this issue with the beta channel?
    • Yes
  • Can you reproduce this issue with the nightly channel?
    • Yes

Other Additional Information:

  • Is the issue reproducible on the latest version of Chrome?
    • Haven’t tested Chrome, but it is not reproducible in the latest version of chromium.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 4
  • Comments: 34

Most upvoted comments

Experiencing this again on v1.52.122.

Actually, in addition, setting the preferred ozone platform to wayland when the experimental mutter setting isn’t enabled, but scaling is e.g. 200% is now also blurry, where it used to not be. Perhaps scaling in wayland may just be broken in general.

Thanks for the update @alongwhile. Was this the latest v1.59.124 Brave?

Yes. I tried both flatpak and rpm install and it happens on both. Had to delete all profile information to reset everything so it would stop. Avoiding wayland for now I guess until this is resolved

Fixed in in the now released 1.51.118

I have found a temporary fix (remain little blurry but at least it work on wayland instead of X11 (battery drain etc)).

add : --force-device-scale-factor=1

I experienced this after the update to the latest Flatpak Brave today. I don’t use fractional scaling as that’s just hell, just straightforward 200%.

On the latest Fedora, I have worked around this by downgrading from 1.51.110 to 1.50.125 and locking the version at the moment.

flatpak update --commit=2cbeea4c7ddb117f3680e6603bcf9cc799cf515f1e01ea7f1a3ff7e075115f94 com.brave.Browser

flatpak mask com.brave.Browser

Fixing the version is not really recommended since you will avoid all security fixes that come with update.

same issue on KDE, downgraging to 1.50.125 fixes the issue.