Issue 119351 - Paste with select buffer (middle-mouse) resets cursor to start position after paste
Summary: Paste with select buffer (middle-mouse) resets cursor to start position after...
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: version58
Hardware: PC All
: P3 Normal with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2012-05-14 23:33 UTC by David Rankin
Modified: 2015-05-20 20:40 UTC (History)
4 users (show)

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

ODT to reproduce this bug (83.99 KB, application/vnd.oasis.opendocument.text)
2012-06-13 14:19 UTC, oooforum (fr)
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description David Rankin 2012-05-14 23:33:31 UTC
New Apache openoffice 3.4 install
OS: Archlinux (kernel: linux 3.3.5-1)
gtk2 2.24.10-3
gtk3 3.4.3-1


  Great job with 3.4! There is no such thing as bug-free code, but for an initial AOO release - this looks pretty clean. Here is a bug that is just frustrating. When pasting into a writer document (either plain text or text from another writer doc) the cursor is moved back to the start of the insertion after the paste is done. Meaning - after you paste some text, the cursor moves back to the beginning of what you just pasted and you have to either arrow, or use end, to get back to the end of what you just pasted to be able to continue typing in the document.


  If I have the following line with the cursor at the position shown by the carrot:

This is just a line where

  and I want to paste ' I want to add some text'. After I paste the text, the cursor is moved back to the beginning of the paste leaving the current cursor in the middle of the sentence instead of the end. eg:

This is just a line where I want to add some text

It's like somebody got confused and used 'memcpy' instead of 'mempcpy' when copying the new text into the current line.

I don't know what the actual issue is, but that is how it behaves.

Again - great job! Let me know if I can send anything else.
Comment 1 louqle 2012-05-25 08:32:49 UTC
I cannot reproduce it on Windowns 7 64-bit or Ubuntu 10.04 against Aoo 3.4 r1327774
Comment 2 oooforum (fr) 2012-06-13 14:19:44 UTC
Created attachment 78294 [details]
ODT to reproduce this bug
Comment 3 oooforum (fr) 2012-06-13 14:24:31 UTC
Steps to reproduce:
1) open the attached file
2) go to any page
3) in your favorite browser or from your disk, copy a picture
4) paste it

Wrong behavior: you jump to the end of document
Comment 4 Du Jing 2012-07-17 02:09:41 UTC
can reproduce the defect in OO-dev3.4.1_r1354891,change its status~
Comment 5 Kay 2015-05-20 20:40:08 UTC
Possibly the same cause as:

The description sounds similar.