Issue Report: Window moves position after opening a document

Royce's Avatar

Royce

12 May, 2022 09:10 AM

// Please enter a detailed description of the issue // Description of the issue: The Marked app window gets shifted downwards when opening a new document.

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

  1. Launch the app and move the window to occupy the top right portion of the laptop.
  2. Open a document using AppleScript
    tell application "Marked"
    open posixFilepath -- Pass any posix file path of a markdown file. end tell
  3. Document opens nicely, then after about a second, the Marked app window shifts downwards.
  4. Subsequent opening of another document moves the window downwards again.

P.S.
The report issue window frequently crashes. I had to retype this report 3x, this time on another editor to avoid losing what I already typed.

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

// Configuration (do not edit) Marked 2 1031 (Setapp)

macOS Version: 12.3.1

additionalMathJaxConfig:
allowPageBreakInCode: YES
bookTxtIsLeanpub: NO
summaryMdIsGitBook: NO
codeIsPoetry: NO
codeCanWrap: YES
collapsibleHeadlines: YES
convertGithubCheckboxes: YES
convertGithubEmoji: 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: YES
includeKatex: NO
limitTextWidth: YES
mathNumberEquations: NO
mathNumberEquationsSide: 0
mathNumberEquationsAMSOnly: NO
minimalJavaScript: YES
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 11 Jun, 2022 03:16 PM

    Brett's Avatar

    I went in to test this and for some reason Marked is crashing every time
    I call `open` with AppleScript, so that's an even larger problem I'll
    have to deal with before this. If I can solve _that_, I'll try to figure
    out why you're seeing the window move. Thanks for the report, it'll just
    take me a bit to get there!

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