Crashes when opening from tray on Wayland #345
See original GitHub issueSteps to reproduce
- Run the app on Wayland with
flatpak run im.riot.Riot --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland
- Close it to the tray
- Reopen it
Outcome
What did you expect?
The app to show up
What happened instead?
It crashed
Log:
/home/julian/.var/app/im.riot.Riot/config/Element exists: yes
/home/julian/.var/app/im.riot.Riot/config/Riot exists: no
LaunchProcess: failed to execvp:
xdg-settings
[3:0904/015329.899533:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0904/015329.899645:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Starting auto update with base URL: https://packages.element.io/desktop/update/
Auto update not supported on this platform
Fetching translation json for locale: en_EN
Changing application language to en
Fetching translation json for locale: en
[51:0904/015329.960830:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is egl, ANGLE is
Resetting the UI components after locale change
Resetting the UI components after locale change
[3:0904/015330.078693:ERROR:browser_main_loop.cc(270)] Gtk: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
[3:0904/015330.078791:ERROR:browser_main_loop.cc(270)] Gtk: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
Changing application language to en
Fetching translation json for locale: en
Resetting the UI components after locale change
[3:0904/015341.056804:ERROR:wayland_event_watcher.cc(36)] libwayland: wl_surface@32: error 0: gtk_shell::get_gtk_surface already requested
/app/bin/element: line 10: 3 Trace/breakpoint trap (core dumped) env TMPDIR="$XDG_RUNTIME_DIR/app/${FLATPAK_ID:-im.riot.Riot}" zypak-wrapper /app/Element/element-desktop $FLAGS "$@"
The opening attempt and crash is:
[3:0904/015341.056804:ERROR:wayland_event_watcher.cc(36)] libwayland: wl_surface@32: error 0: gtk_shell::get_gtk_surface already requested
/app/bin/element: line 10: 3 Trace/breakpoint trap (core dumped) env TMPDIR="$XDG_RUNTIME_DIR/app/${FLATPAK_ID:-im.riot.Riot}" zypak-wrapper /app/Element/element-desktop $FLAGS "$@"
Operating system
Arch Linux, fully up-to-date
Application version
Element version: 1.11.4 Olm version: 3.2.12
How did you install the app?
Flatpak
Homeserver
matrix.org
Will you send logs?
Yes
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Crashes when opening from tray on Wayland #6112 - GitHub
I have searched open and closed issues for duplicates. I am using Signal-Desktop as provided by the Signal team, not a 3rd-party package....
Read more >Gnome Crashes when opening secondary windows in Wayland
When opening such a secondary window, there is about a 90% chance that Gnome freezes and becomes unusable. If I am lucky, then...
Read more >Flameshot crashes when running on Wayland session
> When I start it from the Gnome starter icon, nothing happens. It starts in tray mode by default. On Gnome you must...
Read more >gnome-shell crashes when mounting, umounting usb drives
It might be the places-status-indicator extension. My gnome-shell 3.26.2 session crashes (under Wayland) when mounting/unmounting an ...
Read more >Grapejuice - Troubleshooting - GitLab
Game crashing with “An unexpected error occurred and Roblox needs to quit. ... Open the Grapejuice app, select Player on the left panel,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is either an Electron or a Flatpak issue, given Electron handles all of the tray integration handling.
Here’s the error log from that:
The error is the same