[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: KOFFICE_1_3_BRANCH: koffice/lib/kotext
From:       Waldo Bastian <bastian () kde ! org>
Date:       2004-02-07 22:59:19
Message-ID: 200402080003.56647.bastian () kde ! org
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is related to BR64952 btw... I notice that one of the backtraces in there 
has cw = ch = -512 btw, so maybe this should be:
	if ((cw <= 0) || (ch <= 0)) return;

The underlying cause seems to be that the page itself seems to become the 
active text frame due to lack of other frames. I am not familiar enough with 
kotext to fix that.

Cheers,
Waldo

On Sat February 7 2004 23:49, Waldo Bastian wrote:
> CVS commit by waba:
>
> "Page Layout -> Empty Page" results in some serious mislayouting. (0 width
> text frame?) This patch fixes the crash that results from the 0 width
> crect.
> Please forward port.
>
>
>   M +2 -0      kotextdocument.cc   1.56.2.1
>
>
> --- koffice/lib/kotext/kotextdocument.cc  #1.56:1.56.2.1
> @@ -321,4 +321,6 @@ void KoTextDocument::drawParagWYSIWYG( Q
>                                         KoTextCursor *cursor, bool
> resetChanged, uint drawingFlags ) {
> +    if ((cw == 0) || (ch == 0)) return;
> +
>  #ifdef DEBUG_PAINTING
>      kdDebug(32500) << "KoTextDocument::drawParagWYSIWYG " << (void*)parag
> << " id:" << parag->paragId() << endl;

- -- 
bastian@kde.org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian@suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAJW7cN4pvrENfboIRArp5AKCNQ/kPMNGbGjqV5FkFMjkRCq1mogCdFmP/
K0h/g2ywtc6pgAjwY0HK/3A=
=+tMc
-----END PGP SIGNATURE-----
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic