Bug 114044 - Wrong copying formatting of text from heading table with one table style to heading table with another table style
Summary: Wrong copying formatting of text from heading table with one table style to h...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.0.0.alpha1+
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables-Style
  Show dependency treegraph
 
Reported: 2017-11-25 15:02 UTC by Roman Kuznetsov
Modified: 2022-11-29 13:09 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2017-11-25 15:02:44 UTC
Description:
wrong copying formatting of text from heading table with one table style to heading table with another table style

Steps to Reproduce:
1. Create a new document in Writer
2. Insert a table (must be table style "Default")
3. Insert second table and apply to it table style "Box List Green"
4. Type into cells of heading in first table any text
5. Select this cells and copy it (Ctrl+C)
6. Set a cursor into first cell of first row in second table
7. Push Ctrl+V (paste)
8. Your text insertes into second table, but text with styles from first table
9. Select first row in second table and push Ctrl+M
10. Text will be have view from table style of second table

With copy text has manual formatting? Where did it buy it?

Actual Results:  
Inserted (into second table) text has manual formatting

Expected Results:
Inserted (into second table) text doesn't have manual formatting and its view is preset in table style for second table


Reproducible: Always


User Profile Reset: No



Additional Info:
in MS Word works simple copy paste. Text purchases view from table style for second table


User-Agent: Mozilla/5.0 (X11; Linux i686; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 Buovjaga 2017-11-26 19:25:49 UTC
Step 9 can also be: insert a new row to the table.

Arch Linux 64-bit
Version: 6.0.0.0.alpha1+
Build ID: 008673c23db0c812eb0b48a1c29ab88b48aaa867
CPU threads: 8; OS: Linux 4.13; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on November 23rd 2017
Comment 2 QA Administrators 2018-11-27 03:43:08 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2020-11-27 04:41:05 UTC Comment hidden (obsolete)
Comment 4 Roman Kuznetsov 2020-11-27 10:56:52 UTC
hm, if we copy just a text (NOT A WHOLE CELL!) and then paste it into second table heading , then we get correct result with cell style for that heading.
Possibly when we copy a whole cell we copy it with it style...

Buovjaga, any thoughts?

I still confirm behavior from description in

Version: 7.1.0.0.alpha1+ (x64)
Build ID: ccd0e5f445d4a7d0e7aca6c23c02c61bf14510b2
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
Comment 5 QA Administrators 2022-11-28 03:36:20 UTC Comment hidden (obsolete)
Comment 6 Roman Kuznetsov 2022-11-29 13:09:18 UTC
Still repro in

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 5b18eebc2c95321ce7e6edf10f4df81557382a48
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded