super-productivity/electron
Johannes Millan 2cefde61bf fix(electron): keep window reachable when show/hide shortcut has no tray
The globalShowHide shortcut called mainWin.hide() unconditionally. On
Windows/Linux hide() removes the taskbar entry, so with no tray icon
the window became unreachable.

- macOS: use hide() (dock icon always remains).
- Windows/Linux: hide to tray only when minimize-to-tray is on AND the
  tray was created; otherwise minimize() to keep a taskbar handle.
- Log whether Windows tray creation used the GUID path, to help diagnose
  cases where the icon lands in the hidden overflow area.

Refs #7282
2026-04-20 15:48:40 +02:00
..
assets/icons
ipc-handlers fix(electron): keep window reachable when show/hide shortcut has no tray 2026-04-20 15:48:40 +02:00
scripts
shared-with-frontend
task-widget
backup.ts
clear-stale-idb-locks.ts
clipboard-image-handler.ts
common.const.ts
CONFIG.ts
debug.ts
electronAPI.d.ts
error-handler-with-frontend-inform.ts
full-screen-blocker.ts
idle-time-handler.ts
indicator.ts fix(electron): keep window reachable when show/hide shortcut has no tray 2026-04-20 15:48:40 +02:00
ipc-handler-wrapper.ts
ipc-handler.ts
jira.ts
local-file-sync.ts
local-rest-api.ts
lockscreen.ts
main-window.ts
main.ts
plugin-node-executor.ts
plugin-oauth.ts
preload.ts
protocol-handler.ts
proxy-agent.ts
shared-state.ts
simple-store.ts
start-app.ts
tsconfig.electron.json
various-shared.ts