obsidian-omnisearch icon indicating copy to clipboard operation
obsidian-omnisearch copied to clipboard

[BUG] Open result in new tab/pane not working on MacOS

Open pcuellar opened this issue 1 year ago • 2 comments

Problem description:

When trying to open a note in a search list on a new tab/pane using the CTRL+SHIFT combination, it opens it in the same tab. I tried all possible combinations with SHIFT, CMD and CONTROL to no avail.

Your environment:

  • Omnisearch version: 1.14.0
  • Obsidian version: v1.3.1
  • Operating system: MacOS Ventura 13.4
  • Number of indexed documents in your vault (approx.): 500

Things to try:

  • Does the problem occur when Omnisearch is the only active community plugin: Yes
  • Does the problem occur when you don't index PDFs, images, or other non-notes files: Yes
  • Does the problem occur after a cache reset: Yes

pcuellar avatar May 19 '23 19:05 pcuellar

I am also experiencing this bug; CMD+Enter does not open in a new pane. Also on macOS Ventura 13.4

cesar-programs avatar Sep 10 '23 10:09 cesar-programs

I don't own a Mac so can't test it.

Those are the related lines:

https://github.com/scambier/obsidian-omnisearch/blob/d651278b43c5df46accb6ffcf7ce981fe86902e6/src/components/modals.ts#L70-L86

https://github.com/scambier/obsidian-omnisearch/blob/d651278b43c5df46accb6ffcf7ce981fe86902e6/src/components/ModalVault.svelte#L97

According to Obsidian's API, "Mod = Cmd on MacOS and Ctrl on other OS"

scambier avatar Sep 10 '23 13:09 scambier

Closing this as I can't reproduce. If the problem still exists on the latest versions of Obsidian & Omnisearch, please provide the following information:

  • Does it happen when Omnisearch is the only community plugin enabled?
  • Does it happen with another community plugin that uses the same cmd+enter combination?

Thank you.

scambier avatar Jun 27 '24 19:06 scambier