Bug 34749 - FORMATTING: Text field character formatting reset while undo
Summary: FORMATTING: Text field character formatting reset while undo
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Drawing (show other bugs)
Version: 3.3.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-26 01:34 UTC by sasha.libreoffice
Modified: 2014-02-20 18:13 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
explains how undo corrupts text (25.89 KB, application/vnd.oasis.opendocument.presentation)
2011-02-26 01:34 UTC, sasha.libreoffice
Details

Description sasha.libreoffice 2011-02-26 01:34:59 UTC
Created attachment 43847 [details]
explains how undo corrupts text

To demonstrate this problem I have created some text in presentation, selected part of text and changed font size and color.
All explanation in attachment.
Bug reproduced on Linux 32 and 64 and Windows 32.
Comment 1 Philipp Weissenbacher 2011-02-26 06:40:56 UTC
Good catch, I'd say!
I can confirm this on x86.
Comment 2 Rainer Bielefeld Retired 2011-03-01 08:05:06 UTC
[Reproducible] with reporter's sample document and "LibreOffice 3.3.1  – WIN7  Home Premium  (64bit) German UI [OOO330m19 (build 8 / tag 3.3.1.2)]", but not with my own sample documents. 

The effect seems to be independent to the way of undo, appears also using the undo icon.

I doubt that that is a particular Presentation problem, but a text filed problem.
If I copy the subtitle text field from sample document to a WRITER document, I can reproduce the reported problem, but I failed to create an own document / text field to reproduce the problem.

@sasha:
Can you contribute a description how to reproduce the problem with a blank new document "from the scratch"?
Comment 3 Cédric Bosdonnat 2011-03-01 08:39:03 UTC
I would say the bug is somewhere in the editengine. This is happening only on some kind of objects. Thorsten, could you have a look at this one?
Comment 4 sasha.libreoffice 2011-03-01 23:59:23 UTC
1. Create new presentation document
in top of slide appears frame with "Click to add title"
2. enter there two string of text
3. select one of them and change attributes of text

4. make round corners and undo then
As I can understand, office unites changing round corners with previous change.
if there are another something to undo, it undoes correctly
Comment 5 Rainer Bielefeld Retired 2011-03-02 00:20:24 UTC
No we have got it, I am able to reproduce the problem with my own doucments. It seems to be important that a part of the text frame contents remains in default style.

Steps how I reproduced:
1. Open new WRITER document
2. Insert DRAW text field (using DRAWing Toolbar) app. 100x20mm
3. Type "This is some text"
4. Dobleclick "This"
5. Menu 'Format character
   Times New Roman -> Impact - Bold - Font color light red'
6. Make round corners
7. click outside text field
8. Click 'Undo' icon
   expected: only round corners will be undone
   actual: complete text back to standard formatting: 
           "Times New Roman without frills"

Unexpected actual behavior will not happen in step 8 if in step 5 you change attributes for all text field contents after <cntrl>+<a>

Because we are talking about a DRAWing component, I modify Component


@sasha:
Thank you for your endurance.

@Thorsten:
Please feel free to reassign if it's not your field.
Comment 6 sasha.libreoffice 2012-09-17 11:47:36 UTC
in 3.6.1 still reproducible
Comment 7 Thorsten Behrens 2013-09-12 16:14:46 UTC
Apologies for not having gotten around fixing this bug yet; unfortunately in future I'll have even less time at my disposal for this, so I'm freeing up ownership for other volunteers to take over.
Comment 8 bfoman 2014-02-20 18:13:47 UTC
This bug lost its owner - back to NEW.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.