Skip to content

Windows: let the strip's host place the HW pill (strip v2) - #445

Merged
ataturhan21 merged 1 commit into
mainfrom
feat/444-strip-v2
Nov 30, 2026
Merged

ataturhan21 merged 1 commit into
mainfrom
feat/444-strip-v2

Conversation

@ataturhan21

Copy link
Copy Markdown
Member

Moves the HW pill onto the strip version 2 layout: the strip's host places every pill, the widget only draws.

  • windows/src/WidgetStrip.cs: the shared strip file, version 2, copied unchanged from the frozen copy shared by every widget.
  • windows/src/App.cs: a managed flag set when the strip's host is version 2. Then the pill joins as hw, draws where Strip.Keep says (its right edge where the host put it), reads its live window rect before hover, the card and each draw, tells the host when a drag starts, and on drop saves the new order through Strip.Dropped instead of an offset. It leaves the layout when it returns to the taskbar or closes. Under a version 1 host or on the taskbar the old placement runs unchanged; the pills on other taskbars are unchanged.
  • windows/src/ZOrder.cs: PillSpot, the managed-or-own-slot choice, so the self-test can check it.
  • windows/src/TestModes.cs: TC-314/TC-315, 10 checks: gap, pack, order parsing and rank, version 2, a fake strip window that is managed only with SolarityLayout 2, and that the managed path uses Keep and never its own slot code (the unmanaged path the reverse).
  • CHANGELOG.md, README.md: the change line and the self-test count (228).

Checks: sh tools/verify.sh windows-core 228 passed, 0 failed; sh tools/verify.sh privacy clean.

Fixes #444

@ataturhan21
ataturhan21 merged commit 51e4f54 into main Nov 30, 2026
5 checks passed
@ataturhan21
ataturhan21 deleted the feat/444-strip-v2 branch November 30, 2026 15:23
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.

Windows: let the strip's host place the HW pill (strip v2)

1 participant