Skip to content

Fix print ignoring user dither/threshold/density settings#25

Merged
tomLadder merged 1 commit into
tomLadder:mainfrom
verglor:fix/ignored-settings
Jul 8, 2026
Merged

Fix print ignoring user dither/threshold/density settings#25
tomLadder merged 1 commit into
tomLadder:mainfrom
verglor:fix/ignored-settings

Conversation

@verglor

@verglor verglor commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

The print-settings flyout writes density, dither mode, and threshold to the editor store's printSettings, but print() read them from the separate printer store, which those edits never reach. As a result prints always used the defaults (floyd-steinberg, threshold 128, density 2) regardless of what the user selected.

Read density/dither/threshold and paperType from the editor store — the same source the flyout writes to — so prints honor the chosen settings.

Also fixes #22.

The print-settings flyout writes density, dither mode, and threshold to
the editor store's printSettings, but print() read them from the separate
printer store, which those edits never reach. As a result prints always
used the defaults (floyd-steinberg, threshold 128, density 2) regardless
of what the user selected.

Read density/dither/threshold and paperType from the editor store — the
same source the flyout writes to — so prints honor the chosen settings.
@verglor verglor force-pushed the fix/ignored-settings branch from d7c6ac9 to 1938f60 Compare July 6, 2026 22:28
@tomLadder

Copy link
Copy Markdown
Owner

Thanks for the contribution. LGTM

@tomLadder tomLadder merged commit 51967b7 into tomLadder:main Jul 8, 2026
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.

Print artifacts

2 participants