2011/4/28 Nick Hall <nick__hall@hotmail.com>

On 28/04/11 02:00, Doug Blank wrote:
> On Wed, Apr 27, 2011 at 5:47 PM, Nick Hall<nick__hall@hotmail.com>  wrote:
>> Devs,
>> I was looking at the following feature request:
>> 0004566: Please remove trailing spaces on items on input.
>> http://www.gramps-project.org/bugs/view.php?id=4566
>> It is very easy to remove leading and trailing whitespace from all data
>> entry fields.  I attached a one line patch to the request.
>> Do we want to do this?  Is it a good idea?
> If we do this, do we want to also make sure that all other methods of
> getting data into the database also have white space trimmed off of
> them? That would include other Data Entry widgets and imports.

A good question.  The feature request asks for trailing spaces to be
trimmed from certain fields in the editors.  I saw that making a very
simple change to a single line in the MonitoredEntry class would achieve

> Also, maybe Notes should not have this done? Notes may have a newline
> or two so the next notes appear as a new paragraph, and this would
> remove those.

Probably not.

I thought that I would ask on the list because we might want to include
this in 3.3 if we restricted ourselves to just the basic change.

I cannot think of a real problem. Nevertheless, please post this question on the user list to see if users that are on the list agree to this.