Bug 113484

Summary: Cell styles with localized names, in Pivot Table, replaced with en-US named styles, if pivot changed in en-US UI
Product: LibreOffice Reporter: Cor Nouws <cno>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cno
Priority: medium    
Version: 5.4.2.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=44763
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: screen print: pivot table & Styles&Formatting before and after changing table
test file: pivot table wit cell styles with localized (nl-DUTCH) names

Description Cor Nouws 2017-10-27 14:20:21 UTC
Interesting bug.

1. I created a pivot table with UI language nl-Dutch active.
   Styles in the pivot table, are the localized ones.
   E.g. "Draaitabel categorie".
   ( I changed the cell background of some of the styles )

2. Open this file in LibreOffice with (Tools>Options>Language>) UI in en-US 

3. Change one of the filters.
  > The pivot table is adapted, but.. the background colors disappear
  > It turns out that now the en-US named styles are used in the Pivot table
   E.g. "Pivot Table Category"

Will attach a test file and a screenshots before&after

Seen in master and in Version: 5.4.1.2
Build ID: ea7cb86e6eeb2bf3a5af73a8f7777ac570321527
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk2; 
Locale: nl-NL (nl_NL.UTF-8); Calc: group
Comment 1 Cor Nouws 2017-10-27 14:25:35 UTC
Created attachment 137324 [details]
screen print: pivot table & Styles&Formatting before and after changing table
Comment 2 Cor Nouws 2017-10-27 14:26:36 UTC
Created attachment 137325 [details]
test file: pivot table wit cell styles with localized (nl-DUTCH) names
Comment 3 Cor Nouws 2017-10-27 14:32:57 UTC
hmm

*** This bug has been marked as a duplicate of bug 44763 ***