Skip to content

osd: add OSD popup for fcitx5 IME changes - #4072

Merged
bbedward merged 1 commit into
duxlabs-dev:masterfrom
DaniCatGames:fcitx5-osd
Nov 2, 2026
Merged

bbedward merged 1 commit into
duxlabs-dev:masterfrom
DaniCatGames:fcitx5-osd

Conversation

@DaniCatGames

@DaniCatGames DaniCatGames commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Description

This PR adds an OSD popup for users using fcitx5 (input method editor). This does not do the same thing as the keyboard layout osd, as that one only shows compositor keyboard layouts, which are completely independent of fcitx5's IME state, and the compositor provided keyboard isnt usable for some languages (CJK + more).

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

N/A

Screenshots / video

recording_2026-11-01_21-31-36.mp4

Checklist

  • My code follows the conventions in CONTRIBUTING.md
  • I have tested my changes locally
  • New user-facing strings are wrapped in I18n.tr() with translator context, reusing existing terms where possible
  • Go changes: ran make fmt, added/updated tests, make test passes, and go mod tidy is clean
  • QML changes: ran make lint-qml with no new warnings
  • I have opened a corresponding pull request in dux-docs to document any new behaviors: https://github.com/duxlabs-dev/dux-docs

@github-actions github-actions Bot added feature ui Quickshell UI under quickshell/ labels Nov 1, 2026
@bbedward

bbedward commented Nov 2, 2026

Copy link
Copy Markdown
Member

/claude review

@claude

claude Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Claude review

No issues found.

Checked: Fcitx5Service (tray item lookup, consumer gating, one-shot resolve timer, fcitx5-remote callback), InputMethodOSD against KeyboardLayoutOSD and DOSD/osdKind position overrides, DMSShell Variants gating, OSDTab toggle and position entry, SettingsSpec/SettingsData key, I18n context, deprecated shims, generated search index, node test. Model: claude-opus-5-5.

property int consumers: 0
readonly property bool active: consumers > 0

// No D-Bus event to check for IME changes, so use the system tray item to check

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty clever workaround

@bbedward
bbedward merged commit 092c9b0 into duxlabs-dev:master Nov 2, 2026
4 of 5 checks passed
purian23 pushed a commit that referenced this pull request Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature ui Quickshell UI under quickshell/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants