[Sugar-devel] Sugar Labs Bug: 2485

Walter Bender walter.bender at gmail.com
Thu Feb 3 16:02:56 EST 2011


On Thu, Feb 3, 2011 at 3:55 PM, Frederick Grose <fgrose at gmail.com> wrote:
> On Thu, Feb 3, 2011 at 3:27 PM, Samuel Greenfeld <greenfeld at laptop.org>
> wrote:
>>
>> Personally I don't think this would break a multi-line fancy name unless
>> the desired effect is to override the centering of every line.  How they
>> added the extra linefeeds in the middle would be another discussion and
>> point we need to know.
>>
>>
>> If we do want to support fancy names, etc., we are going to have to come
>> up with ways of testing them to make sure that the rest of the system
>> tolerates them.  Names do not always appear alone.
>>
>>
>> In general for non-fancy users, I believe we should try and trim
>> whitespace around names, journal entries, etc. because most users likely
>> did not mean to add it there .  While one could make fancy names, and
>> add leading whitespace to filenames to override sorting as well, this
>> actually does violate at least a few file system specs, regardless of
>> what shell prompts seem to tolerate.
>
>
> Perhaps Jordan's new team could investigate those implications if they
> continue with the proposed change.

I was just about to say the same thing. It could be that we have a
means of converting fancy names to safe names for system use, but keep
the fancy names for display in the UI... worth investigation by
Jordan's team!!

-walter

> Perhaps, as you've suggested, the greatest benefit would be for the new
> Learner who unintentionally enters whitespace on their initial registration,
> and the proposed strip code should be limited to that event.
> Best wishes,
>       --Fred
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org


More information about the Sugar-devel mailing list