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

Abierto Apto para principiantes
#7,670 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 4 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
72/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
cpp, css, linux
Área
frontend

Línea de trabajo

Compara el CSS incluido de las versiones 0.2.23 y 0.2.24, centrándote en .select__pop y otras superficies emergentes que usan backdrop-filter. Primero lee cómo los estilos Liquid Glass definen --st-surface y --st-material-tint-strong; después reproduce el problema en Linux/X11 con WEBKIT_DISABLE_DMABUF_RENDERER=1. Se considera terminado cuando los menús desplegables son opacos y la interacción con la UI responde con fluidez en la ruta de renderizado afectada.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C++
Estrellas
11.6k
Forks
1k
Merge medio
6 d 2 h
PR fusionados (30 d)
21

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Niko1221/Strata

Todos los issues de Niko1221/Strata

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.