Bug 131771 - TABLE STYLE: Table looses its style setting after cutting/copying and pasting
Summary: TABLE STYLE: Table looses its style setting after cutting/copying and pasting
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.3.0 target:7.2.1
Keywords:
Depends on:
Blocks: Paste Writer-Tables-Style
  Show dependency treegraph
 
Reported: 2020-04-01 10:39 UTC by Telesto
Modified: 2021-10-27 09:55 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (10.21 KB, application/vnd.oasis.opendocument.text)
2020-04-01 10:39 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-04-01 10:39:40 UTC
Description:
Table template isn't applied properly when adding new rows with a copy/paste table

Steps to Reproduce:
1. Open the attached file
2. Place the cursor in B3 and press TAB, table will grow. Bottom yellow row will move down (fine)
3. Undo to initial state
4. CTRL+A / CTRL+X / CTRL+V
5. Place cursor in B3 & press tab (yellow rows added)

Actual Results:
Yellow rows added

Expected Results:
Only last row should be yellow


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 4501a0ba623ad61c5a4e0b807da2e96f0e4ce82c
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 Telesto 2020-04-01 10:39:55 UTC
Created attachment 159214 [details]
Example file
Comment 2 Dieter 2020-04-03 14:59:55 UTC
I confirm the decribed behaviour with

Version: 7.0.0.0.alpha0+ (x64)
Build ID: 1c9ced04189c9d23ffea05d5570960b54b05ef28
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: CL

But the problem is, that the new table has no table style (see sidebar)

=> I changed bug summary and hope you agree

Additional information: Undo doesn't bring table style back (might be another bug)

Same with

Version: 5.4.7.2 (x64)
Build-ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU-Threads: 4; BS: Windows 6.19; UI-Render: GL; 
Gebietsschema: de-DE (de_DE); Calc: group
Comment 3 Telesto 2020-05-25 10:44:36 UTC
Didn't work properly in 5.2 and 4.4.7.2
Comment 4 Commit Notification 2021-07-05 09:57:25 UTC
Balazs Santha committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/ec277dfdda8acd08694b03a6b1fb88c5fede35d2

tdf#131771 sw: fix missing table style after copying and pasting the table

It will be available in 7.3.0.

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

Affected users are encouraged to test the fix and report feedback.
Comment 5 Commit Notification 2021-07-06 09:15:50 UTC
Balazs Santha committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/913ea7e18af9e04c82c9b33ddd34b4b5a0917f29

sw: test fix of tdf#131771

It will be available in 7.3.0.

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

Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2021-08-12 11:47:42 UTC
Balazs Santha committed a patch related to this issue.
It has been pushed to "libreoffice-7-2":

https://git.libreoffice.org/core/commit/15fbc6f2dbf114247a89cd3d4d3360c9c00a4390

tdf#131771 sw: fix missing table style after copying and pasting the table

It will be available in 7.2.1.

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

Affected users are encouraged to test the fix and report feedback.
Comment 7 Commit Notification 2021-08-12 15:54:15 UTC
Balazs Santha committed a patch related to this issue.
It has been pushed to "libreoffice-7-2":

https://git.libreoffice.org/core/commit/e688361af320a3edb4fb3665ee6c1af68ef8b1bd

sw: test fix of tdf#131771

It will be available in 7.2.1.

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

Affected users are encouraged to test the fix and report feedback.
Comment 8 Dieter 2021-08-19 06:34:38 UTC
VERIFIED with

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 23f17b7ea6fbd2f422c7e40192ae60e4df25224c
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Balazs, thanks for fixing this issue!
Comment 9 Commit Notification 2021-10-27 09:55:08 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/0d4f6177c76ac2a55b469fd82282ecf4e878c21e

tdf#131771: sw: Move UItest to CppUnittest

It will be available in 7.3.0.

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

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