Portrait layouts are drawn as landscape on a landscape screen
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
Start with src/paperpi/plugin.py and the settings and preview code under src/paperpi/web/; inspect how layout dimensions are chosen after [display] rotation. Compare the met_no portrait layouts and their previews, then decide how layout shape should be represented and shown. Done means the chosen behavior is implemented consistently for layout selection, Preview, and Plugin Library pictures, with relevant documentation updated.
索引モデルが issue の本文から書いたものです。
説明
Found by txoof in the weather demo (M5 part 3c, 2026-10-10).
What happens
Some plugins have layouts made for tall (portrait) screens, e.g. met_no has portrait_hours and portrait_now. On a landscape screen (the demo uses 800 x 480), choosing one of them on the settings page and pressing Preview draws it at 800 x 480: the portrait layout is shown as a landscape picture. The layout list doesn't say which layouts are meant for which shape of screen, and a layout can't be seen at the shape it was made for.
PaperPi draws every layout at the screen's own size, after [display] rotation (a screen turned 90 or 270 degrees gives a tall area). There is no "portrait" setting of its own.
To decide
- Should a plugin say which shape each layout is for (wide, tall, any)?
- On the settings page: hide layouts that don't fit the screen's shape, list them separately, or show a warning next to them?
- Should Preview and the Plugin Library pictures draw a layout at the shape it is made for (e.g. 480 x 800), or always at the real screen's shape?
- Is the real need a portrait screen, which today means
rotation = 90or270in[display](the screen settings page comes in M5 part 5)?
Area
core (src/paperpi/plugin.py if layouts get a shape), web (src/paperpi/web/), plugins with tall layouts (met_no, maybe others), docs.
- 主要言語
- Python
- スター
- 205
- フォーク
- 17
- 平均マージ
- 3時間 55分
- マージ済み PR(30日)
- 77
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
txoof/PaperPi のほかの issue
-
Plugins whose default refresh equals the display time (word_clock, system_info, nl_openbaar_vervoer)対応中かも @txoof-bot が今日担当しました。 オープンarea:plugins in-progress
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
txoof/PaperPi#335 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
area:web enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 56/100
メンテナーはふだん 1 日以内に返信
-
area:core area:web enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
521xueweihan/HelloGitHub#4115 ·
-
get_lldp_neighbors_detail: query asks for 'max-address' (typo for 'mac-address'), so remote_chassis_id is always empty対応中かも @Jah-yee が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
lesson-submission pending-review
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
Ikalus1988/MisakaNet#3899 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
aws-samples/sample-per-model-bedrock#549 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100