Property panel corrupts binary files

Steps to reproduce

  • Open a binary file (image, video…) in a dedicated tab
  • Open the file property pane
  • Add a property

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

Y

Expected result

  • Ideally: the property is assigned to the binary file, which would require storing it outside the file. (This feature would be awesome for binary file management, especially if the properties participate in search / link properties show up in backlinks.)
  • Acceptably: it is not possible to add the property to a binary file.

Actual result

  • The corresponding front matter is blindly prepended to the file, corrupting it.

Environment

SYSTEM INFO:
Obsidian version: v1.4.2
Installer version: v1.1.16
Operating system: Windows 10 Enterprise 10.0.19045
Login status: logged in
Catalyst license: insider
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

it’s not possible to associate properties to binary files. However, corruption should not happen.

How is the file corrupted? can you please post a screen recording?

Can confirm in Sandbox vault:

Obsidian_6c2um2g6zD

And the resulting image opened from Windows Explorer:

image

2 Likes

Doesn’t any version over 1.3.6 need a newer installer? Could that be an issue?

Thanks we can repro. If an updated installer is needed you get an in app notification.

1 Like

Will be fixed 1.4.3

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.