Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Vertical spacing incorrect for nested lists and lists with multi-paragraph items

Aperta
#3,292 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, java
Ambito
mobile-dev

Direzione di ricerca

Inizia riproducendo l'esempio segnalato di elenco annidato in Notes for Android 34.0.0 sull'ambiente Android indicato e confrontane la spaziatura con il rendering atteso di Markor. Il lavoro è completato quando la spaziatura verticale tra gli elementi a ogni livello dell'elenco è coerente, inclusi gli elementi con più paragrafi e gli elenchi figli.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

approved bug

Description

If a list item comprises multiple paragraphs, or has children, then the vertical spacing between paragraphs or items within the list item should not exceed the vertical spacing between this parent item and other items at the same level.

Consider a Markdown document with the following contents:

Lorem ipsum: Est dolor quia dolorum est illum quasi aperiam autem. Magnam assumenda  hic accusantium dolores et quia culpa officia. Nisi architecto hic  repudiandae

1. One

1. Two

   Two and a half

   - Two and four sixths
   - Two and five sixths

1. Three

Note that some extraneous content (i.e. Lorem ipsum) has been placed at the beginning, in order to work around the design issue reported in #2976, #2983, #3241, and #3246.

The document as rendered by the application has been captured by a screenshot (see below).


Image

Expected behavior

In contrast, a different application (Markor) renders the same document quite differently (see below).

Many other applications render the document similarly, in terms of vertical spacing, in contrast to the rendering by Nexctcloud Notes for Android.

I feel strongly that the vertical spacing rendered by Markor is correct, whereas the spacing unfortunately is not correct as rendered by Nextcloud Notes for Android.

Vertical spacing between list items, at any particular level, should be consistent regardless of any child lists, and also should not exceed the vertical spacing between items at the level of the parent.


Image

Environment

  • Notes Android version: 34.0.0

  • Notes server version: n/a

  • Nextcloud Android version: 34.1.0

  • Nextcloud version: n/a

  • Device: Pixel 4

  • Android Version: 15

  • App Store: F-Droid

Lingua principale
Java
Stelle
1.1k
Fork
168
Merge medio
20h 11m
PR unite (30g)
28

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/notes-android

Tutte le issue di nextcloud/notes-android

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.