Bug: Marked 2 doesn't support multi-file open from Finder via File > Open With > "Marked 2", drag-n-drop onto the icon, etc.

Tyler's Avatar

Tyler

30 Jul, 2020 03:54 AM

// 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:

  1. Select multiple files in the Finder
  2. 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

  1. Support Staff 1 Posted by Brett on 30 Jul, 2020 10:07 AM

    Brett's Avatar

    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. 2 Posted by Tyler Morrison on 30 Jul, 2020 07:06 PM

    Tyler Morrison's Avatar

    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

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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