Issue 125803 - Pasting short text does not erase display of longer text
Summary: Pasting short text does not erase display of longer text
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 4.1.0
Hardware: All Windows 7
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
: 126119 (view as issue list)
Depends on:
Reported: 2014-10-29 10:39 UTC by Jens611
Modified: 2015-02-20 13:39 UTC (History)
2 users (show)

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

example text (7.22 KB, image/jpeg)
2014-10-29 10:39 UTC, Jens611
no flags Details
Text for Investigation (10.10 KB, application/vnd.oasis.opendocument.text)
2014-10-29 14:43 UTC, Jens611
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Jens611 2014-10-29 10:39:24 UTC
Created attachment 84115 [details]
example text

When modifying an existing document I marked a text at the end of the first line, consiting of 15+ chars. Then I pasted a much shorter text, 8+ chars, to that marked position. Afterwards a part of the just rewritten text still is shown on the screen without marking and but when I press del, these phantom chars vanish at once. This is misleading.
Comment 1 oooforum (fr) 2014-10-29 13:49:39 UTC
(In reply to Jens611 from comment #0)

> example text
No! This is not a text but an picture.
Understood that is not easy to reproduce without attach a real document?
Comment 2 Jens611 2014-10-29 14:43:53 UTC
Created attachment 84117 [details]
Text for Investigation

Double click on Replace, mark "15. September 2014" and press Shift+Insert. Now a part of the former text is visible. If you press Del now, several unmarked chars disappear.
Comment 3 Jens611 2014-10-29 14:45:03 UTC
Comment on attachment 84117 [details]
Text for Investigation

... press Ctrl-C after marking Replace ...
Comment 4 oooforum (fr) 2014-10-29 15:32:39 UTC
OK your title don't explain what you describe.

To reproduce:
1) Open the attached document
2) On 8th line, select "Replace" word
3) Copy with Ctrl-C
4) On 1st line, select "15. September 2014" 
5) Paste with Ctrl-V 

Observed behavior: selected text is replaced but artifact of the original text still remains after the paste occurs.  
Minimize the window and restore it or refresh with Ctrl-Shift-R: artifact will be gone.

Tested with last release 4.1.1 and Win7 Pro x64
Comment 5 oooforum (fr) 2015-02-20 13:39:59 UTC
*** Issue 126119 has been marked as a duplicate of this issue. ***