Bug: Marked 2 doesn't support multi-file open from Finder via File > Open With > "Marked 2", drag-n-drop onto the icon, etc.
// Please enter a detailed description of the issue // Description of the issue:
Marked 2 does not handle multiple file open events properly. Instead of opening new windows with the passed files it does nothing.
This is true if the open multiple event is generated via any of:
a. Dragging multiple .md files onto the Marked 2 icon in the Dock when Marked 2 is already running
b. Selecting multiple .md files in the Finder and using the contextual menu (right-click) and select Open With > and select Marked 2.
c. Selecting multiple .md files in the Finder and then selecting the menu command File > Open With > “Marked 2”
…and probably any other way one can do this (applescript or whatever).
// Please enter a list of steps required to reproduce the issue // Steps to reproduce:
- Select multiple files in the Finder
- Select File > Open With > “Marked 2”
-> No new windows open in Marked 2 for the files as desired or expected.
// If applicable please attach a sample document that causes the issue for you.
// Configuration (do not edit) Marked 2 990 (Direct)
macOS Version: 10.15.6
additionalMathJaxConfig:
allowPageBreakInCode: YES
bookTxtIsLeanpub: NO
summaryMdIsGitBook: NO
codeIsPoetry: NO
codeCanWrap: YES
collapsibleHeadlines: NO
convertGithubCheckboxes: YES
convertYAMLToMMD: NO
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML
defaultPreviewStyle: 3
defaultProcessor: Discount (GFM)
enableMiniMap: NO
excludeBlockQuotesFromCounts: NO
excludeFootnotesFromCounts: NO
excludeVerbatimFromCounts: NO
excludeCaptionsFromCounts: NO
folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml
githubNewlines: YES
h1IsPageBreak: NO
h2IsPageBreak: NO
hrIsPageBreak: NO
includeMathJax: NO
includeKatex: NO
limitTextWidth: NO
minimalJavaScript: NO
outlineModeExtensions:
permissionGranted: NO
printHeaderBottomLeft:
printHeaderBottomRight:
printHeaderFirstPage: NO
printFooterFirstPage: NO
printHeaderTopLeft:
printHeaderTopRight:
processHTMLFiles: YES
removeMetadataForPreview: NO
removeYAMLHeaders: NO
scrollToEdit: YES
shouldDetectCritic: YES
shouldHighlightMarkupErrors: YES
shouldLoadCritic: NO
syntaxHighlight: YES
syntaxHighlightOnlyLang: NO
useCustomMarkdownProcessor: NO
customMarkdownProcessor:
useCustomPreprocessor: NO
customPreprocessor:
useFirstH1AsPrintTitle: YES
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 30 Jul, 2020 10:07 AM
Hi Tyler,
Thanks for getting in touch. This is a known issue that dates back
longer than I care to admit. While frustrating, I've never been able to
figure out why this happens.
-Brett
2 Posted by Tyler Morrison on 30 Jul, 2020 07:06 PM
I presume this an NSDocument base application?
Which of the NSApplicationDelegate messages are you implementing?
I’d be happy to help you debug this if you’d like.
Tyler