[PATCH] KFontChooser crashes when changing to fixed fonts

Chusslove Illich caslav.ilic at gmx.net
Sat Feb 23 22:14:23 GMT 2008


> [: Thomas McGuire :]
> The reason is in setFamilyBoxItems() [...] causes a signal to be emitted
> and then _k_family_chosen_slot() is called [...] will crash.

Nothing ought to react during setFamilyBoxItems() itself, as it is just an
initialization step for setting up the display, and family selection etc. is
always performed afterwards (in setupDisplay(), which setFont() calls at the
end). The attached patch should be more according to this description. (Or,
switching off the passive voice: I screwed up :)

Does it also fix the issue for you?

-- 
Chusslove Illich (Часлав Илић)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fontchooser-02.diff
Type: text/x-diff
Size: 858 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080223/add34754/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080223/add34754/attachment.sig>


More information about the kde-core-devel mailing list