Assigning Hotkey to "CTR+Q"

Steps to reproduce

  • Assign some hotkey to CTR+Q (eg Quick Switcher)
  • Open Quick Switcher OR Command Pallet OR Options window
  • While popout window is still open use CTR+Q

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

  • Obsidian won’t close itself.

Actual result

  • Obsidian will close all open vaults.

Environment

SYSTEM INFO:
	Obsidian version: v1.8.7
	Installer version: v1.8.7
	Operating system: #1 SMP PREEMPT_DYNAMIC Wed Dec 11 22:24:04 UTC 2024 6.6.65-1-MANJARO
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Additional information

  • CTR+Q is default shortcut to close electron application, but other apps that allow to reassign shortcuts respect changed setting in all windows (eg vscode)
  • In Obsidian only main window respects that CTR+Q shouldn’t close app anymore.