Skip to content

fix(windows): show and activate custom style packs from tray menu - #933

Merged
H-Chris233 merged 1 commit into
Open-Less:betafrom
H-Chris233:codex/fix-808-style-pack-tray-menu
Aug 9, 2026
Merged

fix(windows): show and activate custom style packs from tray menu#933
H-Chris233 merged 1 commit into
Open-Less:betafrom
H-Chris233:codex/fix-808-style-pack-tray-menu

Conversation

@H-Chris233

Copy link
Copy Markdown
Collaborator

Summary

  • Build the Windows tray style menu from every enabled StylePack instead of four hard-coded polish modes.
  • Use stable, collision-safe IDs derived from StylePack.id and mark the active pack by exact ID.
  • Activate the selected pack through �ctivate_style_pack_by_id, while safely ignoring malformed, stale, or disabled menu IDs.
  • Add focused tests for built-in/imported packs, duplicate base modes, disabled packs, and invalid IDs.

Validation

  • cargo test --locked tray_style_menu — passed (4 tests).

pm test — passed (build plus 43 frontend/contract tests).

  • Full cargo test --locked is currently blocked by the existing Windows symlink test when the environment lacks symlink creation permission; the unrelated proxy/cooldown failures pass when rerun individually.

Closes #808

@H-Chris233
H-Chris233 force-pushed the codex/fix-808-style-pack-tray-menu branch from 2b2324a to f521676 Compare August 9, 2026 04:23
@H-Chris233
H-Chris233 force-pushed the codex/fix-808-style-pack-tray-menu branch from f521676 to 17b8bad Compare August 9, 2026 04:26
@H-Chris233
H-Chris233 merged commit b12fd79 into Open-Less:beta Aug 9, 2026
4 checks passed
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.

fix(windows): show and activate custom style packs from the tray menu

1 participant