Issue 64125 - writer clears selection clipboard when changing cursor position
Summary: writer clears selection clipboard when changing cursor position
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 2.0.2
Hardware: All Unix, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: oooqa
: 108438 (view as issue list)
Depends on:
Reported: 2006-04-08 09:55 UTC by rabauke
Modified: 2013-08-07 14:38 UTC (History)
1 user (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description rabauke 2006-04-08 09:55:12 UTC
In Linux I can copy text to the clipboard by simply selecting text and pasting 
it using the middle-click.

If you set-up a table with two cells and have some text in the left one, you 
can select it and middle-click into the right-hand cell and the text is pasted 
as expected.

However, if you first left-click into the right-hand cell and then use 
middle-click, nothing is pasted. It seems that left-click into a cell clears 
the clip-boards, i.e. copies an empty string to it.

Expected behaviour would be to paste the selected content into the right-hand 
cell, even if the cursor was first placed into it with a left-click.
Comment 1 lohmaier 2006-04-11 00:15:14 UTC
Has nothing to do with tables...

Middle-click pastes the selection-clipboard. OOo clears the selection when there
is no highlighted text anymore (i.e. "nothing" is selected/highlighted, so
"nothing" will be pasted).

Other applications (and the main part of OOo as well) don't clear the selection
clipboard when the cursor is positioned elsewhere (but they clear the selection
itself, the highlighting).

OOo should behave the same throughout → confirming.
selection Clipboard doesn't exist on windows → OS set to Unix,X11

Already works as expected in Text-Drawing objects in Impress and Calc, thus I
assume it is a defect in writer. (If you set to enhancement without refering to
this, I'll reset back to defect)
Comment 2 michael.ruess 2006-04-20 15:49:27 UTC
Reassigned to ES.
Comment 3 eric.savary 2006-04-20 16:27:56 UTC
ES->Cloph: I do not agree with the "defect":
1) Exception
- insert a Draw text box (in any app)
- type some text in it
- select it
- go out of the box
- X-Paste
-> yes it works!

2. "Normal" non-Unix-like-own-OOo-behavior:
- Select a Draw rectangle (in any app)
- Unselect it
- X-Paste
-> Nothing

b) in Calc, select a cell with content
- Unselect it
- X-Paste
-> Nothing

Yes this is an OOo "speciality" but not a defect of one App.

Reassigned to Requirements
Comment 4 michael.ruess 2010-01-19 11:04:44 UTC
*** Issue 108438 has been marked as a duplicate of this issue. ***
Comment 5 Dotan Cohen 2010-01-19 16:23:13 UTC
This is definitely a defect and unexpected behaviour. Other applications, such
as the Firefox web browser and the Kate text editor do not clear the selection
when the selected text is deselected.

Steps to reproduce:
1) Open new Writer window, type "Hello, world!", and press enter 10 times
2) Highlight the word "Hello"
3) Move the mouse pointer down a line or two and press the middle mouse button
4) See the text "Hello" pasted where the mouse cursor is
5) Now click somewhere on the screen to remove the highlight from the original
6) Move the mouse slightly below the second "Hello" and middle click
7) See that there is nothing pasted
Comment 6 eric.savary 2010-10-03 07:28:31 UTC
*** Issue 114897 has been marked as a duplicate of this issue. ***