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

            Bug ID: 100413
           Summary: UI: default preview value in number format is
                    different from formats list
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: jumbo4...@yahoo.fr

Description: In Format > Cells > Numbers UI dialog, a preview string is
displayed according to the format chosen and cell's value. If an empty cell is
selected, a default value is displayed. But this value is different from the
one in format list and then create some inconsistency.

Steps to reproduce:
1. Select an empty cell
2. Format > Cells > Numbers

Actual behavior:
With Number category
  - Preview string is: 1234.56789
  - Format list uses a different value: -1234.1234
Other categories reflect more inconvenient inconsistency. For instance, for
Fraction, format list is difficult to understand (quarter format (new format in
master LibO 5.3) displays no fraction).

Expected behavior:
Default values should be the same in preview string and format list. They
should be chosen to reflect format specificity.

Entry points:
Default values for format list is defined here:
http://opengrok.libreoffice.org/xref/core/include/svx/flagsdef.hxx#74
Default value for preview string is unique whatever the category:
http://opengrok.libreoffice.org/xref/core/svx/source/items/numfmtsh.cxx#34

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to