Closed
Bug 188366
Opened 22 years ago
Closed 20 years ago
Does not copy encoded text correctly
Categories
(Core :: DOM: Selection, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: raccettura, Assigned: mjudge)
References
()
Details
(Keywords: platform-parity)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130 When selecting copying and pasting encoded text, it doesn't copy what's in the HTML, but what the encoded text stands for. For example: <html><body>Robert Accettura</body></html> Reproducible: Always Steps to Reproduce: 1. Create a webppage with the html sample above 2. Open the webpage in Mozilla 3. Select the encoded text 4. Try pasting it into another program, for example AIM. Actual Results: Pastes "Robert Accettura" Expected Results: Pasted "Robert Accettura"
IMO it should always copy what you see, not whatever obscure encoding behind it. UNLESS, of course, you are copying from source view? Is this a bug you see when you copy/paste from a view->page source window?
Forgot the obvious: WFM when copying from source view on a week old Linux build.
Reporter | ||
Comment 3•22 years ago
|
||
Added URL.
Comment 4•22 years ago
|
||
If I copy and paste this I should get exactly that text, unless I copy from the view-source window.... Any chance of answering the questions from comment 1?
Comment 6•22 years ago
|
||
So the following steps (on Linux trunk build 2003-01-06-22): 1) Open http://media.accettura.com/mozilla/188366.html 2) Open view source on that page 3) Select all the text in <body> inside the view-source window. 4) paste it into another app. When I do this with either a text editor or Mozilla composer the text that is pasted is "Robert Accettura" I assume you are seeing a different result?
Reporter | ||
Comment 7•22 years ago
|
||
yep
Comment 8•22 years ago
|
||
Sounds like an OS-specific clipboard issue, then.
These steps WFM, WinXP, 2003010908 trunk: -Load the URL -Select "Vuew->Page Source" -Select the text between the <body> tags in the sourcepage -Copy it -Paste it into wordpad: Pasted: Robert Accettura
Comment 10•22 years ago
|
||
WFM too - Win200, 20030108 build.
Reporter | ||
Comment 11•22 years ago
|
||
Did some more testing today. Perhaps it's an AIM issue? I tried it in wordpad, and it worked normally. Hmm... think I need to get 8hrs of sleep every night. Supposed to be good for you.
Comment 12•20 years ago
|
||
worksforme with 1.7 RC2 on windows XP pasting into my text editor. Seems like Mozilla selection and clipboard works as expected.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Comment 13•20 years ago
|
||
Note that chances are AIM was picking up the HTML flavor, not the TEXT flavor....
You need to log in
before you can comment on or make changes to this bug.
Description
•