[poppler] Poppler sibling count bug (patch)

Albert Astals Cid aacid at kde.org
Sat Aug 1 06:42:28 PDT 2009


A Dissabte, 1 d'agost de 2009, Guillermo Antonio Amaral Bastidas va escriure:
>   Hi guys,
>
>   I found what was going nuts with the sibling count in a few documents I
> have been debugging for KDAB.
>
>   * The Problem: Okular never got an inaccurate sibling count on buttons so
> it treated them all button widgets as separate button groups, breaking
> grouped radio and check-boxes.
>
>   * The Solution: It seems that this affected forms where most fields
> reside as children of a single field and not root.
>
>    In short FormField::fillChildrenSiblingsID() was not propagating
>   the fillChildrenSiblingsID call to it's children so it never generated
> the sibling information.
>
>    I noticed a call to loadChildrenDefaults() but since it already gets
> called at the end of construction I'm guessing it's a mistake (tsdgeos any
> thoughts?)
>
>    This fixes the problem and keeps working forms, well working.
>
>    Please review and commit if it gets a green light.

Commited, should the copyright line go to you or to KDAB? If to KDAB can i get 
a mail address?

Albert

>   Cheers,
>   GA
>
>   ATTACHED: patch
>   TESTCASE: http://downloads.guillermoamaral.com/kdab/01_ump_a_2009.pdf



More information about the poppler mailing list