Issue 23590 - undo messes up formatting of bulleted slides
Summary: undo messes up formatting of bulleted slides
Status: ACCEPTED
Alias: None
Product: Impress
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC5
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-16 05:02 UTC by Daniel Darabos
Modified: 2017-05-20 10:55 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 Daniel Darabos 2003-12-16 05:02:17 UTC
The steps to reproduce the behaviour:

1. Create new presentation (empty).
2. In the insert slide dialog choose "Title, Text" (third option).
3. Click to add an outline.
4. Type normal, enter, change to italic, type italic, enter, turn off italic, 
change to bold, type bold.
5. Select all three lines.
6. Delete.
7. Undo.

What I find to happen is that the first line changed from normal to bold (not 
the text, just the formatting :)).
It also happens with other formattings, the first line always gets the 
attributes from the last line. "Works" with italics, font size, font color, 
etc. too.
The trick can only be done with a bulleted list once (because the first line 
has to be unformatted).
Comment 1 wolframgarten 2003-12-16 07:40:10 UTC
Reassigned to Christian.
Comment 2 christian.guenther 2004-01-06 08:44:40 UTC
I can reproduce the bug.
Please have a look.
Comment 3 clippka 2004-01-07 09:56:09 UTC
will have a look at it
Comment 4 shivjin 2006-01-23 21:56:19 UTC
I was also able to reproduce the defect after following the formatting steps
outlined above.  

In addition, I was able to reproduce the behaviour by following the same steps
but instead of using three lines of text I only used two which removes the extra
step of adding the word ‘italic’. 

Here are the steps that I used:

Step 1-3) Same as above
Step 4) Type Normal, enter, change to bold, type Bold
Step 5-7) Same as above

and I was still able to reproduce the defect.

Display after step four:               
Normal (text was displayed normal)
Bold (text was displayed bold)

Display after step seven:
Normal (text was displayed as bold)
Bold   (text displayed as bold)

I noticed that both the formatting and the text for the normal line changed to
bold.  I also confirm the results above that the defect is also reproducible
with the different formatting styles, that it is only reproducible once on a
given slide, and that it is reproducible only if the first line is not formatted.

In order to follow up with this testing I ran some additional tests.

Test 1 – Tried to test it without different layouts
I found that this defect is reproducible in any layout where you can add text
and it is not restricted to just bulleted slides.  For example, this defect will
also occur if you select layout option two instead of layout option three as
stated in step 2 above.

Test 2 – Tried to see what would happen if other keys were used instead of
delete such as cut with paste and backspace with undo.

Test 2a) Cut/paste – produced the same results to the delete key but it also
changed the formatting of the first line to the formatting of the last line
after the paste even if the first line had formatting already.   

For example:

Display before cut and paste:
Bold (text was set and displayed as bold)
Underline (text was set and displayed underlined)

Display after cut and paste:
Bold (text was displayed underlined)
Underline (text was displayed underlined)

Test 2b) Backspace – produced identical results to the delete key

These tests were run with :

Red Hat Linux 8.0 and OOo 1.0.1
Linux and OOo 1.1.3
Linux and OOo 1.1
Linux and OOo 2.0
Windows XP and OOo 2.0
Windows 2000 and oOo 2.0
Comment 5 Marcus 2017-05-20 10:55:58 UTC
Reset assigne to the default "issues@openoffice.apache.org".