brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.67k stars 2.31k forks source link

add support for wayland on linux #6212

Open LastLightSith opened 5 years ago

All3xJ commented 1 year ago

You can just set the flag "ozone-platform-hint" to Wayland, in brave://flags.

image

gantryyork commented 8 months ago

I don't know if this is the issue, but Brave can't be resized with the mouse using the Cosmic (Rust) desktop.

izmyname commented 6 months ago

You can just set the flag "ozone-platform-hint" to Wayland, in brave://flags.

image

Doesn't work in flatpak version.

RedBlizard commented 5 months ago

Latest recent update on April 17 2024 version 1.65.114 is missing something regarding wayland support now you have to set this again in the brave-browser.desktop to make sure brave launches correctly Exec=brave --enable-features=UseOzonePlatform --ozone-platform=wayland with the previous version this was not needed so looks like some wayland support is missing , lucky the flag is still there. Dont why this has changed.

Mikaela commented 5 months ago

--ozone-platform-hint not working was https://github.com/brave/brave-browser/issues/37498

DaWe35 commented 5 months ago

@RedBlizard you're a legend, thank you. Brave just glitched after an update, but brave --enable-features=UseOzonePlatform --ozone-platform=wayland works well 🙏🙏🙏

RedBlizard commented 5 months ago

@RedBlizard you're a legend, thank you. Brave just glitched after an update, but brave --enable-features=UseOzonePlatform --ozone-platform=wayland works well 🙏🙏🙏

What you also can do is create in .config this flag file brave-flags.conf and only add this line ! --enable-features=UseOzonePlatform --ozone-platform=wayland that is the cleaner solution.