Images and PDFs freeze Obsidian

Steps to reproduce

  1. Open Obsidian
  2. Open Vault
  3. Open Image/PDF-File

Expected result

The file loads in the preview and I can switch to another file.

Actual result

The file loads in the preview window, but Obsidian freezes and I can’t open other files, because the UI does not respond anymore. Sometimes it unfreezes after about 10-20 seconds and I can keep working, other times I have to restart Obsidian.

Environment

  • Operating system: Windows 11, version 21H2 (Build 22000.527)
  • Debug info:
    SYSTEM INFO:
    Obsidian version: v0.13.23
    Installer version: v0.13.23
    Operating system: Windows 10 Pro 10.0.22000
    Login status: logged in
    Catalyst license: none
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: light
    Community theme: Shimmering Focus
    Snippets enabled: 0
    Safe mode: off
    Plugins installed: 17
    Plugins enabled: 17
    1: Dictionary
    2: Natural Language Dates
    3: Obsidian Git
    4: Discord Rich Presence
    5: Markdown prettifier
    6: Style Settings
    7: Autocomplete
    8: Smart Typography
    9: Advanced Tables
    10: Excalidraw
    11: Find unlinked files and unresolved links
    12: Juggl
    13: Ozan’s Image in Editor Plugin
    14: Pandoc Plugin
    15: PDF Highlights
    16: Sliding Panes (Andy’s Mode)
    17: Tracker

RECOMMENDATIONS:
Custom theme: for cosmetic issues, please first try updating your theme to latest. If still not fixed, please try to make the issue happen in the help vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the help vault or disable community plugins.


Additional information

Where is your vault stored? are you using some cloud service?

Does it happen in the help vault?

I got the folder synchronized with OneDrive, but I set it to always keep it on the device.

Hey, I had the same issue. Turned off and tested each plugin we had in common.

It isthe Autocomplete plugin that is causing obsidian to freeze.

I think the plugin is trying to scan the current file for its autocomplete strategy but since the file isn’t .md its causing a freezing issue

Edit: An issue was opened on the Autocomplete github page Obsidian Freezes on image open · Issue #31 · Yeboster/autocomplete-obsidian · GitHub

1 Like