Bug 123722 - Data labels number format
Summary: Data labels number format
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Chart-Labels
  Show dependency treegraph
Reported: 2019-02-26 15:31 UTC by raal
Modified: 2019-12-16 14:52 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:

file for test (14.64 KB, application/vnd.oasis.opendocument.spreadsheet)
2019-02-26 15:31 UTC, raal
chart number format selection (64.15 KB, image/png)
2019-02-26 17:59 UTC, Oliver Brinzing

Note You need to log in before you can comment on or make changes to this bug.
Description raal 2019-02-26 15:31:28 UTC
Data labels number format not preserved

Steps to Reproduce:
1.open attached file
2.double click on chart
3.right click on data point -> select "Insert data labels" from menu
4. right click on data point -> select "Format data labels" from menu
5. click Number formats button
6. set own format, for example ###,000 in Format code textbox
7. OK; and close dialog with OK
8. reopen dialog; click Number formats button

Actual Results:
format set to General

Expected Results:
format is ###,000

Reproducible: Always

User Profile Reset: No

Additional Info:
Comment 1 raal 2019-02-26 15:31:54 UTC
Created attachment 149601 [details]
file for test
Comment 2 raal 2019-02-26 15:33:19 UTC
This seems to have begun at the below commit.
Adding Cc: to Kohei Yoshida ; Could you possibly take a look at this one?
 9135b8b04a9f2ff33d1500876e48c6d2d42ecae0 is the first bad commit
commit 9135b8b04a9f2ff33d1500876e48c6d2d42ecae0
Author: Matthew Francis <mjay.francis@gmail.com>
Date:   Sat Mar 14 21:46:04 2015 +0800

    commit 1d38cb365543924f9c50014e6b2227e77de1d0c9
    Author:     Kohei Yoshida <kohei.yoshida@collabora.com>
    AuthorDate: Fri Jun 13 11:12:50 2014 -0400
    Commit:     Kohei Yoshida <kohei.yoshida@collabora.com>
    CommitDate: Thu Jun 19 14:46:56 2014 -0400
        fdo#71076, fdo#71767: Preserve number formats when charts are copied.
Comment 3 Oliver Brinzing 2019-02-26 17:59:36 UTC
Created attachment 149607 [details]
chart number format selection

selection in number format dialog is not correct