Claude
9a4c48d9ea
fix: prevent macOS shutdown blocking when tray icon is active
...
Added proper handling of app quit events to prevent blocking system
shutdown on macOS. When the system initiates shutdown, the app now
correctly allows windows to close instead of intercepting the close
event and hiding them to the tray.
Changes:
- Added isQuitting flag to track app quit state
- Modified onWindowClose to allow closing during quit
- Modified onWindowUnload to skip interception during quit
- Added before-quit event listener to set flag and cleanup
This fix ensures that when users shut down their Mac, Obsidian
will properly exit even when running in background with tray icon,
resolving the issue where shutdown would hang waiting for the app.
2025-11-12 00:20:11 +00:00
Achilleas Koutsou
5e7ee6ca73
fix: update documentation URL for Electron accelerator format
...
The current URL is outdated (404). Accelerator documentation is now
in the keyboard shortcuts section of the tutorial.
2025-10-16 11:08:33 +02:00
Blue Falcon
62fcf88fe6
feat: expose getCurrentWindow
2024-06-23 02:13:35 -07:00
Blue Falcon
09fe3c2d03
feat: expose windowing APIs to other plugins
...
exposes:
- getWindows()
- showWindows()
- hideWindows()
- toggleWindows()
2024-06-23 01:57:53 -07:00
cc0baa3226
fix : #29 #30 focus maximised windows on trigger after alt-tab
2023-09-04 21:26:01 +10:00
6a76f575ed
revert hotkey changes as per #19
2023-08-24 18:40:50 +10:00
b60e453b68
fix #28 : restore dock on close, hide dock on focus if req
2023-08-24 18:39:19 +10:00
77ce4bd54a
partial fix #28 : will quit obsidian if single vault is closed
...
however, causes dock to vanish if multiple vaults are open?
2023-08-23 23:17:51 +10:00
096bb34d54
fix #19 : use super for default hotkeys to avoid conflicts
...
e.g. CmdOrCtrl+Shift+Tab is bound by default to switch tabs in obsidian and chrome
note that this will not affect macos users, as super still binds to cmd
2023-08-23 22:37:51 +10:00
fb15c25171
fix #16 : disable toggle on macos menubar icon click
2023-08-23 22:06:27 +10:00
b62d8862ab
theoretically fix #28 : quit app on macos if no windows remain
...
fix: keep track of current window even after 'close' for toggling back to focus with hotkey if run in background enabled (bug introduced in 5cef2b0ed7 )
2023-08-23 21:58:06 +10:00
4c0c3da898
theoretically fix #27 : call app.dock.hide() on mac
...
+ restore hidden taskbar icons on plugin cleanup/disable
2023-08-23 21:38:04 +10:00
b8326526ef
fix #21 : always create quick notes relative to root
2023-08-23 21:25:41 +10:00
5cef2b0ed7
fix #22 : preserve maximised windows after minimisation
2023-08-23 20:40:47 +10:00
Zarpyk
71ba850a15
Fix #22
2023-07-27 13:58:32 +02:00
d49c49fe83
chore: update plugin description
2023-04-11 16:49:38 +10:00
aac711518b
chore: bump version to 0.3.2
2023-04-11 16:35:34 +10:00
aa4e824723
feat: register close vault to command palette
2023-04-11 16:32:23 +10:00
d37152dd4e
chore: update terminology to different between vault-level and app-level actions
2023-04-11 16:31:36 +10:00
b8834b1286
feat: make tray icon tooltip configurable
2023-04-11 16:21:26 +10:00
Hedonihilist
f0c6a5d49f
use the vault name as tray icon tooltip
2023-04-11 00:18:00 +08:00
4e097cca14
chore: change plugin id from obsidian-tray -> tray
2023-04-10 23:53:07 +10:00
5cf55e3b7c
chore: bump version to 0.3.0
2023-04-10 23:46:37 +10:00
44518be5a5
feat: edit tray icon w/out app restart
2023-04-10 23:44:25 +10:00
3270ed5d82
feat: #7 multi-vault support (open, hide & quit actions target vault windows only)
2023-04-10 23:35:39 +10:00
db671961c5
feat: #2 customisable tray icon image
2023-04-10 21:24:13 +10:00
84a02f157a
fix: prevent type-specific format descs from duplicating on menu reopen
2023-04-10 21:14:27 +10:00
f48cd63a02
chore: bump version to 0.2.1
2023-04-10 13:11:15 +10:00
f4e4fad2aa
feat: #8 register relaunch obsidian to command palette
2023-04-10 13:05:33 +10:00
1ba0ffb550
chore: define all messages in constants
2023-04-10 12:59:44 +10:00
1fd510e3d2
fix : #12 intercept window close at electron level
2023-04-10 12:37:07 +10:00
046440ea3c
chore: bump version to 0.2.0, update readme
2023-04-10 00:10:12 +10:00
da54fc0937
feat: #10 add quick notes via tray or hotkey
2023-04-10 00:02:32 +10:00
d34a8edf42
chore: set defaults to disabled, make window-management modifications opt-in
2023-04-09 22:25:09 +10:00
74784eb6df
feat: hide from taskbar option #11
2023-04-09 22:19:28 +10:00
b366512321
chore: use 16x16 base64 encoded icon for macos compat
2023-04-09 21:51:51 +10:00
fbce51895d
fix: hide on launch after layout ready to prevent refocusing of minimised window
2023-04-09 21:34:30 +10:00
7f9ec58cfa
fix : #4 , #6 decouple run in background and hide on launch opts
2023-04-09 16:14:42 +10:00
5a81b44df1
chore: bump version in main.js
2022-11-23 15:52:27 +11:00
94ab240b51
fix: cleanup window close interception on plugin unload
2022-11-23 15:44:13 +11:00
7d87865e90
feat: add tray and hotkey
2022-11-23 15:27:46 +11:00