[Bug]: Desktop: Dialog scrim doesn't dim artwork or backdrops

オープン
#126 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

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

調査の方向性

Start at the scrim in desktop/app/src/ui/overlay.rs:22, then find where the poster, card and title-backdrop primitives are drawn and how their draw order relates to the scrim layer. Reproduce with cargo run --locked -- --scene discover --snapshot /tmp/a.png versus --scene add, and the same for title versus releases, comparing pixels. Done means every element behind an open dialog dims while the dialog panel still covers correctly.

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

説明

bug

[!NOTE]
This issue was written by Claude (Claude Opus 5.5) from a review session of the desktop app (#80) with @PhrolovaMoe. It was found in headless renders of the debug build's fixture scenes (--snapshot), not on a live server.

Version

0.40.0 (feat/desktop, 017a837b)

Area

Other (desktop app)

What happened?

Behind a dialog, text and panels are dimmed by the scrim (desktop/app/src/ui/overlay.rs:22), but posters, cards and the title backdrop aren't: their pixels are identical with and without the dialog open. They're drawn by custom shader primitives, which end up on top of the scrim. The dialog panel itself still covers them correctly.

Steps to reproduce

From desktop/, with a debug build: compare cargo run --locked -- --scene discover --snapshot /tmp/a.png with --scene add --snapshot /tmp/b.png: the poster at the left is just as bright in both. Same for --scene title vs --scene releases (the backdrop).

Expected behavior

Everything behind a dialog dims the same way.

Suggested fix

Draw the scrim (and the dialog) in a layer above the primitives, or have the artwork/backdrop primitives take the dimming into account while an overlay is open.

主要言語
TypeScript
スター
4
フォーク
1
平均マージ
4時間 49分
マージ済み PR(30日)
5

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

tinystream-dev/tinystream のほかの issue

tinystream-dev/tinystream の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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