Desktop: avatars blink (blank → gray → photo) whenever a new message group renders
メンテナーはふだん 1 日以内に返信
@brucesantos がすでに取り組んでいます。
2026年10月8日 から。
評価
調査の方向性
まず desktop/src/shared/ui/avatar.tsx を読み、UserAvatar が Radix の Avatar と AvatarImage をどのように描画するかを追ってください。レポートでは、遅延読み込み、非同期デコード、Radix のマウントごとの読み込みチェックが、検証済みの修正策ではなく、考えられる原因として挙げられています。新しい作者グループが表示されたときにちらつきを再現し、キャッシュ済みのアバターが空白から灰色への遷移なしに最初のフレームで描画されることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
Every time a new author block mounts in the timeline, the avatar blinks. This happens for sends and incoming messages alike, and even when the image is already cached. In a 120 fps recording, the avatar is blank for one frame, a gray circle for one frame, then the photo (about 20 ms in total). It reads as a flicker every time someone starts a new group.
Steps to reproduce
- Open a DM or channel with avatars set.
- Send a message that starts a new author group, or receive one from someone else.
- Record the screen at a high frame rate and step through the frames where the row appears.
Expected behavior
An avatar that is already cached paints on the row's first frame.
Version and platform
- Buzz version: dev build from
main(a8fe2b6) - OS: macOS 26
Logs / additional context
Likely cause, not yet verified with a fix: UserAvatar uses Radix Avatar, and AvatarImage (@radix-ui/react-avatar 1.1.12) only renders the <img> after its own per-mount new Image() reports loaded. The image therefore never paints on the first frame, even from cache. desktop/src/shared/ui/avatar.tsx also sets loading="lazy" and decoding="async" on the image, which can add a frame of gray bg-secondary before the decoded photo appears.
Duplicates: none found.
- 主要言語
- Rust
- スター
- 35.6k
- フォーク
- 4.7k
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 202
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
block/buzz のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
Mobile: opening an attachment names the file after the link text instead of the imeta filename対応中かも @wenhaoone が 6 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
Desktop: private project home channels show no lock icon in the sidebar対応中かも @Bartok9 が 7 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
defect
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
enhancement user-priority/P3
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信