kepano / obsidian-minimal

A distraction-free and highly customizable theme for Obsidian.
https://minimal.guide
MIT License
3.74k stars 186 forks source link

PDF thumbnails cannot be right-clicked to open a context menu when Style Settings is enabled #702

Closed RyotaUshio closed 8 months ago

RyotaUshio commented 8 months ago

Is the bug present when using the default Obsidian theme?

No

Is the bug present when snippets and plugins are disabled?

No

Minimal theme version

7.5.1

Describe the bug

When both Minimal & Style Settings are enabled (this is why I answered "No" to the second question), PDF thumbnails cannot be right-clicked to open a context menu.

Screen captures from the sandbox vault:

Debug info

SYSTEM INFO:
    Obsidian version: v1.5.8
    Installer version: v1.5.3
    Operating system: Darwin Kernel Version 22.6.0: Wed Jul  5 22:22:52 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T8103 22.6.0
    Login status: logged in
    Catalyst license: none
    Insider build toggle: off
    Live preview: on
    Base theme: adapt to system
    Community theme: Minimal v7.5.1
    Snippets enabled: 0
    Restricted mode: off
    Plugins installed: 1
    Plugins enabled: 1
        1: Style Settings v1.0.7

RECOMMENDATIONS:
    Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox 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 Sandbox Vault or disable community plugins.
RyotaUshio commented 8 months ago

I noticed that this is not specific to PDF thumbnails but applies to all images. But for images embedded in markdown files, it is not a big deal because Obsidian doesn't show context menus by default. However, it IS problematic when it comes to PDF thumbnails because right-clicking should trigger a context menu (copy link to page).

kepano commented 8 months ago

Fixed in 7.5.2

RyotaUshio commented 8 months ago

Thank you for the quick work!