Ethereal-dev: Re: [Ethereal-dev] Preferences bug: font reset if editing preferences
I just rebuilt from make distclean with an up-to-date CVS snapshot and
the bug is still there.
I'm building Ethereal from cvs with GTK+-2.2.3 on cygwin (gcc, bash
shell etc). I have color filters, I open a capture, go to edit,
Preferences, and select Protocols. There I choose a random protocol,
and set and unset a boolean preference (net effect is zero of course).
Then I choose either Apply or Save, and voilà :) I just verified that
the bug also appears when opening the Preferences dialog and clicking
"Apply" without doing anything.
After some more testing I saw that there is a problem with the
selected font in the font preferences. If you open the preferences and
go to the font settings, then I *invariably* see the serif font in
normal weight at 12 point size as the highligted (hence selected)
item, even after having changed the font. I expect this is the cause
of the problem: as Ethereal displays another font, the font
preferences have been changed (even without the user having changed a
thing).
Might this be an issue only visible when compiling with "-O3" as
optimization? Or is this something like the column dialog thing?
Currently I cannot generate an Ethereal version with GTK+-1.x so I
cannot test this scenario.
Regards,
Olivier
----- Original Message -----
From: "Ulf Lamping"
| Olivier Biot wrote:
|
| >Hi list,
| >
| >The current CVS version of Ethereal has a bug in the Preferences.
If
| >you edit the protocol preferences, your font gets replaced with
some
| >default font (sans normal 12pt) once you click on "Apply" or
"Save".
| >
| Hmmm, tried it on GTK1 and GTK2 and couldn't reproduce your problem.
|
| Do you have made a "rebuild all"?
| Do you use GTK1 or 2?
| What *exactly* are you doing?