SwAutoCompleteWord

Tomaž Vajngerl quikee at gmail.com
Wed Jun 5 02:18:48 PDT 2013


Hi Michael, Bjoern

On Tue, Jun 4, 2013 at 11:52 PM, Michael Stahl <mstahl at redhat.com> wrote:

> hi Tomaž,
>
> i noticed that SwAutoCompleteWord appears to contain 2 different
> auto-complete mechanisms - an old vector m_WordList and a new
> m_LookupTree that was introduced a year ago; is there some
> ongoing work here?  can the old vector be removed?
>

Ah yes this is still a to-do. Currently you need both because LookupTree
does not implement an iteration through all words. You however need this
for the dialog - so a temporary solution then was to just use both for the
time being and put new words in both lists. I have forgot about this but
now you reminded me, I will take a look and implement iteration.


> regards,
>  michael



On Wed, Jun 5, 2013 at 12:15 AM, Bjoern Michaelsen <
bjoern.michaelsen at canonical.com> wrote:

> Hi there,
>
> sorry for shamelessly piggybacking:
>
> On Tue, Jun 04, 2013 at 11:52:49PM +0200, Michael Stahl wrote:
> > hi Tomaž,
> >
> > i noticed that SwAutoCompleteWord appears to contain 2 different
> > auto-complete mechanisms - an old vector m_WordList and a new
> > m_LookupTree that was introduced a year ago; is there some
> > ongoing work here?  can the old vector be removed?
>
> Oh, while we are at it:
>
> This fancy new lookup tree seems to cause this crasher/stacktrace:
>
>  https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1162191
>
> since LibreOffice 4.0~beta2, which was the first 4.0 release packaged for
> Ubuntu, causing some ~50 crashes on Ubuntu daily (second most common
> stacktrace
> for libreoffice right now).
>

This is pretty bad! There was already a bug report about this [1] but was
later closed.. so I did not look further into this. I will do a review of
the implementation, maybe I will spot the problem.


> Best,
>
> Bjoern
>

Regards, Tomaž

[1] https://bugs.freedesktop.org/show_bug.cgi?id=55315
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130605/8c9c8dfc/attachment.html>


More information about the LibreOffice mailing list