Apache OpenOffice (AOO) Bugzilla – Issue 63989
font size undo defect
Last modified: 2013-08-07 14:38:26 UTC
Hi, 1. open Writer 2. set font to Arial 3. set font size to 350 4. type aaa (on the Writer page) 5. put the caret between the first 2 as 6. select font size 96 7. click undo: bug: font size becomes 10. Note that I once changed the default western font size to 10 in the options. this setting now always reverts back to 10 (at every Writer start) even though I have clicked Default and pressed OK. This is actually another defect I haven't filed yet. Note: font and font sizes are actually irrelevant, but using the mentioned shows the defect better.
Reassigned to ES.
ES->AMA: no regression. Duplicated also on Linux.
The replication sequence was followed. The problem could be reproduced in the following system configuration: Platform: PC OS: Windows XP SP2 Build: OOo 2.1 I have found that the problem also persist when we change the font from smaller to larger size. In addition to the replication sequence provided by the reporter, I would like to give a more general description of the issue: When a text with a certain font size is changed to another font size (by placing the cursor in between the characters), undoing it will always change the text back to a default font size which when the file was created. Some follow up tests were performed. I have discovered that the problem could be addressed if you highlight the text by selecting it before you change the font size.
I WAS NOT able to successfully reproduce this bug using the above sequence of steps after trying several times. My configuration: OS: Windows XP Home Edition 2002 SP2 Machine: AMD Sempron 3000+ (1.58 GHz, 1.18 GB RAM) OpenOffice: v2.3.1 Nonetheless, I was able to reproduce the bug using a simpler set of steps: 1. Open a new document in OpenOffice Writer. 2. Type ab 3. Place the cursor between letters 'a' and 'b' 4. The default font size is 12. Using the font toolbar at the top change the font size to 60 (or any other size greater than 12). 5. Change the font size to 96 (or anything greater than what was set in step 4) 6. Go to 'Edit->Undo' OR click on UNDO button at the top. 7. The letters 'ab' are now of size 12, but should be of size 60 (i.e. what was set in step 4) In this case we were changing the font from a smaller to a bigger size (i.e. from 60 to 96), but the problem also exists when changing the font from a bigger to a smaller size (i.e. from size 96 to 60). As it was pointed out, neither FONT TYPE (i.e. Arial) nor particular FONT SIZE matters. Also, as said above, the problem could be avoided if the text is selected prior to changing the font size.
Here is an interesting follow up test. Do the same steps as described directly above with only 1 exception: In step 2: Type 'ab cd' (without single quotes) instead of ab. Now the bug doesn't appear, and step 7 shows that the letters ab are of correct font size 60.