1# Pictures with a link
2
3`lab/` holds screenshots of OneNote 2010 in a disposable clone of
4`corpus/m6/native-features-01`, on the page "Image png", whose picture stores a link
5(WzHyperlinkUrl, the COM read's `hyperlink`). Hovering it shows the address and "Ctrl+click
6to follow link" (`hover.png`); a click selects the picture (`click-selects.png`); Ctrl+click
7opens the address, here an unreachable one (`ctrl-click.png`). Snowbound follows the same
8link on Ctrl+click, Command+click on macOS.
9
10`candidate/` is the output of `a_linked_picture_keeps_its_link_through_undo` in
11`crates/canvas/tests/pictures.rs`: the picture deleted and brought back by undo, published
12as one revision. `cold/` is a fresh OneNote 2010 read, whose picture still links there.
13`tools/test_picture_link.py` checks this without a VM. Regenerate with
14`CANVAS_PICTURE_LINK_EXPORT` set to a new absolute directory while running the test, then
15cold-open it with `tools/native_runner.py OUTPUT COLD --collect-notebook`.