Issue 3222 - Erroneous : Paste special (unformatted text)
Summary: Erroneous : Paste special (unformatted text)
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: 641
Hardware: PC Windows 98
: P3 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-26 19:36 UTC by Unknown
Modified: 2013-08-07 14:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
test results of several paste-special with "added" chars (5.79 KB, application/octet-stream)
2002-03-01 21:40 UTC, Unknown
no flags Details
Test input data for Notepad loading and repeated Paste-special (see detailed YR message) (862 bytes, text/plain)
2002-03-01 21:42 UTC, Unknown
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-02-26 19:36:57 UTC
I do a lot of transfer between Pegasus mail and a Text document under
OpenOffice. Most of the job consists in copying a bit of text from an e-mail
message in Pegasus mail (http://www.pmail.com/), going to SO, Edit>Paste
Special>Unformatted text (and then reformatting it using styles).

But about one time in 3 (or 2), I get the original text PLUS a few gibberish
characters added at the end of the paste. Nothing much (usually between 2 and 5
chars, never more than 10 in my experience). but it is defintely annoying and
probably a bug in the Clipboard management.

Have fun
Yves R
Comment 1 stefan.baltzer 2002-03-01 12:05:31 UTC
But in whose clipboard management...? ;-)
Reassigned to Éric.
Comment 2 eric.savary 2002-03-01 13:25:28 UTC
I cannot reproduce this.
Please try to reproduce this and find which kind of text, selections 
causes this problem. Attach the text file to the issue and describe 
exactly what kind of "gibberish characters" you get.
Comment 3 Unknown 2002-03-01 21:40:31 UTC
Created attachment 1132 [details]
test results of several paste-special with "added" chars
Comment 4 Unknown 2002-03-01 21:42:30 UTC
Created attachment 1133 [details]
Test input data for Notepad loading and repeated Paste-special (see detailed YR message)
Comment 5 Unknown 2002-03-01 21:44:51 UTC
I have been giving it another try. I now have a fairly certain way of
reproducing it without involving much outside variables (excluding
most of the question of Eric ;-)

Let say I have the following text in a Notepad window:

------------ begin -------------
Canter & Siegel
http://www.eff.org/pub/Legal/Cases/Canter_Siegel/
Avril 1994, deux avocats de Phoenix (Arizona, USA) ont posté un 
nombre conisdérable de messages proposant leurs services 
(essentiellement inutiles, d'ailleurs) pour participer à la loterie 
organisée par le gouvernement américain en vue de la distribution 
d'un lot de Green cards (cette carte est nécessaire pour tout étranger 
désirant travailler aux USA). Ils avaient fait cette publicité 
manuellement sur plusieurs groupes de discussion Usenet, mais le 
12 avril, avec l'aide d'un programmeur, ils ont bombardé tous les 
groupes de discussion Usenet (plusieurs milliers) en quelques 
minutes.

Le terme de SPAM semble avoir vraiment pris pied dans les jours qui 
ont suivi pour décrire ce type de pratique sur Usenet. Il sera repris 
ensuite pour le courrier électronique.
----------- end -------------


I select all the text in Notepad. And Copy it (to the [text]
clipboard). Then, I open a new "text document" from the Windows icon
bar. In the empty document page, I will go Edit>Paste Special... and
selected "unformatted text" (the only available option, actually). the
text is copied into the text document. About 3 times out of 4, I get
the text plus a few chars isolated on an added line at the end. In the
tests I just did the added chars were each time either nothing or the
set of 4-5 chars (with no end-of-line included) as in:

--- nothing ---
--- nothing ---
˜###
›#x#
--- nothing ---
?# ##
m#x##
¶####
£###
¡#ˆ##
--- nothing ---
--- nothing ---
¤#0#


I hope that despite the fact the "test" text is in French, somebody
will be able to reproduce the issue. I have attached both the result
of the operation (for clarification) and the original Notepad data to
insure people can get it all including accented letters if that has
any impact and it would not go easily thru the HTML form box).

AdvThxance
Yves R
Comment 6 eric.savary 2002-03-04 11:25:48 UTC
Now I can reproduce it

Comment 7 eric.savary 2002-03-04 11:26:21 UTC
ES->AMA:
On Win98:
- 641c -> as described (random amount/kind of trash cars)
- 642 -> one hash at the end of the pasted selection.
On both: crash when holding [Ctrl]+V during approx. 2 pages. 

On Win2000:
- 641c -> 1 haas at the end of the pasted selection.
- 642 -> everything seems to be ok.

ES->roums:
> I hope that despite the fact the "test" text is in French,
> somebody will be able to reproduce the issue.

T'inquiètes pas, on trouve toujours moyen de s'débrouiller ;-)
Comment 8 andreas.martens 2002-03-04 12:34:24 UTC
I've learned French for four years but this happens more than twenty-
five years ago the last millenium. However, I'll check this bug and 
will ask JP about it.
Comment 9 andreas.martens 2003-02-04 13:25:01 UTC
AMA->ES: Please test the behaviour in our latest version. If it still
occurs, please send this bug to CMC, who's responsible for the ASCII
filter. Maybe there's an uninitialized variable in the filter which
causes these behaviour.
Comment 10 eric.savary 2003-02-20 13:55:27 UTC
Ok now in 644m4
Comment 11 eric.savary 2003-02-20 13:55:42 UTC
closed
Comment 12 eric.savary 2003-02-20 13:56:04 UTC
closed