Portrait layouts are drawn as landscape on a landscape screen
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 205
- Forks
- 17
- Merge medio
- 4 h 8 min
- PR fusionados (30 d)
- 72
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de txoof/PaperPi
-
enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
area:plugins enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
-
area:core needs-decision
Dificultad 5/5 Más de una semana Aptitud para principiantes 32/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de txoof/PaperPi
Issues similares
-
request-theme
Dificultad 1/5 Menos de una hora Aptitud para principiantes 66/100
LizardByte/ThemerrDB#9575 ·
Los mantenedores suelen responder en 1 día
-
Author Page: noshin-nawalAbiertoauthor-page correction
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
acl-org/acl-anthology#10599 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
zilliztech/memsearch#818 ·
Los mantenedores suelen responder en 1 día
-
[FAQ] Commit ID for ProjectsPosiblemente ocupada @github-actions la tomó hoy. Abiertofaq-proposal
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
DataTalksClub/faq#503 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
README.zh-CN/ja/es still hard-code 501 test counts after README.md went count-freePosiblemente ocupada @Aaqibhafeezkhan la tomó hoy. Abiertobeginner documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
BistaDinesh03/critique#164 · 1 comentario ·
Los mantenedores suelen responder en 1 día