Closed Bug 534882 Opened 16 years ago Closed 7 months ago

pre-formatted text with \n copies with no line breaks

Categories

(Core :: General, defect)

1.9.2 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: moped03, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729) Pre-formatted text that is formatted with only \n style newlines copies with no newlines at all. I've only seen this happen on a page where there are mixed newline styles, both \r\n and \n. An example page which can illustrate this issue is here: http://www.osronline.com/showThread.cfm?link=143925 If you wget the page and then look at it with an editor that shows the ^M characters, you'll see that within the xmp tag, there are no ^M characters. Outside of the xmp tags, there are. Reproducible: Always Steps to Reproduce: 1. visit example page: http://www.osronline.com/showThread.cfm?link=143925 2. select some of the text from a single forum post 3. copy 4. paste into a text editor Actual Results: There are no newlines in the pasted text. Expected Results: The pasted text should have newlines in the same places that the lines are broken in the forum text. I've verified that this happens in the following: Firefox 3.5.x on x86 Windows XP Firefox 3.0.x on x86 Windows XP Firefox 2.0.x.y on SPARC Solaris 10 update 8
Reporter, please retest with Firefox 3.6.12 or later in a fresh profile (http://support.mozilla.com/kb/Managing+profiles). Also update your plugins (flash, adobe reader, java, quicktime, silverlight, etc.) Go to the developer's website and download the latest version from there. If you no longer see this issue, please close this bug as RESOLVED, WORKSFORME. If you do see the bug, please post a comment.
Whiteboard: [CLOSEME 2010-12-01]
I've retested with Firefox 3.6.12 on Ubuntu 10.04 LTS. I'm still seeing the issue. I'd rather not manually screw with the plugins on my daily use install. I've downloaded a copy of Firefox from mozilla.org, but it's still picking up my plugins. As no plugins are needed to display the page I listed in the bug reproduction steps, is there an easy way to start firefox without any plugins? If so, I'll retest to verify that this isn't a plugin related issue.
Product: Firefox → Core
QA Contact: general → general
Whiteboard: [CLOSEME 2010-12-01]
Version: unspecified → 1.9.2 Branch
I can confirm this bug with this URL: http://www.elektrosoft.it/tutorials/hbqt/hbqt.asp with also firefox 29
Severity: minor → S4

(In reply to Sylvestre Ledru [:Sylvestre] from comment #3)

I can confirm this bug with this URL:
http://www.elektrosoft.it/tutorials/hbqt/hbqt.asp
with also firefox 29

Both on that site and the original site it seems to work for me these days.

Status: UNCONFIRMED → RESOLVED
Closed: 7 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.