Closed Bug 533285 Opened 15 years ago Closed 13 years ago

Equal editor.singleLine.pasteNewlines = 2 for all OS wanted

Categories

(SeaMonkey :: General, enhancement)

x86
All
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Hb, Unassigned)

References

Details

(Whiteboard: [Fixed by bug 549094])

The preference editor.singleLine.pasteNewlines controls the pasting of content with newlines into single line input fields.  Affected are form fields on webpages, the Location Bar, the address area in MailNews and other places in Seamonkey.

Currently the factory defaults for this pref depend on the OS:
Linux has 0 for "Paste content intact (include newlines)"
Win has 1 for "Paste the content up to (but not including) the first newline"

Since January 2008 Firefox has 2 for "Replace newlines with spaces", see bug 406062.

Thunderbird has 4 for "Replace each newline with a comma". This solves bug 85655 for address lists delimited by comma and/or newline. 

Seamonkey should also take 2 as default. This would equalize behavior between operating systems. Bug 85655 will be solved by this for comma delimited lists without further action.
> Currently the factory defaults for this pref depend on the OS:
> Linux has 0 for "Paste content intact (include newlines)"
> Win has 1 for "Paste the content up to (but not including) the first newline"

Fixed by Bug 549094 Change the value of editor.singleLine.pasteNewlines to match the Firefox value across all Gecko based applications.

editor.singleLine.pasteNewlines is now set to 2 everywhere except Thunderbird.
Status: NEW → RESOLVED
Closed: 13 years ago
Depends on: 549094
Resolution: --- → WORKSFORME
The irony being that the pref was changed to work around a test failure that was subsequently fixed by bug 549475 and thus the pref change wasn't necessary.
(In reply to comment #2)
> The irony being that the pref was changed to work around a test failure that
> was subsequently fixed by bug 549475 and thus the pref change wasn't necessary.

Please, file a bug (or maybe morph+reopen this one) to update that pref (again) if you think that's what should be done now.
Flags: in-testsuite-
Resolution: WORKSFORME → FIXED
Whiteboard: [Fixed by bug 549094]
You need to log in before you can comment on or make changes to this bug.