Description of the issue:
Brave seems to have recently switched to using wayland natively on linux wayland sessions instead of x11 through xwayland, and it caused 2 issues for me:
- If I have multiple windows open, then exit and restart the browser, they do not appear in the same place as when they were closed, which forces me to manually rearrange them after each browser restart. Which happens a lot more often than before because of the 2nd problem…
- Opening some of the bookmarks folders that I put on the bookmarks bar causes the browser to crash. I don’t know what exact interaction causes this, since opening some folders works without issues, but other ones cause the crash 100% of the time.
If I launch with the `–ozone-platform=x11` launch option, thereby forcing the browser to use xwayland, both issues are resolved. The window positions are remembered correctly, and the browser no longer crashes when clicking the bookmarks folders on the bookmarks bar.
How can this issue be reproduced?
Steps to reproduce the 1st issue, since the 2nd one is inconsistent.
-
Use a KDE wayland session (this is the DE I use, haven’t tested it on other DEs, but since switching to x11 is the solution, I suspect that it won’t matter).
-
Set the “On startup” option to “Continue where you left off“.
-
Open at least 2 Brave windows and move them away from their default launch position.
-
Exit Brave by going to the menu (the button with 3 lines) and selecting “Exit“.
-
Launch Brave again.
-
You will see that both windows opened, but their positions were reset to the default position for launching the application.
Expected result:
All browser windows should re-open in the same position on the screen where they were when the browser was exited, the same as with an x11/xwayland session.
Brave Version( check About Brave):
v1.82.172