"Search current file" doesn't work with PDF when the file is navigated to from internal link

Steps to reproduce

  1. Open the Sandbox Vault.
  2. Add a PDF to the vault.
  3. Create a new note.
  4. In the new note, add an internal link to the PDF.
  5. Click the internal link to open the PDF.
  6. Press CTRL+F to search within the PDF.

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

Y

Expected result

The search bar should display at the top of the window.

Actual result

Nothing happens.

Environment

SYSTEM INFO:
Obsidian version: v1.7.7
Installer version: v1.6.5
Operating system: Windows 11 Pro 10.0.22631
Login status: logged in
Language: en
Catalyst license: none
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

Search will work as expecting when right-clicking on the internal link and selecting “Open in new tab” (but not when selecting “Open link”).

thanks!

1 Like

Will be fixed 1.8.2