Bug 33350 - Para style lost when undo/redo on pasting text with paragraph style applied
Summary: Para style lost when undo/redo on pasting text with paragraph style applied
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL: http://qa.openoffice.org/issues/show_...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-21 13:17 UTC by jun meguro
Modified: 2014-12-15 02:37 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
surrogatepair character sample (10.15 KB, application/vnd.oasis.opendocument.text)
2011-01-21 13:17 UTC, jun meguro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jun meguro 2011-01-21 13:17:28 UTC
Created attachment 42288 [details]
surrogatepair character sample

Open attached document.
Copy some characters(Font size is 60).
Open new document.
Paste characters to new document.
Ctrl+Z
Ctrl+Y
Character size becomes default font size.
Comment 1 Noel Power 2011-01-24 02:19:13 UTC
confirmed... effects libreoffice too
Comment 2 Cédric Bosdonnat 2011-02-17 06:20:30 UTC
This isn't limited to CJK text. To reproduce it we only need:

Preparation:
 * Create a new document and a paragraph style (eg. MyStyle), change the font size in that paragraph style
 * Type some characters and apply the new style.

Reproducing the bug
 * Copy the typed text
 * Create a new document
 * Paste the text
 * Undo
 * Redo

Expected result:
  the style applied to the text in the new document should be "MyStyle"

Actual result:
  the style is anything by "MyStyle". It is generally the parent style of "MyStyle", and "Heading" when the parent style is "Heading 1" or any other level.
Comment 3 sasha.libreoffice 2011-02-26 01:23:30 UTC
in LibreWriter 3.3.1 problem sitll exist. After pasting style name is [][][][][] and after undo redo name is Default.
Comment 4 Rainer Bielefeld Retired 2011-05-02 22:14:31 UTC
Modify Status due to facts.
Comment 5 A (Andy) 2013-05-04 22:03:09 UTC
reproducible with LO 4.0.2.2 (Win7 Home, 64bit)
Comment 6 bfoman (inactive) 2013-05-16 11:03:38 UTC
This bug has not been touched by its owner for a long time. To make it clearer which bugs should be fixed by someone else please take following action:
- If you are the owner, and you are actively working on the bug, please give it an update. 
- If you are the owner, and you do not plan to work on it in the near future,
please reassign it to the default assignee and change its status to NEW.
Comment 7 jun meguro 2013-05-16 15:35:41 UTC
Still reproducible with lo4.0.2.
Comment 8 bfoman (inactive) 2014-01-08 22:51:10 UTC
As 4.0.x branch of LibreOffice is in End Of Life state please recheck in latest stable version 4.1.4.
Comment 9 jun meguro 2014-01-11 13:10:10 UTC
Still reproducible.

4.1.4.2
Build ID: 0a0440ccc0227ad9829de5f46be37cfb6edcf72
Comment 10 bfoman (inactive) 2014-01-24 17:09:38 UTC
Marking as NEW per comments.
Comment 11 Joel Madero 2014-12-15 02:37:58 UTC
Hi All - 

So I've done some testing with this one:
Ubuntu 14.04 x64
LibreOffice Version 4.3.4.1 release
LibreOffice Version: 4.5.0.0.alpha0+
Build ID: 8b65be4740f4349b769a8709867e0cc32d93686d
Locale: en_US

Following the Description and comment 2 I am unable to reproduce.

I am closing this as WORKSFORME.

If anyone can reproduce the issue on 4.3 or newer please set this back to NEW (and apologies for closing it if someone else can still reproduce). Thanks again!