MacDownApp / MacDownApp/macdown

Preview pane hidden and no option to restore it.

Open
#279 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Try this:
1. Open a .md file in MacDown [Don't do this with a file you care about!]
2. Hide the preview pane (Shift-Command-H)
3. Close the window (Command-W)
4. Open the same file again

When I do this, the preview pane is now permanently hidden: The "Restore Preview Pane" item in the View Menu is missing, and Shift-Command-H has no effect. It's specific to the file; other files still have their preview panes. But whenever I open this file again, I can't preview it.

How to I get the preview back? I assume there's some state being cached, but I tried quitting MacDown, removing `~/Library/Preferences/*macdown*`, `~/Library/Caches/*macdown*` and `~/Library/Saved\ Application\ State/*macdown*` and relaunching, but there's still no preview pane. Is there something else I can clear?

Thanks!

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

No source file or test is named. Start by reproducing the listed MacDown steps with a disposable .md file and inspect how the per-file preview-pane state is retained; done means the preview can be restored and remains available when that file is reopened.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.