MacDownApp / MacDownApp/macdown

resizing panes to the left freezes macdown

Open
#414 2 comments 0 reactions 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

Hey guys! First of all keep up the good work! ;)
I'm on OS X 10.10.4 and using MacDown v0.4.5.1 (647)

Soo... I found this little bug when resizing the panes to the left so you can read the document without getting bothered with the raw MD-text.
When the MD-pane is about 0 or 1 column wide macdown freezes completely and takes 98.9% CPU 'till you kill it. This happens only when you do it slow enough.

I illustrated it here:
![bildschirmfoto 2015-07-31 um 13 42 08](https://cloud.githubusercontent.com/assets/5539202/9006862/2e73032e-378c-11e5-8940-0be427f3bdb8.png)

![bildschirmfoto 2015-07-31 um 13 45 47](https://cloud.githubusercontent.com/assets/5539202/9006869/3a7d430a-378c-11e5-9de9-e1c29046a677.png)

Aaaaand its frozen! I got the "Spinning Beachball of Death" when i mouseover MacDown now (I didn't figure out how to take screenshots WITH the mouse cursor in them :/ just imagine it)
![bildschirmfoto 2015-07-31 um 13 44 02](https://cloud.githubusercontent.com/assets/5539202/9006870/3dbc086c-378c-11e5-90ac-1d55fc648956.png)

I hope this is enough information :)

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 this on MacDown v0.4.5.1 under OS X 10.10.4 by slowly resizing the panes until the MD pane is about 0 or 1 column wide. Confirm that the application remains responsive and does not reach the reported 98.9% CPU usage or freeze.

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.