super-productivity/electron
Johannes Millan e19d3fb593 fix(electron): minimize to tray not working immediately after enabling
Closes #5622

The 'Minimize to tray' setting was not updating the main process shared state when changed in the settings, requiring an app restart to take effect. This was because the 'UPDATE_SETTINGS' IPC event (sent on change) was not updating the 'isMinimizeToTray' flag. This commit ensures that 'UPDATE_SETTINGS' updates the relevant shared state.
2025-12-04 11:50:27 +01:00
..
assets/icons fix: wrong icon for kde title bar 2025-07-22 20:42:28 +02:00
ipc-handlers fix(electron): minimize to tray not working immediately after enabling 2025-12-04 11:50:27 +01:00
overlay-indicator feat: add open sans as default font 2025-09-04 18:30:09 +02:00
shared-with-frontend feat(customWindowTitleBar): add sexy custom window title bar <3 2025-12-02 13:30:36 +01: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 refactor: improve typing 2025-08-13 19:47:44 +02:00
electronAPI.d.ts feat(share): outline multi platform share functionality 2025-10-22 15:35:24 +02:00
error-handler-with-frontend-inform.ts fix: handle special characters in IPC errors and skip translation 2025-11-21 12:22:11 +01:00
full-screen-blocker.ts feat: improve shutdown cleanup 2025-06-29 17:31:28 +02:00
idle-time-handler.ts feat(electron): further improve on idle handling 2 2025-10-15 15:27:27 +02:00
indicator.ts Fix: Resolve build errors for Electron 2025-11-28 20:04:26 +01:00
ipc-handler.ts fix: refactor tray handling to use shared state for task and countdown visibility 2025-11-28 18:53:00 +01:00
jira.ts refactor: improve typing 2 2025-08-12 15:27:48 +02:00
local-file-sync.ts force select folder 2025-11-16 14:51:22 -08:00
lockscreen.ts refactor(elctron): add typing wherever possible and simplify 2022-01-30 20:12:41 +01:00
main-window.ts feat(customWindowTitleBar): add sexy custom window title bar <3 2025-12-02 13:30:36 +01:00
main.ts fix: exit behavior to be faster 2025-08-01 18:46:28 +02:00
plugin-node-executor.ts refactor: improve typing 2 2025-08-12 15:27:48 +02:00
preload.ts feat(share): outline multi platform share functionality 2025-10-22 15:35:24 +02:00
protocol-handler.ts feat: add task toggle start action to protocol handler 2025-08-01 18:46:28 +02:00
shared-state.ts fix: refactor tray handling to use shared state for task and countdown visibility 2025-11-28 18:53:00 +01:00
simple-store.ts feat(electronSecurity): add security layer for exec commands 2023-12-17 15:05:15 +01:00
start-app.ts feat(customWindowTitleBar): add sexy custom window title bar <3 2025-12-02 13:30:36 +01:00
tsconfig.electron.json fix: properly handle single emoji as project icon 2025-09-20 20:14:06 +05:30
various-shared.ts fix: app not closing on MacOS 2025-10-23 15:12:12 +02:00