[Newbies] Re: Suspected bug when setting preferences
nice
ncellier at ifrance.com
Fri Jul 18 20:22:00 UTC 2008
nice wrote:
> stan shepherd wrote:
>>
>>
>> nicolas cellier wrote:
>>>
>>>
>>> Yes indeed, 168 clones of PBBooleanPreferenceView...
>>> We now have to figure out who created these clones, for what purpose,
>>> before deciding if it is a bug, but it looks like a bug indeed...
>>>
>>> Nicolas
>>>
>>>
>>
>> It happens in Preferences>>savePersonalPreferences
>> "Save the current list of Preference settings as the user's personal
>> choices"
>>
>> self setParameter:#PersonalDictionaryOfPreferences
>> to:self dictionaryOfPreferences deepCopy
>>
>> I think during the deepCopy.
>>
>> ...Stan
>
> Using veryDeepCopy instead of deepCopy would avoid cloning classes
> (as the name does not help to guess).
>
> Well, this would deserve some guru advice, I don't much like all these
> copy messages... But veryDeepCopy seems much better than deepCopy. The
> later is not immune to infinite loops in case of circular references...
>
> Nicolas
I forgot this, Stan:
You gathered enough material to open a bug report at http://bugs.squeak.org
You should check about deepCopy/Preferences already reported issue, then
create a login an fill a bug form.
Cheers
More information about the Beginners
mailing list