Issue 29410 - Extra or missing spaces when cutting/pasting words near punctuation marks
Summary: Extra or missing spaces when cutting/pasting words near punctuation marks
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1.2
Hardware: All All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-22 18:27 UTC by gaborf
Modified: 2013-08-07 14:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description gaborf 2004-05-22 18:27:12 UTC
Spaces within any text are wrongly or not at all attached to the words.

**************************************************

Detailed:

1./ if I cut a word with Ctrl+X then (depending on its place) EITHER the 
following space OR the preceeding space should come with it, intelligently; 
[Example:

Type (or insert) this into a Writer file:
This is a sentence. Another sentence.

Now select "Another", cut it and paste it. There will be no space 
before "Another".

Then type (or insert) this into a Writer file again:
This is a sentence. Another sentence.

Now select "sentence", cut it and paste it. There will be no space 
before "sentence" buth there will be a trailing space between "sentence" and 
the full stop.

**************************************************

2./ If I delete a word with Delete then the following space should come with 
it, but no space comes with it and I have to clear one space manually.

**************************************************

3./ If I delete a word with Backspace then the following space should come with 
it, but no space comes with it and I have to clear one space manually.

**************************************************

This is not specific to OOo 1.1.2rc2 but could be observed for ages.


Thanks.
Comment 1 michael.ruess 2004-05-24 09:05:54 UTC
ES, pls have a look.
Comment 2 eric.savary 2004-05-24 10:12:13 UTC
1) Reproducible:
This happens when pasting a word near a punctuation mark. In this case, the
trailing/starting space should be pasted too, as if it was between 2 words.

2)-3) Invalid/Worksforme
This is not the same problem as 1) (no clipboard manipulation)
Please open a new issue for those cases then explain how you delete the word:
with Ctrl+Del/Backspace? The trailing/preceding space is correctly deleted too.
Selecting the word and del/backspace? Yes, no space is deleted because:
- you only selected  the word
- you may want to type directly on the place the word used to be and then there
is no need to delete the space. This is different when cutting the word because
ont assumes you don't want to write on the same place. 
Comment 3 hagar_de_lest 2009-01-31 21:48:11 UTC
Came here when looking for another issue. This one (1) seems to be almost fixed.
The only problem is when you paste the word between a word and a punctuation
mark (works in all other cases) with the keyboard. Dragging it with the mouse
works perfectly.

So here, with the keyboard:
This is a sentence. Another sentence. -> This is a sentence. sentenceAnother.
Comment 4 hagar_de_lest 2009-01-31 21:49:12 UTC
Forgot to give my configuration: OOo 3.0.1 (Sun) on xubuntu Hardy (8.04).