Description
The WakaTime Linux desktop AppImage crashes immediately on startup when running under GNOME Wayland.
Even when launched with --no-sandbox, the application panics and exits due to a missing GNOME Shell Wayland DBus extension.
This appears to be caused by an unconditional unwrap() call in the Wayland integration code when the expected DBus object does not exist.
Environment
-
OS: Linux (Ubuntu 24.04 LTS)
-
Desktop Environment: GNOME
-
Session Type: Wayland
-
WakaTime App: wakatime-linux-x86_64.AppImage
-
Launch command:
./wakatime-linux-x86_64.AppImage --no-sandbox
Steps to Reproduce
-
Log into a GNOME Wayland session
-
Download the WakaTime Linux AppImage
-
Make it executable:
chmod +x wakatime-linux-x86_64.AppImage
-
Run the app:
./wakatime-linux-x86_64.AppImage --no-sandbox
Expected Behavior
The application should start normally and begin tracking activity or gracefully fall back if a Wayland extension is unavailable.
Actual Behavior
The app crashes immediately with a panic.
Error Output
thread '<unnamed>' panicked at x-win-rs/src/linux/api/wayland_extension_api.rs:206:6:
called `Result::unwrap()` on an `Err` value: MethodError(
"org.freedesktop.DBus.Error.UnknownMethod",
Some("Object does not exist at path “/org/gnome/Shell/Extensions/XWinWaylandExtension”")
)
Description
The WakaTime Linux desktop AppImage crashes immediately on startup when running under GNOME Wayland.
Even when launched with
--no-sandbox, the application panics and exits due to a missing GNOME Shell Wayland DBus extension.This appears to be caused by an unconditional
unwrap()call in the Wayland integration code when the expected DBus object does not exist.Environment
OS: Linux (Ubuntu 24.04 LTS)
Desktop Environment: GNOME
Session Type: Wayland
WakaTime App:
wakatime-linux-x86_64.AppImageLaunch command:
Steps to Reproduce
Log into a GNOME Wayland session
Download the WakaTime Linux AppImage
Make it executable:
Run the app:
Expected Behavior
The application should start normally and begin tracking activity or gracefully fall back if a Wayland extension is unavailable.
Actual Behavior
The app crashes immediately with a panic.
Error Output