Chromium based browsers scale problem on Wayland

Hi, i have a laptop with external monitors, most of the time i work on it and when i have free time, i connect my 4th monitor which is a 4k TV so with a 225% Scale in KDE! In the past when i had KDE 5 and X11 i had to logout and login again when switching between the two setups, after a while, i even made a script which reloaded KDE/Plasma and some apps to gain some time! But since i updated my system and i have KDE 6 with Wayland it’s pretty cool to don’t have to do this anymore, i just need to connect my monitor and it switch of screen configuration and every apps are properly scaled (most of the time)! Well every apps, except the Chromium based browsers (for me Chrome and Brave)!

Here is the result:


As you see, the scale is not good compared to the environment, so i need to manually quit or kill it and then restart it and after the result is correct:


So how can i fix that without having to quit and start again the browser? (which in addition to be as annoying as the reloading script and so on with X11 is a problem because it mess with the windows opened on my other activity which i use for work, and also closes all the private/guest browsing tabs i want to keep)

The apps are probably running as X11 (afaik still the default for Chromium), you could try running them as Wayland native to see if they behave better there

1 Like

How i can do this please?

Add additional parameters to start:

--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime

You can search online for related usage with more detailed instructions.

I am not using scaling, but tried it and EDGE takes effect immediately. (Although after this takes xdg-desktop-portal-kde crashes for unknown reasons)

2 Likes

It works!!! Thank you @Zamundaaa @SnDream