Issue 100466 - Recording changes (Show=off) deleting a char in lines below the firts remove style from the first line
Summary: Recording changes (Show=off) deleting a char in lines below the firts remove ...
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 3.0.1
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-22 15:24 UTC by stefano77
Modified: 2013-08-07 14:44 UTC (History)
1 user (show)

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


Attachments
this is the document showing the problem described in the issue (28.53 KB, application/vnd.oasis.opendocument.text)
2009-03-22 15:27 UTC, stefano77
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description stefano77 2009-03-22 15:24:17 UTC
Working on a document (attached) with Record Changes=ON and Show Changes=OFF I
encountered a strange behaviour:
every deletion done in lines below the first remove the style from the first line.

This problem was not present in OOO 2.4.1.
Comment 1 stefano77 2009-03-22 15:27:08 UTC
Created attachment 61102 [details]
this is the document showing the problem described in the issue
Comment 2 eric.savary 2009-03-23 09:13:47 UTC
@OD: very strange... Can't explain why the heading style gets removed
("un-applied") when deleting something in the text body.
Comment 3 Oliver-Rainer Wittmann 2009-08-19 15:11:01 UTC
First investigation reveals that the described defect also occurs when changing
Show Changes to ON and then switching back to Show Changes = OFF. A silent
switch from Show Changes=OFF to ON and back to OFF is performed when another
deletion change tracking is recorded.

I reproduced the described defect from scratch:
- new text document
- insert 5 paragraphs, each with some text
- switch on Record Changes
- switch off Show Changes
- make selection from start of the 3rd paragraph to end of 5th paragraph
- delete the selection
- place cursor in empty 3rd paragraph
- hit Enter key
- apply paragraph style "Heading 1" to newly inserted paragraph
- type text "Heading"
- hit Enter key
- type text "Text Body"
--> 4th paragraph is applying paragraph style "Heading 1"
- switch on Show Changes and switch off Show Changes OR delete a character from
the 5th paragraph
--> 4th paragraph is now applying paragraph style "Default"

The defect has been introduced in OOo 3.0
Comment 4 Oliver-Rainer Wittmann 2009-08-20 11:42:31 UTC
fixed in cws sw32bf02 - changed files:
/sw/inc/IDocumentContentOperations.hxx,
/sw/inc/doc.hxx,
/sw/source/core/doc/docedt.cxx,
/sw/source/core/doc/docredln.cxx,
rev. 275172
Comment 5 Oliver-Rainer Wittmann 2009-08-21 15:10:30 UTC
OD->ES: Checked in internal installation set of cws sw32bf02 - please verify.
Comment 6 michael.ruess 2009-08-26 14:21:35 UTC
reassigned to MRU for verification.
Comment 7 michael.ruess 2009-08-26 14:52:00 UTC
Verified fix in CWS sw32bf02.
Comment 8 michael.ruess 2009-10-02 14:02:09 UTC
Checked fix in DEV300m60.