sampie777 / hymnbook2

Mobile hymn book app.
2 stars 0 forks source link

[bug] Last line of verse disappears #199

Open sampie777 opened 10 months ago

sampie777 commented 10 months ago

On some devices, at a certain zoom level, the last line of a verse disappears.

Known verses: Psalm 39: 6 (Totius) (total 7 verses) Psalm 148: 4 (Totius) (total 5 verses) Psalm 139: 9 (Totius) (total 12 verses) Gezang 166: 3 (Gereformeerd Kerkboek) (total 4 verses) Psalm 51: 2 (Totius) (total 8 verses) Psalm 27: 4 (Totius) (total 6 verses) Psalm 89: 14 (Totius) (total 18 verses) Psalm 110: 6 (75% zoom by G.) Skrifberyming 24: 2 (by Benz)

Temporarily solution seems to be to put an (extra) whitespace after the second-last line (the last line visible when the actual last line has disappeared).

Android 12 Android 13

One UI 5.1

At least 4 or 5 devices are affected.

First incident report: 21/5/2023 v1.5.0 (409) on Android for Psalm 139: 9 (Totius) by Koo.

sampie777 commented 9 months ago

Added debug setting to enable adding an extra whitespace after each verse, to see if this can automatically solve the problem instead of manually adding a whitespace to each verse in the database.

See commit https://github.com/sampie777/hymnbook2/commit/dd3c6ae39cb945ad353579df3d1d3bcfcd3dc7cb

sampie777 commented 9 months ago

Debug setting didn't work as it was adding a whitespace to the end of the verse and we need a whitespace before each line end (new line). See commit 80bf13d

sampie777 commented 7 months ago

Might be the same issue as: https://github.com/sampie777/hymnbook2/issues/221#issuecomment-1926599558