MacDownApp / MacDownApp/macdown
Crash when scrolling on initial Markdown preview render (MacOS Sierra)
Nobody has claimed this yet.
- Dominant language
- Rich Text Format
- Stars
- 9.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
I noticed today that when I opened a rather large Markdown file in Macdown, and tried to scroll down immediately, before the preview finished rendering, the application would crash. This happened a couple of times, also with some smaller files. I successfully managed to replicate it just before writing this report (to get the crash log). It seems to be an issue with the main view trying to scroll the preview view before it has any content. Here is an image of the crash log:

Here is the full log:
http://pastebin.com/EenjhawV
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the crash by opening a large Markdown file in MacDown and scrolling before the preview finishes rendering; the issue includes a crash image and full log for comparison. Trace the main view and preview view interaction during initial rendering, then verify that scrolling before rendering completes no longer crashes.
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
- Mostly clear
- Newbie friendliness
- 35/100