kaishin / markoff

A lightweight Markdown (CommonMark) previewer for macOS.
ISC License
793 stars 43 forks source link

Doesn't allow opening .md files (grayed out in open dialog) #51

Open madis opened 5 years ago

madis commented 5 years ago

Markdown files are grayed out in open dialog. What are the plans for fixing it?

screen shot 2018-12-21 at 08 06 46
Lotterleben commented 5 years ago

I'm experiencing the same issue (using Mac OS Mojave 10.14.2).

dvillacesopra commented 5 years ago

Me too

rkhater commented 5 years ago

@kaishin Same Issue the log tells: 2019-09-30 17:08:09.698 Markoff[76036:1295633] -[NSDocumentController fileExtensionsFromType:] is deprecated, and does not work when passed a uniform type identifier (UTI). If the application didn't invoke it directly then the problem is probably that some other NSDocument or NSDocumentController method is getting confused by a UTI that's not actually declared anywhere. Maybe it should be declared in the UTExportedTypeDeclarations section of this app's Info.plist but is not. The alleged UTI in question is "net.daringfireball.markdown". 2019-09-30 17:08:09.698 Markoff[76036:1295633] An NSDocumentController returned nil when sent -fileExtensionsFromType:@"net.daringfireball.markdown". See the info about new support for UTIs in the Leopard AppKit release notes. 2019-09-30 17:08:09.698 Markoff[76036:1295633] -[NSDocumentController fileExtensionsFromType:] is deprecated, and does not work when passed a uniform type identifier (UTI). If the application didn't invoke it directly then the problem is probably that some other NSDocument or NSDocumentController method is getting confused by a UTI that's not actually declared anywhere. Maybe it should be declared in the UTExportedTypeDeclarations section of this app's Info.plist but is not. The alleged UTI in question is "public.txt". 2019-09-30 17:08:09.698 Markoff[76036:1295633] An NSDocumentController returned nil when sent -fileExtensionsFromType:@"public.txt". See the info about new support for UTIs in the Leopard AppKit release notes.

ghost commented 4 years ago

same on catalina

ed9w2in6 commented 4 years ago

References:

Referencing the linked issues above, this seems to be a long existed problem.

Not being able to open markdown files should be considered a major flaw as I believe being able to opening markdown files is the premise.

I can confirm that the problem still exists as of 6th July, 2020, restarted computer as per suggestion.

System Information:


Edited to make the tone more polite, sorry any discomfort that this may have caused.

kaishin commented 4 years ago

@ed9w2in6 My current priority is to resurrect this project with a 2.0 for Catalina and a complete rewrite for Big Sur. I reviewed all the current open issues and I will make sure none of them are in the next major release. I might or might not backport some of the fixes to the older branches, since it's a question of affording the time to do so.

The context in which I open-sourced this app is very different from today's context. I would happily accept a PR on the older branches, but it's not a top priority for me now to fix these issues you outlined. Thank you for your understanding.