MacDownApp / MacDownApp/macdown

Open SVG Source > Edit Source > Export SVG > Reload ... fails.

Open
#606 0 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

_Scenario: Trying to streamline view, edit, update, reload of SVG image authoring round trip workflow._

**Steps To Create Problem**
Step 1. Display an SVG diagram in MacDown which links back to the source authoring document*.

For example, `[![alt text](Diagram.svg)](DiagramSource.graffle)` , or `[![alt text](Diagram.svg)](DiagramSource.pcvd)`.

Step 2. Click SVG diagram. Edit authoring document. Save (or export) updated SVG file.

Step 3. Notice that MacDown (which has not been quit) does not automatically update. [Bug?]

Step 4. Try MacDown context click `Reload` in the preview pane. Then try resizing MacDown document window. Notice that the preview become scrambled. [Bug]

**Workaround: Quit & relaunch MacDown after each SVG file source update.**

\* _The source design may not be the SVG file itself. I tested round trips with OmniGraffle and WebCode source documents. I suspect the issue for the more the MacDown SVG file changed reload, independent of the authoring source document type._

MacDown: version 0.6 (749)
Mac OS X: 10.10.5

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 round trip in the MacDown preview pane using a linked SVG and an externally updated source, then test Reload and window resizing. Compare the preview before and after the SVG update; done means Reload displays the updated image without scrambling, without requiring MacDown to quit and relaunch.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, objective-c
Domain
computer-graphics, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.