Issue 127608 - Repeated copy-paste between search for and document seems to add or corrupt the character when it's an ATM emoji
Summary: Repeated copy-paste between search for and document seems to add or corrupt t...
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: 4.1.4
Hardware: PC Windows 7
: P5 (lowest) Minor (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-26 15:34 UTC by Keith McFall
Modified: 2017-11-26 21:43 UTC (History)
0 users

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


Attachments
original search for text string with ATM Emoji at the end (9.89 KB, image/png)
2017-11-26 15:34 UTC, Keith McFall
no flags Details
the eventual pasted string with ATM corrupted at the end (9.68 KB, image/png)
2017-11-26 15:34 UTC, Keith McFall
no flags Details
the two strings compared next to each other in word (8.02 KB, image/png)
2017-11-26 15:35 UTC, Keith McFall
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Keith McFall 2017-11-26 15:34:10 UTC
Created attachment 86270 [details]
original search for text string with ATM Emoji at the end

Repeated copy-paste between search for and document seems to add a character

Repeated copy/paste between search for dialog and document of the ATM Emoji Symbol seems to add a character to the string or corrupts the character. 

By itself, I don't think this failure is that troublesome but there might be an underlying fault/error that is more interesting here.

Steps to reproduce and trigger the failure:
1. Add the following text to your document. See attached "original search for text" ATM Emoji or U+1F3E7 or 🏧
I got this symbol from line 230, the last character of the big list of naughty strings from github. https://github.com/minimaxir/big-list-of-naughty-strings/
2. Then CTRL-F or Edit - Search and Replace to launch the Find & Replace Dialog.
3. Paste this same text to the search for text field and click find. --> The text will be found.
3. Then you need to copy the same text in the search for text field by selecting the text in the search for text box and CTRL-C.
4. Then paste this text also into the document.
5. Then again select this text and CTRL-C. 
6. Go back to the search for dialog and re-paste into the search for text field. You will see something like this. See attached "paste with character changed"
Note: You may need to try this a few times. 
7. If you then try to search for this in the document, it will not match the text. It seems that some sort of extra character gets into the copy buffer on the last paste. If you then try to search for this in the document

In my screenshot attachments the last character is of interest.
There is also an attachment that shows the before and after string in word compared next to each other.

Potential also of interest in looking at this:
If you then copy and re-paste the entry from the search for into the document it sometimes seems to drop that last character or change it. It's hard to say as sometimes it is displayed and other times it is not.
When you try to select the new text, the "extra character" seems to disappear.

Windows 7 Enterprise 64-bit
16GB RAM, Intel Core i7-4810MQ CPU 2.80 GHz
Comment 1 Keith McFall 2017-11-26 15:34:47 UTC
Created attachment 86271 [details]
the eventual pasted string with ATM corrupted at the end
Comment 2 Keith McFall 2017-11-26 15:35:24 UTC
Created attachment 86272 [details]
the two strings compared next to each other in word