-
-
Notifications
You must be signed in to change notification settings - Fork 59
[Bug] [mac-osx] .md files unable to open from Finder in Ferrite 2.7 #102
Description
Description
Right Click -> Open With Ferrite or associating "*.md" to open with Ferrate and double-clicking fails in the finder.
Environment
- OS: Mac OSX 15.6.1 (Sequoia)
- Ferrite version: 0.2.7
- Rust version: rustc 1.93.1 (01f6ddf75 2026-02-11) (Homebrew)
- Installation method: pre-built binary 0.2.7 / built from source (v0.2.6 issue exists build from source
Steps to Reproduce
- Right Click .md file select 'Open With...' and seelct Ferrite
- See error
Expected Behavior
*.md files would open in Ferrite from double click/Open With commands
Actual Behavior
File doesn't open, Error message is generated.
Screenshots
Additional Context
From 0.2.6 source investigation:
Root cause: assets/macos/info_plist_ext.xml declares CFBundleDocumentTypes with net.daringfireball.markdown in LSItemContentTypes, but is missing a UTImportedTypeDeclarations block. Without it, the app bundle contains no definition for that UTI, so macOS cannot complete the file-type handoff and throws the "cannot open files in the Markdown Document format" error.
Fix: Add a UTImportedTypeDeclarations entry to assets/macos/info_plist_ext.xml defining net.daringfireball.markdown with public.plain-text conformance and the relevant file extensions (md, markdown, mdown, mkd, mkdn). Rebuild the .app bundle with cargo bundle --release to verify.