Commit Graph
6532 Commits
Author SHA1 Message Date
Dylan M. Taylor 60833ae800 packaging: Flatpak finds and prints to CUPS printers (#4634)
* packaging: Flatpak finds and prints to CUPS printers

The Print dialog listed no printers in the Flatpak: the runtime has libcups but not
lpstat/lp, the sandbox couldn't reach the CUPS socket, and driverless network printers
(lpstat -e) need Avahi. Bundle lpstat/lp/lpoptions from CUPS 2.4.20 (Apache-2.0,
statically linked, licence installed) and grant --socket=cups and
--system-talk-name=org.freedesktop.Avahi in both manifests.

* packaging: Flatpak reads the user's CUPS settings (~/.cups, read-only)

Review (CodeRabbit): without it the sandbox's lp/lpstat ignore the user's default
printer and saved options (lpoptions) and a print server named in their client.conf.

* packaging: Flatpak CUPS tools reach the host socket when client.conf names a custom path

Review: Flatpak mounts the host's CUPS socket at /var/run/cups/cups.sock whatever
path ~/.cups/client.conf or CUPS_SERVER names, so lp/lpstat/lpoptions now run through
a wrapper that points a socket path missing in the sandbox there. Server names
(remote servers) and sockets that exist are left alone. Tested in the sandbox:
CUPS_SERVER=/run/custom/cups.sock lists the host's printers through the wrapper and
none without it; a host name is passed through unchanged.

* packaging: redirect a custom CUPS socket only when it is the one Flatpak mounted

Review (CodeRabbit): Flatpak picks the socket it mounts at /var/run/cups/cups.sock
with stricter rules than CUPS (flatpak-run-cups.c: a socket CUPS_SERVER, else the
first line spelled exactly "ServerName /path" in ~/.cups/client.conf, else the
default), while CUPS reads the keyword in any case and takes the last ServerName. The
wrapper now redirects only when CUPS' socket is the one Flatpak chose, so a job can't
reach a different server; otherwise CUPS fails on the missing path.

* packaging: never redirect a CUPS_SERVER the sandbox was given

Review (CodeRabbit): Flatpak picks the socket it mounts from the host's CUPS_SERVER,
so one set by flatpak run --env or an override may not be what it mounted. The
wrapper now leaves any CUPS_SERVER alone and redirects only a client.conf socket that
matches Flatpak's choice; otherwise CUPS fails on the missing path instead of
reaching a different server.

* packaging: point CUPS at the mounted socket only when it is the one Flatpak chose, else fail

Review (CodeRabbit): with a custom socket listed first and the default last in
~/.cups/client.conf, Flatpak mounts the custom one at /var/run/cups/cups.sock while
CUPS picks the last line, finds that path, and talks to the custom server. The
wrapper now compares CUPS' socket with Flatpak's choice even when the path exists:
equal, CUPS is pointed at the mount; different, the tool fails with an error instead
of reaching another server.
2026-10-29 18:51:06 -04:00
BFlat 640131a053 Merge pull request #4640 from mockydevs/fix/ai-editing-data-by-memory-3510
Fix #3510: editing data past 512 MiB opens with its layers where memory allows
2026-10-30 05:35:05 +07:00
BFlat ee9f7e028e Merge pull request #4649 from storytold/fix/prefs-that-act
Docs: audit which Preferences options act (G12)
2026-10-30 05:19:11 +07:00
bflatastic bcd6f65369 Preferences: audit which options act (G12)
Every Preferences dialog option is read by shipped code, by its field or
its key, except five, each waiting on a subsystem of its own: Open
Documents As Tabs (documents in floating windows, G7), Units > East Asian
Type, Hyphenation > Default Language, Scratch Disks, and the legacy vector
clipboard. Highlight Alternate Glyphs, Real-time Drawing and the Devices
options, still listed as stored-only, act. Docs only.
2026-10-30 05:18:12 +07:00
Don Omondi 68ad249efd Fix #3510: editing data past 512 MiB opens with its layers where memory allows
A layered .ai or Illustrator EPS whose editing data (embedded rasters,
mostly) unpacks past 512 MiB opened as its PDF part or printed page, in
one layer, with "it decompresses to more than 512 MB" (#4628 on 0.17.0
hit the older 256 MiB limit the same way).

The limit is now an eighth of installed memory, from 512 MiB (what every
64-bit build read before) to 2 GiB: 1 GiB on an 8 GiB machine, 2 GiB on
16 GiB or more. Reading takes about as much memory again as the data
(1.1 GB of data with 24 embedded 4096 x 4096 images peaked 1.1 GB above
the start), so the ceiling keeps a small file that unpacks without end
from taking a large machine's memory. 32-bit and web builds keep 256 MiB.
vectorcraft_render::installed_memory exposes the reading the image cache
already sizes itself from.
2026-10-30 05:07:58 +07:00
BFlat 3c792ded2f Merge pull request #4641 from mockydevs/fix/prefs-survive-relaunch-4625
Fix #4625: UI settings survive a relaunch and a second window
2026-10-30 05:01:37 +07:00
BFlat 21b774252f Merge pull request #4642 from mockydevs/fix/task-bar-direct-selection-4469
Fix #4469: Direct Selection's task bar offers the path's anchor actions
2026-10-30 05:01:19 +07:00
BFlat 4cc73e52d1 Merge pull request #4645 from mockydevs/fix/direct-select-drag-to-panels-4233
Fix #4233: Direct Selection drags art onto Asset Export and the other panels
2026-10-30 05:00:58 +07:00
Don Omondi 9095cdf926 Fix #4625: UI settings survive a relaunch and a second window
Two ways the next launch came back with settings from before:

- The workspace, panels, toolbars and other settings kept only in the UI
  state were written only on quitting (Preferences OK already saved at
  once, #1747). A session ended any other way lost them. The app now
  saves within 2 seconds of a change, and only when something changed.
- Each launch is its own process, so two windows are common (opening a
  second file from the file manager). A window wrote back the whole
  state it started from when it quit, so the one quitting last put back
  the settings it read at its start, even with nothing changed in it.
  A window now saves only what it changed since it last read or saved,
  merged into the file as it is: each UI field, and each engine
  preference on its own. A setting both windows changed takes the last
  save.

The status line, open dialog and other fields a start resets neither
trigger a save nor replace another window's.
2026-10-30 04:47:12 +07:00
Don Omondi 1c43827df1 docs: record #4469 in the UI history without touching the status line
Keeps this branch's doc change apart from the other open UI-parity edit, so
the two merge in either order.
2026-10-30 04:47:08 +07:00
Don Omondi 4fe7e0ae6b Fix #4469: Direct Selection's task bar offers the path's anchor actions
With the Direct Selection tool active (after the bar's Edit Path, or
switching to it) and a path selected whole, the Contextual Task Bar kept
the Selection tool's Edit Path, Offset Path and Simplify: its anchor
actions showed only for anchors picked out one by one.

The public overview lists, for a path the Direct Selection tool selects,
Simplify and the anchor actions. A path selected whole now offers Corner
and Smooth (path.convertAnchors converts every anchor of a fully
selected path), Connect for an open path, and Simplify. Remove Anchor
Points and Cut Path need anchors picked out and still wait for them.
Edit Path, which only switches to the tool already in use, is left out,
for compound paths too.
2026-10-30 04:47:08 +07:00
Don Omondi 6fe71df1cf Fix #4233: Direct Selection drags art onto Asset Export and the other panels
Art dragged off the canvas reached the panels (Asset Export, Graphic
Styles, Swatches, Symbols) only from the Selection tool: drag_art_out
checked for that tool by id. With the Direct Selection or Group
Selection tool the move stayed on the canvas, so nothing dropped.

Those tools now hand over a move too when every selected object is
selected whole (a press on its fill). A drag of anchor points or
segments, which they also call Move, stays a reshape and isn't handed
to the panels.
2026-10-30 04:47:04 +07:00
BFlat 224cdc08d6 Merge pull request #4647 from storytold/fix/separations-images
Separations Preview: hidden plates leave raster images too (#4153)
2026-10-30 04:45:20 +07:00
bflatastic f1211e7c89 Separations Preview: hidden plates leave raster images too (#4153) 2026-10-30 04:25:27 +07:00
BFlat 00f3e13540 Merge pull request #4639 from storytold/feat/mesh-multi-points
Gradient Mesh: select several mesh points; move, color and opacity reach them all (#4207, #4208, #4170)
2026-10-30 04:09:51 +07:00
bflatastic d56bbb49ff Gradient Mesh: select several mesh points; move, color and opacity reach them all (#4207, #4208, #4170) 2026-10-30 03:37:43 +07:00
BFlat 6b3a6b8788 Merge pull request #4636 from storytold/feat/snap-to-glyph-options
Type: Character panel › Show Snap to Glyph Options (#4232)
2026-10-30 03:03:56 +07:00
bflatastic 5d4b4b9b35 Type: Character panel › Show Snap to Glyph Options (#4232) 2026-10-30 02:41:25 +07:00
BFlat fffc2b747f Merge pull request #4629 from wjrichards/fix/clipboard-retry-backoff
Linux clipboard: stop the retry storm
2026-10-30 02:19:58 +07:00
wjrichardsandClaude Opus 5.5 1f6effa0cf Docs: G10 says plainly that Copy and Paste with other apps still don't work in the GNOME Flatpak
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 02:19:33 +07:00
wjrichardsandClaude Opus 5.5 c988af83b5 Linux clipboard: stop the retry storm
The Flatpak on GNOME has no X11 (fallback-x11 on a Wayland session) and GNOME offers
no data-control protocol, so arboard::Clipboard::new() failed every time. The handle
was kept only on success, so the background Paste check reconnected to the compositor
and logged a warning every 250 ms: 267k warnings in 18 h, the 16 MB log full in 3 h.

- A clipboard that can't be opened is tried again after 1 s, doubling to a minute.
  A Copy or Paste of the user's retries at most once a second.
- The outage is logged once (WARN) and its end once (INFO), across the UI's and the
  background check's handles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 02:19:33 +07:00
BFlat f4d995647b Merge pull request #4631 from storytold/feat/align-glyph-bounds
Align: Align to Glyph Bounds for point and area type (#4231)
2026-10-30 02:18:29 +07:00
bflatastic 063c06b560 Prefs: the Align to Glyph Bounds comment on its own line 2026-10-30 02:01:58 +07:00
bflatastic 513b02233f Align: Align to Glyph Bounds for point and area type (#4231) 2026-10-30 02:01:58 +07:00
BFlat 2ad24732ae Merge pull request #4630 from storytold/docs/status-lines
Docs: cut the progress docs' status lines back to their latest change
2026-10-30 02:00:33 +07:00
bflatastic c0bd20b6a2 Docs: cut the progress docs' status lines back to their latest change
Merges kept prepending each side's whole summary as "previously: …", so
target-app-parity.md's status line had grown to 66 MB (839 copies of its
Target clause), gaps.md's and ui-parity.md's to over 1 MB. Each status
line now names its latest change only, as the progress-docs standard has
it; the revision histories keep the earlier ones.
2026-10-30 01:46:33 +07:00
BFlat 98830e5dda Merge pull request #4627 from ashokram-si/contributors/add-ashok-ram
Contributors: add Ashok Ram
2026-10-30 01:40:13 +07:00
BFlat 97c09ff529 Merge pull request #4626 from storytold/feat/blob-pressure
Blob Brush and Eraser: Size follows the pen pressure (#4590, #3961)
2026-10-30 01:39:56 +07:00
ashokram-si 33d9912585 contributors: add my name for the About window 2026-10-30 01:13:33 +07:00
bflatastic 790fdf815f Tests: the Eraser's options include its Size mode and variation 2026-10-30 01:13:27 +07:00
bflatastic cd86609729 Tests: the Eraser pressure test checks each mode's own widths 2026-10-30 01:13:27 +07:00
bflatastic e7f1f05ab4 Docs: Eraser pressure in the parity docs (#3961) 2026-10-30 01:13:27 +07:00
bflatastic 71fbdf5ff0 Eraser: Size follows the pen pressure too (#3961)
Eraser Tool Options' Size takes Fixed or Pressure and a Variation as the
Blob Brush's does: the tool records the pen, and path.eraseRegion outlines
the squashed drag at the pen's widths, stretched back to the tip's angle
and roundness. The pressure parsing and outline move to draw2's common
helpers, shared by both commands.
2026-10-30 01:13:20 +07:00
bflatastic 4a89ba84f8 Docs: Blob Brush pressure in the parity docs (#4590) 2026-10-30 01:13:20 +07:00
bflatastic c65286666c Blob Brush: Size follows the pen pressure (#4590)
Blob Brush Tool Options' Size takes Fixed or Pressure and a Variation, as
the brush options' Size does: with Pressure the brush is Size − Variation
wide where the pen presses lightest and Size + Variation where it presses
hardest. The tool records the pen pressure of each point and shows each
step of the drag as wide as the pen pressed there; path.blob takes
[x, y, pressure] points with sizeMode and sizeVariation and outlines the
stroke with that width profile. A stroke without pressure keeps the Size,
and Fixed with no variation stays the default.

https://helpx.adobe.com/illustrator/desktop/paint-and-fill/learn-painting-basics/blob-brush-options-and-best-practices.html
2026-10-30 01:13:13 +07:00
BFlat 31124c8709 Merge pull request #4617 from VoiceLessQ/fix/3098-trace-inputs-and-repaint
Image Trace: background traces see library colour changes, and keep frames coming (#3098)
2026-10-30 00:46:03 +07:00
BFlat a885569fc3 Merge pull request #4620 from Taha-Mahmoodi/fix/4420-affinity-fill-color
Fix #4420: import attached Affinity recolor adjustment layers as color overlays
2026-10-30 00:45:44 +07:00
BFlat e454ea28bf Merge pull request #4619 from mockydevs/fix/mesh-cmyk-k-3232
Fix #3232: a CMYK gradient mesh keeps its K when lightened
2026-10-30 00:45:11 +07:00
BFlat 9ce664e0df Merge pull request #4621 from storytold/feat/compound-shapes
Pathfinder: live compound shapes (Make, Shape Mode, Release, Expand Compound Shape)
2026-10-30 00:44:58 +07:00
BFlat cc16746927 Merge pull request #4431 from dotCooCoo/feat/colorize-gray-images
Images: a fill color colorizes grayscale and 1-bit images
2026-10-30 00:44:29 +07:00
BFlat ae0c90abc3 Merge pull request #4492 from dotCooCoo/fix/recolor-limit-and-scope-params
Recolor Artwork and swatch libraries: parameters of the wrong form are errors
2026-10-30 00:44:08 +07:00
BFlat efed5e16fa Merge pull request #4435 from dotCooCoo/feat/area-type-anchor-marquee
Direct Selection: a marquee selects area type's frame anchors
2026-10-30 00:43:45 +07:00
BFlat b4f66ceabc Merge pull request #4428 from dotCooCoo/feat/open-pcx-files
File formats: PCX (.pcx) files open and place
2026-10-30 00:43:24 +07:00
BFlat d40c428e92 Merge pull request #4402 from dotCooCoo/feat/styles-alt-click-new-asks-name
Character and Paragraph Styles: Alt-click on New asks for the new style's name
2026-10-30 00:43:02 +07:00
BFlat 6a4e43a0df Merge pull request #4383 from dotCooCoo/feat/type-format-shortcuts
Type: Cmd/Ctrl+Shift+U underlines, and Cmd/Ctrl+Alt+Shift+C and H toggle the line composer and hyphenation
2026-10-30 00:42:41 +07:00
BFlat dab0b55db9 Merge pull request #4377 from dotCooCoo/feat/next-document-shortcut
Window: Cmd+F6 and Cmd+Shift+F6 go to the next and previous document
2026-10-30 00:42:17 +07:00
BFlat 1d3baa31b2 Merge pull request #4485 from el-j/fix/artboard-multiselect-4484
fix(canvas): allow multi-selecting artboards via Shift-click on canvas label (#4484)
2026-10-30 00:41:52 +07:00
BFlat 462992886e Merge pull request #4612 from VoiceLessQ/fix/4366-name-content-in-an-array-object
PDF import: a page's content listed in an array object is named as content (refs #4366)
2026-10-30 00:41:02 +07:00
VoiceLessQ 3301db5817 Image Trace: starting a background trace asks for a frame
The frame a trace starts in may already have asked for its next one before the trace started, so with no input the finished trace could wait. From the review of #4617.
2026-10-30 00:15:59 +07:00
VoiceLessQ 2e54e882d6 Image Trace: a library colour changed meanwhile makes a background trace stale, and running traces keep frames coming
From the review of #4605. TraceParams::swatches isn't in the settings' JSON (serde skip), so a Document Library trace whose swatches were edited while it ran still applied, with the old colours; the trace's inputs now hold them. The 100 ms repaint that keeps background work moving left traces out, so without input a finished trace could wait for the next event.
2026-10-30 00:15:59 +07:00