Steps to reproduce
- Assign shortcut to “Files: Show file explorer”
- When editing a note, use the shortcut to jump to file explorer
- Press up and down arrows to see that you can move around the explorer with just arrows
- Now delete a file with Cmd+Backspace
- Nothing is focused and pressing the shortcut does not focus the file explorer - you are unable to move around the explorer with the arrows
Expected result
Explorer gets focused and I can move around the files with the arrows.
Actual result
Lack of focus.
Environment
- Operating system: macOS Monterey 12.4
- Debug info:SYSTEM INFO:
Obsidian version: v1.0.3
Installer version: v1.0.3
Operating system: Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:29 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T8101 21.5.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 5
Plugins enabled: 3
1: Mind Map v1.1.0
2: Obsidian Enhancing Export v1.1.7
3: Copy as HTML v1.0.5
Additional information
- When you Cmd+W close the last tab and the app loses focus, the shortcut to focus file explorer works.
- When you delete the file with Cmd+Backspace it seems no matter what you do afterwards, you can’t regain focus unless you use mouse. E.g. you can Cmd+n to create a new note and you can start writing, but using the shortcut to focus file explorer will not work. Using Cmd+Shift+F to global search and then shortcut to file explorer will not help either.
- Conclusion - After deleting the file on macOS Obsidian gets into some kind of a seriously defocused state.