Native Wayland support for the Linux UI

Aperta
#84 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
go, linux
Ambito
desktop

Direzione di ricerca

Start with ui/app_linux.go and inspect how the Linux UI selects XWayland and opens the tray popup. Compare the listed Wayland routes—wlr-layer-shell, GNOME Shell positioning, and a native tray menu fallback—and determine how the popup should behave across those environments. Done means the Linux UI runs natively on Wayland and the popup opens next to the tray icon.

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

Descrizione

enhancement

On Wayland sessions the Linux UI runs through XWayland (GDK_BACKEND=x11 in ui/app_linux.go). Wayland doesn't let a normal window choose its own position, and the tray popup needs to open next to the tray icon.

Running under XWayland works, but it causes problems with fractional and mixed scaling (see #83) and relies on XWayland being installed.

Possible routes to running natively:

  • wlr-layer-shell, which KWin supports, to place the popup ourselves
  • the GNOME Shell extension drawing or positioning the popup on GNOME
  • a fallback to the native tray menu where neither works
Lingua principale
Go
Stelle
26
Fork
10
Merge medio
5h 49m
PR unite (30g)
12

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 fosrl/windows-linux

Tutte le issue di fosrl/windows-linux

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.