super-productivity/electron
Johannes Millan fc343b801b fix: idle detection errors and system freezes after hibernation
- Test idle detection methods only once during initialization to prevent repeated failures
- Add snap environment detection with automatic method filtering
- Add proper snap plugs for system-observe and login-session-observe interfaces
- Improve DBus handling by trying gdbus first (works better in snap environments)
- Add rate-limited error logging to prevent log spam
- Add snap install hook to guide users on connecting required interfaces
- Ensure graceful fallback to 0 (not idle) when detection fails

This prevents the system freezes that occurred after hibernation due to repeated
failing idle detection attempts, and improves snap compatibility for DBus access.
2025-06-21 08:43:24 +02:00
..
assets/icons Size optimize all images 2021-05-13 22:28:53 +02:00
shared-with-frontend feat(pfapi): make removing files work for local file sync 2025-04-12 13:56:47 +02:00
backup.ts fix: linting 2025-05-01 13:04:23 +02:00
common.const.ts fix: windows crashing issue on minimize #3423 2024-09-09 15:17:24 +02:00
CONFIG.ts fix(electron): don't send idle time all the time 2019-01-27 20:52:11 +01:00
debug.ts feat(electronSecurity): make electron log work again 2023-12-15 16:38:00 +01:00
electronAPI.d.ts Merge branch 'master' into release/sync-lib-test 2025-04-15 17:12:09 +02:00
error-handler-with-frontend-inform.ts feat(electronSecurity): make electron log work again 2023-12-15 16:38:00 +01:00
full-screen-blocker.ts be a bit more forgiving for invalid command 2023-12-29 13:16:59 +01:00
get-settings.ts feat(electronSecurity): make electron log work again 2023-12-15 16:38:00 +01:00
idle-time-handler.ts fix: idle detection errors and system freezes after hibernation 2025-06-21 08:43:24 +02:00
indicator.ts feat: integrate 'isTrayShowCurrentCountdown' setting into tray message logic 2025-06-08 10:32:56 +02:00
ipc-handler.ts fix(electron): backup path 2025-05-06 21:50:01 +02:00
jira.ts Reimplemented support for Jira Personal Access Tokens (PAT) 2025-01-08 19:27:47 +01:00
local-file-sync.ts feat(pfapi): make removing files work for local file sync 2025-04-12 13:56:47 +02:00
lockscreen.ts refactor(elctron): add typing wherever possible and simplify 2022-01-30 20:12:41 +01:00
main-window.ts feat: improve wayland compatability 2025-06-19 15:05:47 +02:00
main.ts feat: cleaner startup for electron #2942 #1678 2023-12-29 12:57:33 +01:00
preload.ts Merge branch 'master' into release/sync-lib-test 2025-04-15 17:12:09 +02:00
simple-store.ts feat(electronSecurity): add security layer for exec commands 2023-12-17 15:05:15 +01:00
start-app.ts feat: add idle handling for wayland 2025-06-19 20:13:51 +02:00
tsconfig.electron.json build: make electron build work 2025-04-15 16:27:09 +02:00
various-shared.ts refactor(electronSecurity): move ipc handlers to their own file 2023-12-15 17:23:05 +01:00