flathub / com.vscodium.codium

https://flathub.org/apps/details/com.vscodium.codium
94 stars 19 forks source link

Segfault on wayland native #275

Closed eternal-sorrow closed 4 months ago

eternal-sorrow commented 6 months ago

When run on wayland natively (with --ozone-platform-hint=wayland) vscodium crashes with segfault. Access to wayland server is allowed with flatpak override. When started without this option (through Xwayland), it works well. Version 1.85, but this problem began a couple of versions before that. Earlier it was working well.

noonsleeper commented 6 months ago

hey @eternal-sorrow, can you try with

flatpak run com.vscodium.codium --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --ozone-platform=wayland

?

eternal-sorrow commented 6 months ago

It turned out this microsoft/vscode#184124 issue. The workaround is to set the window border style to custom.

noonsleeper commented 6 months ago

Thanks @eternal-sorrow, please keep this issue open to track the upstream issue.

mainrs commented 6 months ago

How do you pass the arguments to the flatpak installation? When I launch the program using the app launcher in Gnome, I cannot pass any arguments. And flatseal has no override feature for command line arguments...

eternal-sorrow commented 6 months ago

@mainrs to test something I pass them in command line. To set them in permanent, I edit the .desktop file (first copy it to ~.local/share/applications).

mainrs commented 6 months ago

@mainrs to test something I pass them in command line. To set them in permanent, I edit the .desktop file (first copy it to ~.local/share/applications).

Aren't those updated when a new flatpak update is published?

eternal-sorrow commented 6 months ago

If you copy it to ~.local/share/applications, nothing will update it.

noonsleeper commented 4 months ago

This was fixed on #305, then I'll close this. If you have another problem, please don't hesitate and open a new issue.