[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Memory corruption in kfontdialog?
From: David Faure <david () mandrakesoft ! com>
Date: 2002-08-07 7:50:27
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 31 July 2002 22:59, Dave Corrie wrote:
> Hi,
>
> When I do "kcmshell fonts" to edit my fonts and go to change a font that
> has a bold + italic style, the font chooser dialog does not always
> choose "Bold Italic" as the initial style. Editing a bold italic Arial
> font sometimes works, but editing a bold italic Trebuchet font never
> seems to (although this phenomena is not restricted to MS fonts).
>
> I stepped through the kfontdialog code to figure out what was going on,
> because the font dialog is passed the correct font to show initially,
> it just doesn't always show it. With the attached patch applied (it
> just adds some output info), the style of the font "magically" changes
> after the (seemingly unrelated) call to setCurrentItem().
.... which emits signals, to which slots are connected, which probably
change that member variable.
- --
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
Back from holidays
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9UNFD72KcVAmwbhARAosgAKCqPsXD6LLj3ej6mxTkZ9845lULzgCfREhk
jwnrkqySIh6ZZVyyTUklxps=
=gNUl
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic