Skip to content

KDE Wayland Window Activity Tracking throws error and does not track #99

Open

Description

@vincurekf

I am running the desktop app built from AUR, solidtime-bin.
App runs fine but when enabling the activity tracking, tiny orange error message blips in the app and in terminal I can see an error.
The option remains enabled until app restart, then it reverts to being disabled.
Here is the log from start to enabling activity tracking:

(electron) 'session.getPreloads' is deprecated and will be removed. Please use 'session.getPreloadScripts' instead.
(electron) 'session.setPreloads' is deprecated and will be removed. Please use 'session.registerPreloadScript' instead.
(electron) 'session.getAllExtensions' is deprecated and will be removed. Please use 'session.extensions.getAllExtensions' instead.
Running migrations from: /usr/lib/solidtime/drizzle
(electron) 'session.loadExtension' is deprecated and will be removed. Please use 'session.extensions.loadExtension' instead.
Migrations completed successfully
Database migrations completed successfully
Idle monitor initialized with settings: { idleThreshold: 300, idleDetectionEnabled: true }
Starting idle monitoring
[2026-04-09T04:56:39.290Z] [INFO] Activity tracker initialized. Enabled: false
Added Extension:  [object Object]
06:56:39.629 › APPIMAGE env is not defined, current application is not an AppImage
06:56:39.631 › checkForUpdatesAndNotify called, downloadPromise is null
[2026-04-09T04:56:45.607Z] [INFO] Activity tracking enabled: true
[2026-04-09T04:56:45.607Z] [INFO] Starting activity tracking...
=== ATTEMPTING TO LOAD @miniben90/x-win ===
Process platform: linux
Process arch: x64
Process versions: {
  "node": "22.22.0",
  "acorn": "8.15.0",
  "ada": "2.9.2",
  "amaro": "1.1.4",
  "ares": "1.34.6",
  "brotli": "1.2.0",
  "cjs_module_lexer": "2.1.0",
  "cldr": "44.1",
  "icu": "74.2",
  "llhttp": "9.3.0",
  "modules": "139",
  "napi": "10",
  "nbytes": "0.1.1",
  "ncrypto": "0.0.1",
  "nghttp2": "1.68.0",
  "openssl": "0.0.0",
  "simdjson": "3.13.0",
  "simdutf": "7.3.3",
  "sqlite": "3.50.4",
  "tz": "2025b",
  "undici": "6.23.0",
  "unicode": "15.1",
  "uv": "1.51.0",
  "uvwasi": "0.0.23",
  "v8": "14.0.365.10-electron.0",
  "zlib": "1.3.2",
  "zstd": "1.5.8",
  "electron": "38.8.0",
  "chrome": "140.0.7339.249"
}
__dirname: /usr/lib/solidtime/app.asar/out/main
process.cwd(): /usr/lib/solidtime
app.isPackaged: true
=== @miniben90/x-win LOADED SUCCESSFULLY ===
[2026-04-09T04:56:45.621Z] [ERROR] Failed to get initial window: [Error: Unable to get informations of active window from "[email protected]" extension via GNOME Shell. Please verify that the extension is correctly installed or enabled.] {
  code: 'GenericFailure'
}
[2026-04-09T04:56:45.622Z] [INFO] Activity tracking started with subscription ID: 1
[2026-04-09T04:56:45.623Z] [ERROR] Error in window subscription: [Error: Unable to get informations of active window from "[email protected]" extension via GNOME Shell. Please verify that the extension is correctly installed or enabled.] {
  code: 'GenericFailure'
}

Version: aur/solidtime-bin 0.1.5-1 (+2 0.90)
OS: EndeavourOS, Plasma KDE, Wayland.
Solidtime backend self hosted via docker image updated today.

Activity

  1. Onatcer commented on Apr 9, 2026

    @Onatcer
    Contributor

    KDE Wayland is unfortunately not supported right now by the library we are using (miniben-90/x-win#70). I'll look into clarifying that in the UI until either x-win adds support or we add a custom support.

  2. changed the title [-]Window Activity Tracking - enabled but throws error and does not track[/-] [+]KDE Wayland Window Activity Tracking throws error and does not track[/+] on Apr 9, 2026
  3. Onatcer commented on Apr 20, 2026

    @Onatcer
    Contributor

    we added experimental supoprt in 0.2.5 however i was only able to test it on an ARM VM.

  4. Eiernase commented on May 26, 2026

    @Eiernase

    Doesn't throw an error for me using KDE Wayland on Arch, however a lot of activity just shows up as "Kwin Wayland" with the description "Untitled".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions