super-productivity/electron
Johannes Millan e295655127 feat(electron): add debug logging for suspend/resume idle detection #4734
Add comprehensive logging to help diagnose why idle detection is not
triggering properly when the system suspends/resumes, particularly on
Wayland systems where powerMonitor events may not fire reliably.

The logging covers:
- Power monitor suspend/resume/lock/unlock events
- Idle time calculations on system wake
- Whether idle messages are sent to frontend based on thresholds

This will help identify if:
1. PowerMonitor events are firing on the user's KDE Wayland system
2. Idle time is being calculated correctly during sleep periods
3. Messages are being sent but not processed by the frontend

Related to issue #4734 where time tracking continues during sleep mode.
2025-07-17 21:12:37 +02:00
..
assets/icons Size optimize all images 2021-05-13 22:28:53 +02:00
overlay-indicator feat: improve shutdown cleanup 2025-06-29 17:31:28 +02:00
shared-with-frontend Merge branch 'feat/overlay-indicator' 2025-06-27 22:37:14 +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(overlayIndicator): implement basic overlay 2025-06-27 14:22:27 +02:00
electronAPI.d.ts Merge branch 'feat/overlay-indicator' 2025-06-27 22:37:14 +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 feat: improve shutdown cleanup 2025-06-29 17:31:28 +02: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(overlayIndicator): implement basic overlay 2025-06-27 14:22:27 +02:00
ipc-handler.ts feat(plugin-api): create foundational plugin API package 2025-06-27 18:13:19 +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 fix: overlay-indicator.ts not being cleaned up 2025-06-29 21:00:44 +02:00
main.ts feat: cleaner startup for electron #2942 #1678 2023-12-29 12:57:33 +01:00
plugin-node-executor.ts feat: improve shutdown cleanup 2025-06-29 17:31:28 +02:00
preload.ts fix: use contextBridge for Electron API exposure with context isolation 2025-06-27 22:48:28 +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(electron): add debug logging for suspend/resume idle detection #4734 2025-07-17 21:12:37 +02:00
tsconfig.electron.json build: make electron build work 2025-04-15 16:27:09 +02:00
various-shared.ts feat(overlayIndicator): implement basic overlay 2025-06-27 14:22:27 +02:00