Issue 111934 - block selection area changes slightly on copy to clipboard
Summary: block selection area changes slightly on copy to clipboard
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 3.2
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-29 21:14 UTC by Joe Smith
Modified: 2017-05-20 10:44 UTC (History)
1 user (show)

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


Attachments
screen capture showing selection before and after copy (147.98 KB, image/png)
2010-05-29 21:16 UTC, Joe Smith
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Joe Smith 2010-05-29 21:14:28 UTC
Steps to reproduce:
1) File > New > Text Document
2) Insert some text: for example, dt, F3
3) Edit > Selection Mode > Block Area: ON
4) Select a block through the middle of the paragraph, for example, a block that
matches the boundaries of the sentence "That didn't bode well." in the first
line of the dummy text, extended through all the lines of the paragraph.
5) Watch carefully the extent of the selection's right boundaries
6) Copy the selection to the clipboard (Ctrl+C)

Expected result:
Copy to clipboard should not change the selection

Actual result:
Copying to the clipboard causes the selection to be extended one character
toward the right on several lines.

See the attached screenshot for an example.

This does not always happen, but for a particular selection, it is mostly
reproducible. The exact result does seem to depend on exactly what is selected
and how the selection was made.

The changes always seem to be on the right side of the selection; I have not
seen the left-side boundaries change...

... Oops, I spoke too soon: if I start the selection at the right and move the
mouse up and to the left, then the boundaries on the left side change with copy.
It looks like the copy is somehow making a small change in the editing cursor
position and that triggers a change in the block selection boundary.

The problem is not that block selection is complex when the characters don't
fall in even columns, the problem is that the selection boundaries are changing
outside the user's control.
Comment 1 Joe Smith 2010-05-29 21:16:21 UTC
Created attachment 69702 [details]
screen capture showing selection before and after copy
Comment 2 michael.ruess 2010-05-31 14:43:31 UTC
MRU->MST: copying a block selection somewhere in the center of a paragraph will
change the selection slightly on the left end when copying to clipboard.
Comment 3 Joe Smith 2013-09-13 15:41:05 UTC
Re-tested again with AOO 4.0 on Fedora Linux 17: same result on Edit > Copy, selection extends toward the right.
Comment 4 Marcus 2017-05-20 10:44:28 UTC
Reset the assignee to the default "issues@openoffice.apache.org".