MacDownApp / MacDownApp/macdown

Uncaught error when opening multiple documents in MacDown on Mac OS X 10.11 beta

Open
#409 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

  1. Run MacDown: the default blank document opens.
  2. Choose File > Open to open another document.

EXPECTED: The new document opens, and the default blank document is still there. (Incidentally I think it would be a good enhancement to close the default blank document when opening another document, if the default blank document has no unsaved changes.)

ACTUAL: The opened document window appears, but a message box appears reporting a caught exception, and saying that you can click Continue to run in an inconsistent state, but woe betide you.

  1. Click Continue.

EXPECTED: Not sure. Hopefully I can keep working!
ACTUAL: MacDown crashes out.

WORKAROUND: Close the default document before opening the document you want to edit, and only have one document window open at once.

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 crash on Mac OS X 10.11 beta by opening a second document while the default blank document remains open, then compare it with the stated workaround of closing the default document first. Trace the exception and crash from that reproduction; done means multiple documents can be opened without an exception or crash and the existing document remains usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, objective-c
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.