PDFs on too long path not displayed, but markdown works

Steps to reproduce

Prerequisites: ensure long pathnames are allowed in windows: Fix Filename too long | TroubleChute Hub (tcno.co)

  1. Create a system of nested folders or a pdf-file where the lenght of the path is longer than 260 chars. Given this example: D:\Cloud\Archiv\Dokumente\2020-2029\2024\2024-09\2024-09-28 - Rechnung (Freizeit (Kindertheater, Eintritt, Popcorn)) - Rheinländischen Figurentheater - 29,00 €\2024-09-28 - Rechnung (Freizeit (Kindertheater, Eintritt, Popcorn)) - Rheinländisches Figurentheater - 29,00 €.pdf → 275 chars path
  2. Create a note (markdown) in Obsidian and embed the pdf-file with ![[…]]
  3. Ebedded PDF gets its typical border, but is not displayed
  4. Open the PDF inside of Obsidian “plain” to see it, this won’t be displayed either
  5. PDF document can be opened outside of Obsidian
  6. The Mardown file (same path length of 275 chars) is displayed without problems

Did you follow the troubleshooting guide? [Y]

Expected result

After enabling long path under windows - I expect files in Obsidian to be displayed

Actual result

Files, other than Markdown, are not displayed correctly, if the path is longer than 260 chars.

Environment

SYSTEM INFO: (Test Vault)
Obsidian version: v1.7.3
Installer version: v1.5.12
Operating system: Windows 10 Home 10.0.22631
Login status: logged in
Language: en
Catalyst license: insider
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

SYSTEM INFO: (working vault)
Obsidian version: v1.7.3
Installer version: v1.5.12
Operating system: Windows 10 Home 10.0.22631
Login status: logged in
Language: en
Catalyst license: insider
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 18
Plugins enabled: 16
1: Dataview v0.5.67
2: Templater v2.7.1
3: Tasks v7.9.0
4: File Diff v1.1.1
5: Tag Wrangler v0.6.1
6: QuickAdd v1.11.0
7: Link Tree v1.0.0
8: Tasks Calendar Wrapper v0.3.1
9: Auto Link Title v1.5.4
10: Icon Shortcodes v0.9.7
11: Linter v1.25.0
12: Omnisearch v1.24.1
13: Text Extractor v0.5.2
14: Substitutions v0.2.0
15: Style Settings v1.0.9
16: Contextual Typography v2.2.5


Additional information

Forum Post to discuss the issue: PDF with long path not displayed : r/ObsidianMD (reddit.com)

Aboud long path names under windows. I activated this option to test if it will solve my issue in Obsidian - which does it not. Other apps like Directory Opus (a file manager) where able to handle this files without issues.

Interesting is, that Obisidian is able to handle markdown files with a path longer than 260 chars - even without enabled long path option in windows.

Update. This isn’t an issue on Android. Long pathes are not a problen and pdfs displayed correctly within Obsidian @Android.