"Raise window on update" does not work with tabbed windows

Darrell Bennington's Avatar

Darrell Bennington

08 Feb, 2021 12:52 AM

// Please enter a detailed description of the issue // Description of the issue: The “Raise window on update” feature does not work when you are using multiple documents with merged windows. After a document is updated, Marked does not get raised as expected, leaving it behind other windows and not visible. If it doesn't need to be raised to be visible, you can also see that the active tab has not changed to show the recently updated document.

// Please enter a list of steps required to reproduce the issue // Steps to reproduce:

  1. Check “Raise window on update” in settings
  2. Open multiple documents in Marked
  3. Select Window->Merge All Windows, to move the separate windows to tabs within the same window.
  4. Put some other window over top of Marked (such as Safari)
  5. Edit one of the documents that is opened (active tab or not)
  6. Save the edited document
  7. Expected: Marked is raised above Safari, with the active tab showing the recently updated/saved document
    Actual: Marked did not raise above Safari (and if visible - not needing to be raised - the active tab does not change)

Note: If you do the above steps (other than step 3, so do not merge the windows), then the Marked window with the updated/saved document is raised as expected. The problem only comes into play with merged windows.

// If applicable please attach a sample document that causes the issue for you.

// Configuration (do not edit) Marked 2 1014 (Direct)

macOS Version: 10.15.7

allowPageBreakInCode: YES
bookTxtIsLeanpub: NO
summaryMdIsGitBook: NO
codeIsPoetry: NO
codeCanWrap: YES
collapsibleHeadlines: NO
convertGithubCheckboxes: YES
convertGithubEmoji: YES
convertYAMLToMMD: NO
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML
defaultPreviewStyle: 0
defaultProcessor: MultiMarkdown
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
mathNumberEquations: NO
mathNumberEquationsSide: 0
mathNumberEquationsAMSOnly: NO
minimalJavaScript: NO
permissionGranted: NO
printHeaderFirstPage: NO
printFooterFirstPage: NO
processHTMLFiles: YES
removeMetadataForPreview: NO
removeYAMLHeaders: NO
scrollToEdit: YES
shouldDetectCritic: YES
shouldHighlightMarkupErrors: NO
shouldLoadCritic: NO
syntaxHighlight: YES
syntaxHighlightOnlyLang: NO
useCustomMarkdownProcessor: NO
useCustomPreprocessor: NO
useFirstH1AsPrintTitle: YES

  1. Support Staff 1 Posted by Brett on 08 Feb, 2021 06:14 PM

    Brett's Avatar

    Marked's code predates macOS tabs and it was unfortunately never built
    as a tabbed application. It's compatible with the operating system's
    implementation, but none of its internal windowing functionality can be
    expected to work when they're being used.

    As an alternative, did you know you can open a folder in a Marked
    preview and have it automatically show the most recently-modified file
    in that folder? A folder window can raise as expected.


  2. 2 Posted by Darrell Benning... on 08 Feb, 2021 06:28 PM

    Darrell Bennington's Avatar
    As an alternative, did you know you can open a folder in a Marked 
    preview and have it automatically show the most recently-modified file 
    in that folder? A folder window can raise as expected.

    I did not know that, and that perfectly covers my use case! Thanks a ton!

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


? 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