Skip to content

v3.0.0

Latest

Choose a tag to compare

@tahayvr tahayvr released this 22 Oct 06:44

Postcard v3.0.0

Captures that work with Omasnap, a spotlight that can magnify, recent cards you can reopen, zoom and pan, and a stack of new ways to draw.

This is a major version because the separate magnifier is gone: magnifying is now something a spotlight does. Scripts that call annotate with "kind":"magnify", or set with "tool":"magnify", now get "nothing added" or "nothing to set" back.

Captures work on Omasnap

On Omarchy's Omasnap screenshot backend, every capture read as cancelled and the editor closed. Postcard now takes the screenshot itself with the same region picker Omarchy has always used, so the pick looks and works exactly as before, on stable Omarchy and on Omasnap alike. No more "Screenshot saved" notification from a capture that only feeds the editor, either. Thanks to @tcballard for finding this one (#14).

Capture the last region again

Last grabs the region you picked last time again, with no picker, so a series of shots can all come from the same spot. It only shows up once there is a region to take, and falls back to the picker if your monitors have changed since. It's also in the Add menu and the bar menu, on Ctrl+Shift+N, and capture last for scripts.

Spotlight: rounded, ringed and magnifying

  • A rounded rectangle joins the rectangle and ellipse.
  • A white border around each spotlight is one click away.
  • Each spotlight can magnify what's under it, 2×, 3× or 4×, right where it is, with every pixel a crisp block. Hidden areas stay hidden through it. This replaces the old magnifier with its separate lens and connecting line.
  • Spotlights that overlap stay lit where they overlap, and one near a rounded corner of the card no longer darkens the padding next to it.

Recent cards

The last five cards are kept with their shots, layout, style and marks, and can be reopened from the empty editor exactly as they were, even after a shell restart. A card is kept when you save, copy or close it. Scripts can list them with recent '' and reopen one with recent 1 (or its id).

Zoom and pan

Ctrl+wheel zooms in about the pointer, up to four screen pixels per shot pixel; + and - step the zoom, and 0 or a click on the footer's zoom readout fits the picture again. A zoomed view scrolls with a middle drag, the wheel, or the arrow keys when nothing is selected. Exports are unaffected.

More ways to draw

  • Filled and rounded shapes: boxes and ellipses can be filled in, and boxes given a corner radius.
  • Shift and Alt: Shift makes a box, ellipse or spotlight square and holds an arrow to 45°; Alt draws from the middle out. Shift on a corner handle keeps the shape.
  • Text styles: a label sits on an outline, a cream pill, or nothing. Shift+Enter starts a new line, and dragging out a box with the text tool gives a label that wraps at that width.
  • Snapping highlights: a highlight takes the height of the line of text under it, so it sits on the line rather than roughly across it.
  • Solid redaction: hide something with a solid block instead of pixelation, for when nothing at all should leak.

A cleaner header

The buttons across the top are icons now, with what they do on hover, grouped into screenshots, code card, and adding or opening a picture. The delay beside Screen shows just its value. On the left toolbar, each tool's key moved from the button into its tooltip.

Fixes

  • Pasted and duplicated marks step back the other way at the edge of the picture instead of landing outside it.
  • A plugin reload or shell restart in the middle of a capture no longer leaves the screen frozen.

Full Changelog: v2.3.0...v3.0.0