Bug 115783 - Copy and paste in table: lost character formatting of original text
Summary: Copy and paste in table: lost character formatting of original text
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Miklos Vajna
URL:
Whiteboard: target:6.1.0 target:5.4.6 target:6.0.2
Keywords:
Depends on:
Blocks: Clipboard
  Show dependency treegraph
 
Reported: 2018-02-16 15:13 UTC by Miklos Vajna
Modified: 2021-07-31 04:17 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Reproducer document. (4.85 KB, application/vnd.oasis.opendocument.presentation-flat-xml)
2018-02-16 15:13 UTC, Miklos Vajna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miklos Vajna 2018-02-16 15:13:38 UTC
Created attachment 139950 [details]
Reproducer document.

Steps to reproduce:

1) Open the attached document.

2) Select the "hello" cell (e.g. click after "hello", then shift-right and shift-left to have a cell selection).

3) Set font size to 12pt using the sidebar (yes, it was 12 earlier already).

4) Select the "hello" word (e.g. click after hello, then shift-home to have a text selection).

5) Copy with ctrl-c.

6) Go to before hello (e.g. home).

7) Paste with ctrl-v.

Expected result: the new "hellohello" content has font size of 12pt.

Actual result: the new "hellohello" content has mixed 12pt and 18pt font size.
Comment 1 Commit Notification 2018-02-16 22:45:03 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=f0c25c751cf8e166a84b289746bce6202a40391d

tdf#115783 sd: fix lost char attributes during in-table copy&paste

It will be available in 6.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 2 Commit Notification 2018-02-20 15:31:04 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "libreoffice-5-4":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=bc5bf595c1c8fe61ecf461786d0b7ebba7a74f1b&h=libreoffice-5-4

tdf#115783 sd: fix lost char attributes during in-table copy&paste

It will be available in 5.4.6.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2018-02-20 15:31:12 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "libreoffice-6-0":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=6f860657ae607d63c5c5b4f36b99b0dce2074cf9&h=libreoffice-6-0

tdf#115783 sd: fix lost char attributes during in-table copy&paste

It will be available in 6.0.2.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.