Open Bug 170418 Opened 22 years ago Updated 2 years ago

Copying URL or other plain text should not include style info

Categories

(Core :: XUL, defect)

PowerPC
macOS
defect

Tracking

()

People

(Reporter: mozilla7, Unassigned)

References

Details

(Whiteboard: [fixed on trunk?])

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.2b) Gecko/20020922 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.2b) Gecko/20020922 When copying text from the address bar, a form field, or via right-click and "Copy Link Location", Mozilla invents style information (font, size, color) to go along with it. So, when you paste into an application that accepts styled text (such as AIM), it messes up whatever formatting you wanted to use. Mozilla should copy style information when copying from text on a web page, but not when copying from a plain-text source such as the address bar. Reproducible: Always Steps to Reproduce: 1. Copy the URL from the address bar, or right-click a link and choose "Copy Link Location" 2. Switch to a word processor, set the font to something usual, change the size to 36 point, change the color to purple, select Bold, and type a few words 3. Paste Actual Results: The URL you copied is pasted in the default system font (13 point Lucida Grande for me), not bold and not purple Expected Results: The URL should have been copied as plain text with no formatting, so when you paste it, it should use whatever style you're already using (obnoxious and purple), just as if you had typed the URL manually.
not bugzilla
Assignee: justdave → jaggernaut
Component: Bugzilla-General → XP Toolkit/Widgets
Product: Bugzilla → Browser
QA Contact: matty → jrgm
Version: unspecified → other
damn, how the hell did I do that? clicked the wrong one, sorry. :-)
Summary: Copying text includes bogus formatting info → Copying URL or other plain text should not include style info
*** Bug 178448 has been marked as a duplicate of this bug. ***
*** Bug 242826 has been marked as a duplicate of this bug. ***
I'll be this bug is fixed on the trunk. Reporter, can you please test this on the trunk and see if it's fixed? If so, it was fixed by Cocoa widgets.
Whiteboard: [fixed on trunk?]
Assignee: jag → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.