Abdelrazak Younes wrote:
Abdelrazak Younes wrote:
I had a crash while navigating with the right and left arrow keys with the attached document.

This is probably related to this comment from Lars in Text::setCurrentFont():

        else // potentional bug... BUG (Lgb)
            if (par.isSeparator(pos)) {
                if (pos > cur.textRow().pos() &&
                    bidi.level(pos) % 2 ==
                    bidi.level(pos - 1) % 2)
                    --pos;
                else if (pos + 1 < cur.lastpos())
                    ++pos;
            }


Abdel.


Okay, this time I have something a little more concrete, but I still don't know what it means:

If you make the screen wide enough such that there is enough room for the text after the inset to appear on the same line as the inset (and the text before it), then there's no crash. As soon as the text after the inset has to be placed on a new line, that's when you get the crash.

What led me to test this situation is the fact that the problem has something to do with the start_ variable in Bidi, but I don't understand any of this yet...

Reply via email to