MacDownApp / MacDownApp/macdown

Window moving when exporting markdown to a pdf file that has already exist.

Open
#277 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

This is not a big issue, just a user-friendly-related one.
I'm using macdown on Macbook Pro 13' Retina.
When the macdown window is not maximized and is put on the left side of the screen(I did this because I was editing the markdown file while reading something else at the same time), I try to export it to a pdf file. By the time I export it to pdf from the menu, the window does not stay at where it was. Instead, it moves right a bit. If I choose to save the pdf file using a new name, the window will go back to the original position(left margin of the window). However, if I choose to use an existed name and replace the existed file, the window will not go back.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the export-to-PDF flow on macOS with the window positioned on the left, comparing a new filename with overwriting an existing file. Trace the export and save-overwrite path; done means the window remains in its original position in both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, objective-c
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.