Skip to content

fix(background): plain, wrapping wallpaper attribution that follows the corner setting - #41

Open
perlowja wants to merge 3 commits into
singularityos-lab:mainfrom
perlowja:pr/attribution-plain-text-20261014
Open

perlowja wants to merge 3 commits into
singularityos-lab:mainfrom
perlowja:pr/attribution-plain-text-20261014

Conversation

@perlowja

Copy link
Copy Markdown
Contributor

Follow-up to #30. Three commits, all on the attribution label:

  • style: drop the rounded scrim behind the text; keep the luminance-based text colour and a soft shadow. This one is a design choice; it is its own commit so it can be dropped if you prefer the scrim.
  • fix: changing wallpaper-attribution-position did not move the label until the next wallpaper change. Gtk.Overlay places children in its own size_allocate, which queue_allocate() on the label does not re-run when only the alignment changed. The overlay is queued too.
  • fix: a long title and author line could run under the dock or the panel controls. It now wraps to two lines (40 chars), ellipsizes past that and is justified toward the active corner.

Before: with the setting changed in Settings the label stayed in the old corner; a long title ran under the dock.
After: the label moves at once and wraps. Checked on hardware in our desktop build, which has carried these changes since 2026-09-21.

Build and tests on Debian forky: ninja builds; meson test 81 of 84 pass. parental-helper and crash-handler need a real user and fail the same way on main; spell-integration aborts in the container (no enchant ordering file) and is outside this change.

AI assistance: disclosed

Drop the rounded scrim behind the attribution label and keep the
luminance-based text colour with a soft shadow for legibility.

Assisted-by: Claude Code:claude-sonnet-5-5
AI-Scope: Wrote the CSS change and removed the comment that described the scrim, tested on hardware by the author.
Gtk.Overlay places a child in its own size_allocate, which a child's
queue_allocate() with an unchanged size does not re-run. Queue the
overlay too so a live position change takes effect at once.

Assisted-by: Claude Code:claude-sonnet-5-5
AI-Scope: Root-caused the frozen label and wrote the one-line fix, confirmed on hardware by the author.
A long title and author line could run under the dock or the panel
controls. Wrap it to two lines, ellipsize past that, and justify it
toward the side of the active corner.

Assisted-by: Claude Code:claude-sonnet-5-5
AI-Scope: Found the overlap on a long wallpaper title and wrote the wrapping and justification, checked on hardware by the author.
@perlowja

Copy link
Copy Markdown
Contributor Author

@mirkobrombin for review when you have a moment.

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