[bt-devel] KDE Bugs? General Comments

bt-devel@crosswire.org bt-devel@crosswire.org
Wed, 29 Mar 2000 05:08:46 GMT


Thomas J. Philpot writes:

> > Basically in the Bible Presenter, if I select a window size that makes a
> > verse wrap so that the last line contains a single word, and then press the
> > next verse icon until the verse is highlighted the following verse is
> > appended to the last line of that verse.
> 
> Appears the same on my system (Mandrake 7.0). II can also reproduce the bug if
> the verse is not highlighted, and it seems to occur on every verse in which the
> final line is one word.
> 
> Not having looked at the code, my question is, is it a bug in
> the HTML widget, the Presenter, or somewhere else?  Wish I had the time to
> check it out...  School just gets in the way of the important stuff sometimes ;)

With my amateur look at the code, I think it is in the HTML widget since
the result of the text search is dumped into the HTML widget.  Since the
HTML is generated the same regardless of the word wrap, I don't see how we
could easily blame anything else.

It appears that each verse is ended with a <BR>, whether it is the current 
highlighted verse or not, and should therefore be displayed properly if the
widget displays them properly.  I could be missing something, but the HTML
widget seems like the probable cause of this situation.

--
   Darwin Gregory

   Jesus is the way, the truth and the life.
   Evolution is a myth...