KDE-Linux - Wayland fix for chromium/Edge

On wayland Edge & Other Cromium based browsers need a fix

File created ~/.config/microsoft-edge-stable-flags.conf

Content

--ozone-platform=x11
 


KDE-Linux - The name for Edge configuration file apparently is not the same as example as Edge itself does not identify itself as stable, dev, etc..
So the question is will this teqnique work for KDE-Linux & what do we need to do to name & place the config file.

What’s the problem exactly?

Essentially when you click on favorites wayland clears the pull down on a mouse hover. Essentially giving about a second to pick your bookmark. The fix does x11wayland but rather ugly as other things don’t look as clean. The real fix is google to clean up their act, but I wonder if they really care about wayland.

Nate I think this may be a fix. Instead of a config file - Modify the arguments invoking Edge

Here is the command line (via edit application)

run --branch=stable --arch=x86_64 --command=/app/bin/edge --file-forwarding com.microsoft.Edge @@u %U –ozone-platform=x11 @@

The expression “–ozone-platform=x11” gets added after the %U in the command line arguments.

I believe this will also work for the rest of the Chromium based products as well

It was suggested that the –ozone-platform=x11 go before the %U in order to preserve user arguments

Note for non-immutable the first part of the command line is probably different - but the string %U in original Gets replaced with --ozone.platform=x11 %U

This is just a bug in Chromium, right?

I think so - but X11/Wayland does work ok — So native Wayland could be the issue as well - In any case Chromium developers & Wayland developers need to fix the issues! Meanwhile use Xwayland works ok for me.