[Bug]: Desktop: Header buttons collide with the floating window controls

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

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

評価

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

調査の方向性

Reproduce with cargo run --locked -- --scene requests --size 820x640 --snapshot /tmp/r.png from desktop/, then read the header layout in desktop/app/src/browsing/view/requests.rs and desktop/app/src/browsing/view/downloads.rs to find where the floating window-control pill is drawn and how much width it reserves. Apply the same right-side inset to every page header (Requests, Calendar, Downloads) so actions clear the controls. Done means the snapshot renders show no overlap at narrow widths.

索引モデルが 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?

Page header actions sit in the top-right corner, under the floating minimise/maximise/close pill. On Requests, "Add a show" (desktop/app/src/browsing/view/requests.rs:11) almost touches it at 1280 px wide and overlaps it at narrower widths. Calendar's week arrows and Downloads' "Pause all" (desktop/app/src/browsing/view/downloads.rs:26) are in the same area.

Steps to reproduce

From desktop/, with a debug build: cargo run --locked -- --scene requests --size 820x640 --snapshot /tmp/r.png: the pill covers the button's top-right corner.

Expected behavior

Header actions never sit under the window controls.

Suggested fix

Reserve the controls' width (plus a gap) on the right of page headers, or push header actions below the controls' bottom edge.

主要言語
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 を短くまとめたダイジェスト。