[squeak-dev] Infinite dialog loop in authorinitials

Marcel Taeumel marcel.taeumel at hpi.de
Tue Feb 25 14:15:40 UTC 2020


At the moment, users are forced to decide on author initials if not set. If they try to escape the dialog, it will just show up again until the user enters something.

I think we will leave this for 5.3. I am happy to change it to some default value after the release.

We could return a default value for those calls to #authorInitials but keep the prompt alive for new request. Hmm...

Thanks for pointing this out! I also find it confusing from time to time. Especially in a new image.

Best,
Marcel
Am 25.02.2020 15:05:30 schrieb K K Subbu <kksubbu.ml at gmail.com>:
How about 'anon'? See attached cs.

Regards .. Subbu

On 25/02/20 3:17 PM, Marcel Taeumel wrote:
> Hi Subbu,
>
> do you propose a default value for AuthorInitials?
>
> Best,
> Marcel
>>
>> Am 25.02.2020 10:40:33 schrieb K K Subbu :
>>
>> Hi,
>>
>> I often press ctrl-v instead of alt-v by accident in Squeak and get an
>> dialog that doesn't go away. This is because of an infinite loop in:
>>
>> Utilities>>authorInitials
>> [AuthorInitials isEmpty] whileTrue: [self setAuthorInitials].
>> ^ AuthorInitials
>>
>> called from TextEditor>>pasteInitials:. Should this be changed to:
>>
>> AuthorInitials ifEmpty: [ self setAuthorInitials ].
>> ^AuthorInitials
>>
>> Regards .. Subbu
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200225/dbba2572/attachment.html>


More information about the Squeak-dev mailing list