[GUI] 0.2.24 (Linux/X11/NVIDIA): slow UI and transparent dropdowns — regression from 0.2.23

Aperta Adatta ai principianti
#7,670 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
72/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
cpp, css, linux
Ambito
frontend

Direzione di ricerca

Confronta il CSS incluso nelle versioni 0.2.23 e 0.2.24, concentrandoti su .select__pop e sulle altre superfici popup che usano backdrop-filter. Leggi prima come gli stili Liquid Glass definiscono --st-surface e --st-material-tint-strong; poi riproduci il problema su Linux/X11 con WEBKIT_DISABLE_DMABUF_RENDERER=1. Il lavoro è completato quando i menu a discesa sono opachi e l’interazione con la UI è reattiva sul percorso di rendering interessato.

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

Descrizione

Problem

After updating the Linux AppImage from 0.2.23 to 0.2.24, the UI is noticeably slow and all dropdowns render transparent (the content underneath shows through). Downgrading back to 0.2.23 on the same machine and session immediately fixes both symptoms, so this is a regression in 0.2.24.

Environment

  • Strata 0.2.24 (AppImage, linux-x86_64, installed via in-place self-update); 0.2.23 as the working baseline
  • OS: Linux, GNOME on Xorg/X11
  • GPU: 2x NVIDIA (RTX 3060 + GTX 1070 Ti), driver 580.178.04, 1920x1080
  • The app runs with WEBKIT_DISABLE_DMABUF_RENDERER=1; nvidia-smi shows WebKitWebProcess with no GPU memory (software rendering path)

Reproduce

  1. Launch the Strata 0.2.24 AppImage on Linux/X11 with NVIDIA.
  2. Open any dropdown in the UI. It renders transparent (content behind it is visible through the popup).
  3. General UI interaction feels slow.
  4. Launch the 0.2.23 AppImage on the same setup: dropdowns are solid and the UI is snappy.

Expected

Dropdowns show an opaque panel; UI interactions are responsive, as in 0.2.23.

Actual

Dropdown popups are see-through and the UI is sluggish under 0.2.24.

Evidence

Root cause: the Liquid Glass redesign. In the bundled CSS, the dropdown popup lost its opaque fallback:

/* 0.2.23 — second rule overrode the glass with an opaque surface */
.select__pop{z-index:var(--layer-dialog-popover);background:var(--st-surface)}

/* 0.2.24 — override lost the background */
.select__pop{z-index:var(--layer-dialog-popover)}

So .select__pop keeps background:var(--st-material-tint-strong) + backdrop-filter:var(--st-material-regular). With WEBKIT_DISABLE_DMABUF_RENDERER=1 (software renderer on X11) the backdrop cannot be sampled, so the blur degrades to plain transparency. Total backdrop-filter occurrences in the app CSS doubled from 34 (0.2.23) to 68 (0.2.24), all CPU-computed in the software path, which matches the slowness.

Suggested fix: when backdrop sampling is unavailable (or WEBKIT_DISABLE_DMABUF_RENDERER is set), fall back to an opaque --st-surface background on popup surfaces, as 0.2.23 effectively did.

Reproduction status

Reproduced locally: 0.2.24 transparent/slow, 0.2.23 solid/fast on the same hardware and session.

Lingua principale
C++
Stelle
11.6k
Fork
1k
Merge medio
6g 2h
PR unite (30g)
21

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 Niko1221/Strata

Tutte le issue di Niko1221/Strata

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.