Show the input method's icon in InputMethodOSD

Aperta Adatta ai principianti
#4,434 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
63/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
desktop

Direzione di ricerca

Leggi l’implementazione di InputMethodOSD e il widget del metodo di input della barra, che riceve già la propria icona da Fcitx5Service. Segui il percorso con cui l’OSD riceve il nome del metodo di input corrente, quindi verifica come la barra recupera e visualizza la propria icona. Il lavoro è completato quando l’OSD mostra l’icona corrispondente al cambiare dei metodi di input.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Enhancement
Feature Description

Currently, InputMethodOSD always uses the generic "language" icon, and only the input method name (label) changes.

The bar already uses the current input method's icon provided via Fcitx5Service. Showing the same icon in the OSD would make it easier to recognize which input method was switched to, especially when switching between multiple IMs.

Feedback on whether this would be acceptable for the OSD would be appreciated.

Use Case

I switch between multiple input methods with fcitx5 (e.g., Sweet IME and the default keyboard). The OSD shows the IM name as text, but a matching icon would make it recognizable at a glance, just like the bar widget already does.

Compositor(s)

All compositors

If Other, please specify

No response

Proposed Solution

Use the current input method's icon from Fcitx5Service (already used by the bar) as the InputMethodOSD icon instead of the hardcoded "language" icon.

Alternatives/Existing Solutions

The bar's input method widget already displays the IM icon; this request is about applying the same behavior to the OSD.

Lingua principale
QML
Stelle
8.4k
Fork
549
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AvengeMedia/DankMaterialShell

Tutte le issue di AvengeMedia/DankMaterialShell

Issue simili

Altre issue su Desktop Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.