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

Đang mở Phù hợp với người mới
#7,670 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
72/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp, css, linux
Lĩnh vực
frontend

Hướng nghiên cứu

So sánh CSS đi kèm trong các phiên bản 0.2.23 và 0.2.24, tập trung vào .select__pop và các bề mặt popup khác sử dụng backdrop-filter. Trước tiên, đọc cách các kiểu Liquid Glass định nghĩa --st-surface và --st-material-tint-strong; sau đó tái hiện trên Linux/X11 với WEBKIT_DISABLE_DMABUF_RENDERER=1. Hoàn thành khi các menu thả xuống không trong suốt và tương tác UI phản hồi nhanh trên đường kết xuất bị ảnh hưởng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C++
Star
11.6k
Fork
1k
Merge trung bình
6 ngày 2 giờ
Pull request đã merge (30 ngày)
21

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Niko1221/Strata

Tất cả issue của Niko1221/Strata

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.