Skip to content

feat(osd): add num lock indicator - #4046

Merged
bbedward merged 2 commits into
duxlabs-dev:masterfrom
hthienloc:feat/numpad-osd
Oct 31, 2026
Merged

bbedward merged 2 commits into
duxlabs-dev:masterfrom
hthienloc:feat/numpad-osd

Conversation

@hthienloc

Copy link
Copy Markdown
Member

Closes #1351

image

@github-actions github-actions Bot added core Go daemon and CLI under core/ ui Quickshell UI under quickshell/ labels Oct 31, 2026
@hthienloc

Copy link
Copy Markdown
Member Author

/claude review

Comment thread quickshell/Modules/OSD/NumLockOSD.qml Resolved
Comment thread quickshell/Modules/OSD/NumLockOSD.qml Resolved
Comment thread quickshell/Modules/Settings/OSDTab.qml Resolved
@claude

claude Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Claude review

Core plumbing looks right. Two OSD behavior issues and one i18n nit need fixing before merge.

  • OSD pops on every shell start when Num Lock is on at boot (initial evdev state arrives after onCompleted), quickshell/Modules/OSD/NumLockOSD.qml:20
  • OSD icon is the same for on and off, so it does not show the new state, quickshell/Modules/OSD/NumLockOSD.qml:35
  • New "Num Lock" term has no translator context; the existing "Caps lock" style suggests "Num lock", quickshell/Modules/Settings/OSDTab.qml:205
    Checked: evdev LED/key codes and state map lookup, lock state update locking, socket field in DMSService, settings spec/toggle, OSD wiring in DMSShell, deprecated shims, catalog edits. Model: claude-opus-5-5.

@hthienloc

Copy link
Copy Markdown
Member Author

/claude review

@claude

claude Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Claude review

No issues found. The three earlier findings are fixed: the OSD now arms only after the first evdev update (numLockState is assigned before evdevStateInitialized, so the initial state does not trigger it), the icon dims when off, and the label uses "Num lock" with translator context.
Checked: evdev LED/key codes, capability-aware StateMap lookup, shared lock state update under the mutex, numLock socket field in core and DMSService, settings spec/toggle/search index, OSD wiring in DMSShell, Theme tokens, deprecated shims, catalog edits. Model: claude-opus-5-5.

@bbedward
bbedward merged commit 5b37b5c into duxlabs-dev:master Oct 31, 2026
5 checks passed
purian23 pushed a commit that referenced this pull request Oct 31, 2026
@hthienloc
hthienloc deleted the feat/numpad-osd branch November 15, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Go daemon and CLI under core/ ui Quickshell UI under quickshell/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OSD extension

2 participants