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

オープン 初心者向け
#7,670 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
cpp, css, linux
領域
frontend

調査の方向性

バージョン0.2.23と0.2.24に同梱されているCSSを比較し、.select__popとbackdrop-filterを使う他のポップアップ面に注目してください。まず、Liquid Glassスタイルで--st-surfaceと--st-material-tint-strongがどのように定義されているかを読み、その後、WEBKIT_DISABLE_DMABUF_RENDERER=1を指定してLinux/X11で再現してください。影響を受けるレンダリング経路で、ドロップダウンが不透明になり、UI操作が応答よく行える状態になれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
C++
スター
11.6k
フォーク
1k
平均マージ
6日 2時間
マージ済み PR(30日)
21

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Niko1221/Strata のほかの issue

Niko1221/Strata の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。