Bug 84318 - Forgetting indentation, direction and selected font when pasting
Summary: Forgetting indentation, direction and selected font when pasting
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.6.3 release
Hardware: All Linux (All)
: high normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 141117 (view as bug list)
Depends on:
Blocks: Paste Paragraph-Indent
  Show dependency treegraph
 
Reported: 2014-09-25 08:55 UTC by irancplusplus
Modified: 2024-06-02 16:28 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Copy all contents of the document into a new document in Ubuntu to reproduce the problem. (67.37 KB, application/vnd.oasis.opendocument.text)
2014-11-10 09:03 UTC, irancplusplus
Details
Contains some paragraphs with custom styles applied (155.66 KB, application/vnd.oasis.opendocument.text)
2020-09-03 09:38 UTC, Christian Lehmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description irancplusplus 2014-09-25 08:55:18 UTC
When a text is indented for example 2" and the whole paragraph is copied and pasted the indentation and sometimes the direction is forgotten. This is a big problem if someone wants to copy the contents of a document into another one. Then everything will be a mess.
Also a widget like texmaths works with copy and pasting so if an intended equation is edited it indentation is forgotten after edit.

So the bug is that detailed information about direction and indentation and probably other things are not store in (and/or restored from) the clipboard.
Comment 1 Buovjaga 2014-11-09 19:18:19 UTC Comment hidden (obsolete)
Comment 2 irancplusplus 2014-11-09 20:26:29 UTC
This picture shows a picture shows what happen for libre office writer in Ubuntu:

http://ask.libreoffice.org/upfiles/13944074013065465.png
Comment 3 Buovjaga 2014-11-10 07:25:52 UTC
I tried with RTL + indentation, but could not reproduce. Please attach a document file.
Comment 4 irancplusplus 2014-11-10 09:03:05 UTC
Created attachment 109203 [details]
Copy all contents of the document into a new document in Ubuntu to reproduce the problem.
Comment 5 Buovjaga 2014-11-10 09:16:49 UTC
Reproduced with the file provided -> NEW.

Win 7 64-bit 4.3.3.2
Comment 6 QA Administrators 2016-09-20 09:24:44 UTC Comment hidden (obsolete)
Comment 7 Thomas Lendo 2018-05-18 19:16:09 UTC
Maybe related to bug 40560 or bug 101534.
Comment 8 Thomas Lendo 2018-06-17 20:56:53 UTC
Reproduced with Version: 6.2.0.0.alpha0+
Build ID: bf1f49c837264c8f59197b9487d40e32821526c3
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: de-DE (de_DE.UTF-8); Calc: group threaded
Comment 9 QA Administrators 2019-06-18 02:48:02 UTC Comment hidden (obsolete)
Comment 10 Christian Lehmann 2020-09-03 09:38:54 UTC
Created attachment 165076 [details]
Contains some paragraphs with custom styles applied

The problem persists in LO 7.0.0.3 on Ubuntu:

Copy the text from example_document.odt, open a new and empty ODT document and paste the text into it. Styles are transferred, with all their properties unchanged. However, the actual particular paragraphs of the example in the new document obey these styles only partially: indentations are destroyed.
There are two problems here: a) the destruction of the indentation settings in the paragraphs pasted; b) the mismatch between the (alleged) style properties as shown in the styles panel and the (actual) properties of the paragraph so styled as visible in the document and as reflected by the ruler if activated.
Comment 11 Xisco Faulí 2021-04-30 10:10:04 UTC
*** Bug 141117 has been marked as a duplicate of this bug. ***
Comment 12 QA Administrators 2023-05-01 03:18:52 UTC Comment hidden (obsolete)
Comment 13 Buovjaga 2024-06-02 16:28:35 UTC
Checked with attachment 165076 [details] and still reproduced changing indentation in master.