Bible verse display misalignment (verse by line)

Bug #788770 reported by Simon Scudder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Low
Unassigned

Bug Description

b1575 - Delete ~/.config/OpenLP/OpenLP.conf to bring up first use wizard, and select the Joao Ferreira de Almeida Portuguese bible.

In Bible manager, select Genesis 1:1-10, click on search
Change to verses by line
Select a couple of verses and click on preview to display on preview monitor.
The first verse is flush against the top-left corner, and the subsequent verses are offset to the right slightly.

It only happens on the first line, no matter what verses are selected. Try verses 1-3 and 2-4, for example.

Related branches

Revision history for this message
Simon Scudder (samscudder) wrote :
description: updated
Changed in openlp:
assignee: nobody → Andreas Preikschat (googol-hush)
importance: Undecided → High
milestone: none → 1.9.6
status: New → Confirmed
Changed in openlp:
status: Confirmed → Fix Committed
Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :

The alignment will be fixed later. (I was fixing the   issues).

Changed in openlp:
importance: High → Low
status: Fix Committed → In Progress
Revision history for this message
Simon Scudder (samscudder) wrote :

If the selected verse fill up a slide completely, or overflows onto another slide, then lines are correctly aligned. I'll add some more screenshots to demonstrate

Revision history for this message
Simon Scudder (samscudder) wrote :

Four verses... misaligned.

Revision history for this message
Simon Scudder (samscudder) wrote :

Five verses... filled up slide... aligned correctly

Revision history for this message
Simon Scudder (samscudder) wrote :

Six verses... overflowed to second slide... aligned correctly

summary: - João Ferreira de Almeida bible verse display misalignment
+ Bible verse display misalignment (verse by line)
Revision history for this message
Simon Scudder (samscudder) wrote :

The extra space is being added in /plugins/bibles/lib/mediaitem.py

The loop that adds the verses per line contains this:

bible_text = u'%s %s %s\n' % (bible_text, verse_text, text)

Note the space inserted between bible_text and verse_text. Still haven't figured out why it works if it's on multiple slides, or completely fills up the first slide.

Revision history for this message
Simon Scudder (samscudder) wrote :

Ops... forgot to mention the line number: 774

Changed in openlp:
status: In Progress → Fix Committed
Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :

Fixed in trunk r1579.

Changed in openlp:
status: Fix Committed → Fix Released
Revision history for this message
Simon Scudder (samscudder) wrote :

I noticed this bug is back in trunk r1613 and r1615 at least

Changed in openlp:
status: Fix Released → New
Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :

I hope that this is now completely fixed.

Changed in openlp:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.