Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Desktop: avatars blink (blank → gray → photo) whenever a new message group renders

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

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

@brucesantos がすでに取り組んでいます。

2026年10月8日 から。

  • #8195 @brucesantos による — オープン
  • #8200 @brucesantos による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
67/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
react, rust
領域
desktop

調査の方向性

まず 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

  1. Open a DM or channel with avatars set.
  2. Send a message that starts a new author group, or receive one from someone else.
  3. 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

環境構築

はじめの一歩

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

block/buzz のほかの issue

block/buzz の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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