https://bugs.documentfoundation.org/show_bug.cgi?id=157887

            Bug ID: 157887
           Summary: Adding custom format in Calc has empty description in
                    list of formats
           Product: LibreOffice
           Version: 7.6.2.1 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Hello,

when you add a custom number format to the "Format Cells..." menu in Calc and
instead of putting the unit in "" you escape the characters, the format's
description is empty after it has been added.

Write it like this: '#,##### "GW/h"' Description: '-1234,56789 GW/h'

Write it like this: '#,##### \GW\/\h' Description: ''

The formatting of the cells works as it should in both cases.

I understand that one should put "" around the unit that is used after reading
the docs, but w/o reading the docs, escaping the special characters seemed to
be the "natural solution" to me. 

Maybe this isn't a bug but a feature request. Let's see...

Thanks anyway!

KR,

G.

P.S.: I switched the UI to english for this bug report, it's usually running in
German.


Steps to Reproduce:
1. Open Calc
2. Right click on cell
3. Select "Format Cells..."
4. In the opened window in the "Category" column select "User-Defined"
5. At the bottom in the "Format Code" text field enter "#,##### \GW\/\h"
(without the "")
6. Click on the green tick in the lower right
7. Watch the "Category" colum change to "Number" and the "Format" column point
to an entry w/o a name.



Actual Results:
No name/description for the entry added.

Expected Results:
Name/description for the entry added.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 24; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: CL threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to