Skip to content

fix(keybinds): use an existing font weight for unselected tabs - #3790

Merged
purian23 merged 1 commit into
duxlabs-dev:masterfrom
Conava:keybinds-font-weight
Oct 15, 2026
Merged

purian23 merged 1 commit into
duxlabs-dev:masterfrom
Conava:keybinds-font-weight

Conversation

@Conava

@Conava Conava commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Description

This PR fixes the font weight of the unselected category tabs in the keybinds cheat sheet.

They used Theme.fontWeightNormal, which doesn't exist, so every unselected tab assigned undefined to font.weight. QML rejects that ("Unable to assign [undefined] to int") and keeps the previous value. A tab therefore stayed Medium after it was deselected, and unselected tabs ignored the font weight setting. They now use Theme.fontWeight.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

None.

Screenshots / video

Checklist

Tested by hand on Hyprland. No new strings, no Go changes, no docs needed. All pre-commit hooks passed; I didn't run make lint-qml for this one.

Theme has no fontWeightNormal, so every unselected category tab in the
keybinds cheat sheet assigned undefined to font.weight. QML rejects
that and keeps the last value, so a tab stayed Medium after it was
deselected, and unselected tabs ignored the font weight setting.
Use Theme.fontWeight, the shell's regular weight.
@purian23
purian23 merged commit eb83725 into duxlabs-dev:master Oct 15, 2026
2 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.

2 participants