Apache OpenOffice (AOO) Bugzilla – Issue 127608
Repeated copy-paste between search for and document seems to add or corrupt the character when it's an ATM emoji
Last modified: 2017-11-26 21:43:41 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
Created attachment 86271 [details] the eventual pasted string with ATM corrupted at the end
Created attachment 86272 [details] the two strings compared next to each other in word