Client doesn't use cached data when reopening with flatpak / Increase in expected loadtime

(#4833) Bug Open: Awaiting confirmation Priority: P2 desktop performance

Reproduction steps

  1. Open the client with flatpak
  2. Wait
  3. Observe messages/channels/user list loading in
  4. Messages appear

Expected behaviour

As of recent the client is expected to cache everything and should not have to wait to load messages/channels/etc. upon restarting the client

Actual behaviour

The client does not seem to use any cached data and instead seems to establish a connection before showing any messages Potentially relevant chat messages starting from https://canary.fluxer.com/channels/1519773906704011264/1541839434838716417/1570781742392934400 Does not happen with the package from the pacman repo

Build information

Canary Desktop 2026.1113.44516, Web 2026.1113.44516, Linux 7.2.15-arch1-1 (x64), Electron 44.10.0, Chrome 152.0.7977.169, Node 24.22.1, Locale en-US

Platform

Linux

Evidence

$ flatpak run app.fluxer.FluxerCanary
[2:1113/150202.293692:ERROR:dbus/bus.cc:406] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
15:02:02.347 › Loaded desktop config from /home/user/.var/app/app.fluxer.FluxerCanary/config/fluxercanary/settings.json
15:02:02.351 › Configured user data storage {
  channel: 'canary',
  directory: 'fluxercanary',
  path: '/home/user/.var/app/app.fluxer.FluxerCanary/config/fluxercanary',
  portable: false
}
15:02:02.351 › [Spellcheck] Removed Chromium spellcheck dictionary cache on Linux {
  path: '/home/user/.var/app/app.fluxer.FluxerCanary/config/fluxercanary/Dictiouseres'
}
15:02:02.352 › [Startup] Phase completed { phase: 'runtime-cache-guard', durationMs: 0, sinceConfiguredMs: 1 }
15:02:02.352 › Launch diagnostic modes {
  portableFlag: false,
  safeMode: false,
  linuxInputHook: 'auto',
  linuxPortals: 'auto',
  nativeNotifications: 'auto',
  nativeAudio: 'auto',
  spellcheck: 'default',
  v8CodeCacheDisabled: false,
  nativeGatewayDisableReason: null,
  moduleUpdatesDisabled: false
}
15:02:02.353 › [MainI18n] Loaded persisted native strings { locale: 'en-US', count: 124 }
15:02:02.353 › [Startup] Phase completed { phase: 'main-i18n', durationMs: 0, sinceConfiguredMs: 2 }
[2:1113/150202.394562:ERROR:dbus/bus.cc:406] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1113/150202.394579:ERROR:dbus/bus.cc:406] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1113/150202.401500:ERROR:dbus/object_proxy.cc:589] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd6: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[2:1113/150202.401510:ERROR:components/os_crypt/sync/kwallet_dbus.cc:113] Error contacting kwalletd6 (isEnabled)
[2:1113/150202.401563:ERROR:dbus/object_proxy.cc:589] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[2:1113/150202.401565:ERROR:components/os_crypt/sync/kwallet_dbus.cc:82] Error contacting klauncher to start kwalletd6
[2:1113/150202.401606:ERROR:dbus/object_proxy.cc:589] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd6: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[2:1113/150202.401608:ERROR:components/os_crypt/sync/kwallet_dbus.cc:408] Error contacting kwalletd6 (close)
15:02:02.401 › [BootState] Boot state is unavailable because safeStorage cannot encrypt
15:02:02.408 › [LocalAppProtocol] Registered the local app protocol handler
15:02:02.409 › Saved window position is off-screen, using defaults
15:02:02.409 › [Window] Create window phase completed { phase: 'bounds', elapsedMs: 1 }
WARNING: radv is not a conformant Vulkan implementation, testing use only.
15:02:02.420 › [Window] Create window phase completed { phase: 'browser-window', elapsedMs: 12 }
15:02:02.434 › [Spellcheck] Loaded system hunspell dictionary for "en-US" from /usr/share/hunspell/en_US.aff
15:02:02.434 › [Window] Create window phase completed { phase: 'handlers', elapsedMs: 26 }
15:02:02.435 › [Window] Loading app URL {
  appUrl: 'fluxer-app://app/channels/1519773906704011264/1541839434838716417'
}
15:02:02.438 › [Window] Create window phase completed { phase: 'load-url-dispatched', elapsedMs: 30 }
15:02:02.438 › [Bootstrap] [Startup] Phase completed { phase: 'create-window', durationMs: 30 }
15:02:02.439 › [NativeModulePreflight] Skipped: install fingerprint matches successful previous run { completedAt: '2026-11-13T13:53:53.551Z', degraded: [] }
15:02:02.439 › [Startup] Phase completed {
  phase: 'native-module-preflight',
  durationMs: 1,
  sinceConfiguredMs: 88
}
15:02:02.440 › [Capabilities] Native addon loaded { addon: '@fluxer/app-store', loaded: true, durationMs: 1 }
15:02:02.441 › [Startup] Phase completed { phase: 'app-store-addon', durationMs: 1, sinceConfiguredMs: 90 }
15:02:02.441 › [Startup] Phase completed { phase: 'app-store-open', durationMs: 0, sinceConfiguredMs: 90 }
15:02:02.442 › [AppStore] Desktop app store opened {
  available: true,
  schemaVersion: 1,
  storeFile: '/home/user/.var/app/app.fluxer.FluxerCanary/config/fluxercanary/desktop-app-store.sqlite3',
  quarantineReason: null,
  quarantinedFile: null,
  unavailableReason: null,
  health: 'healthy'
}
15:02:02.463 › [Spellcheck] Loaded system hunspell dictionary for "en" from /usr/share/hunspell/en_MW.aff
15:02:02.482 › [Startup] Phase completed { phase: 'app-store-recovery', durationMs: 40, sinceConfiguredMs: 131 }
15:02:02.561 › [Bootstrap] Serving the renderer: source=bundled version=2026.1113.44516 bundled=2026.1113.44516
15:02:02.561 › [Bootstrap] Module convergence granted a launch permit { unreachable: false, rolledBack: false, belowFloor: [] }
15:02:02.562 › [Startup] Phase completed { phase: 'host-resolver', durationMs: 0, sinceConfiguredMs: 211 }
15:02:02.562 › [Startup] Phase completed { phase: 'system-trust', durationMs: 0, sinceConfiguredMs: 211 }
15:02:02.562 › [Startup] Phase completed { phase: 'app-store-ipc', durationMs: 0, sinceConfiguredMs: 211 }
15:02:02.563 › [Startup] Phase completed { phase: 'boot-state-ipc', durationMs: 1, sinceConfiguredMs: 212 }
15:02:02.563 › [Startup] Phase completed {
  phase: 'gateway-transport-ipc',
  durationMs: 0,
  sinceConfiguredMs: 212
}
15:02:02.565 › [Startup] Phase completed { phase: 'ipc-handlers', durationMs: 2, sinceConfiguredMs: 214 }
15:02:02.565 › [Startup] Phase completed { phase: 'autostart-handlers', durationMs: 0, sinceConfiguredMs: 214 }
[2:1113/150202.583399:ERROR:dbus/bus.cc:406] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1113/150202.583411:ERROR:dbus/bus.cc:406] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1113/150202.583417:ERROR:dbus/bus.cc:406] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
15:02:02.583 › [GlobalShortcuts] Global shortcuts initialised {
  platform: 'linux',
  linux: {
    session: 'wayland',
    sandboxed: true,
    desktop: 'kde',
    inputHookMode: 'auto'
  },
  backend: 'portal'
}
15:02:02.583 › [Startup] Phase completed { phase: 'global-shortcuts', durationMs: 18, sinceConfiguredMs: 232 }
15:02:02.583 › [Startup] Phase completed {
  phase: 'display-media-handlers',
  durationMs: 0,
  sinceConfiguredMs: 232
}
15:02:02.583 › [Startup] Phase completed { phase: 'virtmic-handlers', durationMs: 0, sinceConfiguredMs: 232 }
15:02:02.583 › [Startup] Phase completed {
  phase: 'native-audio-handlers',
  durationMs: 0,
  sinceConfiguredMs: 232
}
15:02:02.583 › [Startup] Phase completed {
  phase: 'native-hardware-encoder-handlers',
  durationMs: 0,
  sinceConfiguredMs: 232
}
15:02:02.584 › [Startup] Phase completed { phase: 'legacy-harvest-ipc', durationMs: 1, sinceConfiguredMs: 233 }
15:02:02.584 › [Startup] Phase completed {
  phase: 'legacy-origin-harvest',
  durationMs: 0,
  sinceConfiguredMs: 233
}
15:02:02.584 › [Startup] Phase completed { phase: 'runtime-config-ipc', durationMs: 0, sinceConfiguredMs: 233 }
15:02:02.584 › [Startup] Phase completed { phase: 'account-engine', durationMs: 0, sinceConfiguredMs: 233 }
15:02:02.584 › [Startup] Phase completed { phase: 'deep-links', durationMs: 0, sinceConfiguredMs: 233 }
15:02:02.585 › [Capabilities] Native addon loaded { addon: '@fluxer/gateway-socket', loaded: true, durationMs: 1 }
15:02:02.585 › [Capabilities] Desktop capability manifest { appStore: true, gatewaySocket: true }
15:02:02.585 › [Startup] Phase completed { phase: 'native-addons', durationMs: 1, sinceConfiguredMs: 234 }
15:02:02.588 › [Startup] Phase completed { phase: 'updater', durationMs: 0, sinceConfiguredMs: 237 }
15:02:02.643 › [AccountEngine] Account engine session moved to the foreground {"accountKey":"https://web.canary.fluxer.app/api::1471112428912390225","host":"gateway.fluxer.com"}
15:02:02.645 › Account engine gateway transport { transport: 'native' }
15:02:02.660 › [Window] Main window revealed { reason: 'content-painted', revealShowsWindow: true, elapsedMs: 252 }
15:02:02.662 › [Startup] Phase completed {
  phase: 'gateway-transport-warmup',
  durationMs: 0,
  sinceConfiguredMs: 311
}
15:02:02.662 › [LinuxDesktopEntry] Skipping .desktop entry creation in Flatpak; package export owns launcher/protocol integration
15:02:02.663 › [Startup] Phase completed { phase: 'linux-desktop-entry', durationMs: 1, sinceConfiguredMs: 312 }
15:02:02.663 › [Startup] Phase completed { phase: 'jump-list', durationMs: 0, sinceConfiguredMs: 312 }
15:02:02.663 › [Startup] Phase completed { phase: 'dock-menu', durationMs: 0, sinceConfiguredMs: 312 }
15:02:02.665 › [Startup] Phase completed { phase: 'application-menu', durationMs: 2, sinceConfiguredMs: 314 }
15:02:02.710 › [Startup] Phase completed { phase: 'desktop-tray', durationMs: 45, sinceConfiguredMs: 359 }
15:02:02.711 › [Startup] Phase completed {
  phase: 'vulkan-layer-cleanup',
  durationMs: 1,
  sinceConfiguredMs: 360
}
15:02:02.711 › [Startup] Phase completed {
  phase: 'legacy-uninstall-entry-cleanup',
  durationMs: 0,
  sinceConfiguredMs: 360
}
15:02:02.722 › [AppStore] Legacy import state {
  phase: 'done',
  failures: null,
  reconciledAt: null,
  stateFile: '/home/user/.var/app/app.fluxer.FluxerCanary/config/fluxercanary/account-store-state-v1.json'
}
15:02:02.727 › [DebugInfo] Client info: Canary Desktop 2026.1113.44516, Linux 7.2.15-arch1-1 (x64), Electron 44.10.0, Chrome 152.0.7977.169, Node 24.22.1, Locale en-US
15:02:02.727 › [DebugInfo] Runtime: {
  appUrl: 'fluxer-app://app/',
  userDataPath: '/home/user/.var/app/app.fluxer.FluxerCanary/config/fluxercanary',
  configPath: '/home/user/.var/app/app.fluxer.FluxerCanary/config/fluxercanary/settings.json',
  accountStore: {
    version: 1,
    firstSuccessAt: 1794578406578,
    lastSuccessAt: 1794578522722,
    lastSchemaVersion: 1
  },
  accountStoreTelemetry: { 'desktop.account_store.migrated': 6 },
  logsPath: '/home/user/.var/app/app.fluxer.FluxerCanary/config/fluxercanary/logs',
  logFilePath: '/home/user/.var/app/app.fluxer.FluxerCanary/config/fluxercanary/logs/main.log',
  troubleshooting: { disableHardwareAcceleration: false, disableModuleUpdates: false },
  windowBehavior: {
    showTrayIcon: true,
    coloredTrayIcon: false,
    darkTaskbarBadge: false,
    minimizeToTray: false,
    closeToTray: true,
    startMinimized: false,
    useNativeTitleBar: false,
    activeUseNativeTitleBar: false,
    rememberWindowState: true,
    allowTransparency: false,
    activeAllowTransparency: false,
    smoothScrolling: false,
    activeSmoothScrolling: false,
    middleClickAutoscroll: true,
    activeMiddleClickAutoscroll: true
  },
  packaged: true,
  portable: false,
  pid: 2,
  execPath: '/app/fluxer/fluxer-canary',
  flatpak: true,
  flatpakAppId: 'app.fluxer.FluxerCanary',
  appImagePath: null,
  appDirPath: null,
  cwd: '/home/user',
  launchArgs: []
}
15:02:02.727 › [Startup] Phase completed { phase: 'desktop-debug-info', durationMs: 4, sinceConfiguredMs: 376 }
15:02:02.727 › App initialized successfully
15:02:02.800 › [LocalAppProtocol] Activated a local app runtime plan { instanceKey: 'https://web.canary.fluxer.app/api' }
15:02:02.892 › [Bootstrap] Polling the desktop update feeds { intervalMs: 90000, jitterRatio: 0.15 }
15:02:02.912 › [GlobalShortcuts] Global shortcuts portal opened { version: 2, appIdSource: 'sandbox', uniqueName: ':1.39' }
15:02:02.933 › [DesktopTray] The renderer reported its build: Canary Desktop 2026.1113.44516, Web 2026.1113.44516, Linux 7.2.15-arch1-1 (x64), Electron 44.10.0, Chrome 152.0.7977.169, Node 24.22.1, Locale en-US
15:02:03.212 › Saved window bounds: { x: 16, y: 10, width: 1280, height: 800, isMaximized: false }
15:02:25.426 › Saved window bounds: { x: 16, y: 10, width: 1280, height: 800, isMaximized: false }
15:02:25.426 › [Window] Window close hid the app to the tray. Use Quit to terminate the process
15:03:02.647 › Account engine health {
  rss: 119537664,
  heapUsed: 5869620,
  sessions: 1,
  ready: 0,
  connecting: 0,
  backoff: 0,
  foreground: 1,
  authFailed: 0
}
15:04:02.707 › Account engine health {
  rss: 119668736,
  heapUsed: 5889556,
  sessions: 1,
  ready: 0,
  connecting: 0,
  backoff: 0,
  foreground: 1,
  authFailed: 0
}
15:05:02.767 › Account engine health {
  rss: 119668736,
  heapUsed: 5891608,
  sessions: 1,
  ready: 0,
  connecting: 0,
  backoff: 0,
  foreground: 1,
  authFailed: 0
}
15:06:02.827 › Account engine health {
  rss: 119668736,
  heapUsed: 5893484,
  sessions: 1,
  ready: 0,
  connecting: 0,
  backoff: 0,
  foreground: 1,
  authFailed: 0
}
15:07:02.887 › Account engine health {
  rss: 119668736,
  heapUsed: 5895348,
  sessions: 1,
  ready: 0,
  connecting: 0,
  backoff: 0,
  foreground: 1,
  authFailed: 0
}
15:07:43.531 › [BootState] Boot state flush settled { result: 'flushed', frame: true, elapsedMs: 0 }
15:07:43.531 › [Shutdown] Boot state flush before quit settled { result: 'flushed', elapsedMs: 1 }
15:07:43.532 › [Shutdown] before-quit received
15:07:43.532 › Saved window bounds: { x: 16, y: 10, width: 1280, height: 800, isMaximized: false }
15:07:43.538 › [NativeGateway] Releasing renderer document connections destroyed
15:07:43.539 › [Shutdown] will-quit cleanup started
15:07:43.540 › [Shutdown] Desktop app store closed and checkpointed
15:07:43.682 › [AccountEngine] Account engine gateway stopped {"accountKey":"https://web.canary.fluxer.app/api::1471112428912390225","host":"gateway.fluxer.com","reason":"shutdown"}
15:07:43.696 › [Shutdown] will-quit cleanup complete; exiting
15:07:43.696 › [Shutdown] quit received { exitCode: 0 }
  1. Fullest changed the status from Needs triage to Confirmed
  1. The pull request fluxer#4199 mentions this post Merged

3 comments

Sign in with Fluxer to comment and vote.
Comment by Rex
RexSystem 1 vote
Status changed from Confirmed to Awaiting confirmation
Fixed in fluxer#4199. The fix is live in desktop stable release 2026.1115.225010.
Comment by Fullest
FullestReviewer 2 votes
Interestingly, I see that on the flatpak canary, I see loading skeletons on refresh and initial load, while on my native install I do not. flatpak Canary Desktop 2026.1113.191451, Web 2026.1113.191451, Linux 7.3.3-200.fc44.x86_64 (x64), Electron 44.10.0, Chrome 152.0.7977.169, Node 24.22.1, Locale en-US rpm Canary Desktop 2026.1113.191451, Web 2026.1113.191451, Linux 7.3.3-200.fc44.x86_64 (x64), Electron 44.10.0, Chrome 152.0.7977.169, Node 24.22.1, Locale en-US