Skip to content

Desktop: Paint's remaining XP tools and a double-click color swap - #238

Merged
brsbl merged 8 commits into
mainfrom
bb/desktop-paint-tools-thr_xitrpg5vep
Oct 4, 2026
Merged

brsbl merged 8 commits into
mainfrom
bb/desktop-paint-tools-thr_xitrpg5vep

Conversation

@brsbl

@brsbl brsbl commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

Paint’s eight disabled tools now work, and double-clicking the color squares swaps primary and secondary colors.

  • Adds airbrush, curve, polygon, rounded rectangle, magnifier, rectangular/free-form selection and text, with their drawing options.
  • Selection supports move, Option-drag copy, delete, transparency and undo. Magnification preserves drawing coordinates.
  • Pending shapes, selections and text commit once when changing tools or saving/exporting/sending; New/Open prompt before discarding them.
  • Fixes fill-only color choice, text placement at canvas edges, long-word wrapping, and save during an active gesture.

Validation

  • Remote CI passed on 65dc62207bab169f40b72e41874f3391fb28688d: run.
  • Prior Chrome for Testing 151.0.7922.71 behavior QA passed for every tool, fill styles, selection move/copy/delete/transparency, zoom coordinates, pending-work save/send/undo, edge text placement and long-word wrapping. Final-head toolbox/options and double-click color-swap evidence refreshed after the main merge.
  • Cumulative Slop Cop found one P1: Undo after copying a moved selection erased both copies. Fixed by capturing the stamped original.
  • Chrome checks on fix commit 39d166033 passed for rectangular and free-form selections: first Undo preserves the moved original; second restores its starting position.
  • Two P2 follow-ups remain: discarded selection bitmap retention and Escape during an active curve/polygon gesture.

Screenshots

Before: 60b413490ed6b734f63c91651d75befbd3a42df8 · After: 65dc62207bab169f40b72e41874f3391fb28688d · Same house drawing and 1440×900 CSS viewport; 2× PNGs.

State Before After
Toolbox and shape options Before tools After tools
Double-click color swap Before swap After swap

BB-Thread-ID: thr_xitrpg5vep

brsbl and others added 2 commits October 2, 2026 21:16
…oxes, faster wrap

- Send lands pending text, curves and polygons first and saves when anything landed, so the agent gets the picture as it is.
- New and Open ask before discarding pending work.
- Cmd/Ctrl+S is ignored mid-gesture, so a curve or polygon can't land twice.
- A click near the bottom or right edge opens a full one-line text box inside the picture.
- wrapText binary-searches long unbroken words and stops at the box's line count, so a pasted URL or CJK paragraph no longer freezes bb.
- README lists all sixteen tools, fill styles, Option/Alt for the secondary color, and the double-click swap.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
brsbl added a commit that referenced this pull request Oct 3, 2026
…s-thr_xitrpg5vep

# Conflicts:
#	plugins/desktop/docs/DESIGN.md
brsbl added a commit that referenced this pull request Oct 3, 2026
@brsbl
brsbl merged commit 1dbed31 into main Oct 4, 2026
25 checks passed
@brsbl
brsbl deleted the bb/desktop-paint-tools-thr_xitrpg5vep branch October 4, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant