MacDownApp / MacDownApp/macdown

Animated gifs absolutely crush the preview window

Open
#361 2 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

It hangs and draws artifacts all over the place for ~60 seconds after you insert a gif like this one:

![slow smile](http://i.giphy.com/R0TrhAtNeUC0E.gif)

Maybe this is while the gif is loading? It figures itself out after a while. Sometimes it's like 3 minutes of hang time, actually. Just thought I'd bring it up.

Here is what these artifacts look like:

![image](https://cloud.githubusercontent.com/assets/548809/7428196/29ec85ae-f016-11e4-8990-f74eb85852b6.png)

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 issue in MacDown's preview window by inserting the linked animated GIF, then trace the preview rendering path responsible for loading and displaying it. Done means animated GIFs no longer cause prolonged hangs or visual artifacts during preview.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.