| Summary: | FORMATTING: Extra white space at beginning of fraction if no integer part | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Laurent Balland <jumbo4444> |
| Component: | Calc | Assignee: | Laurent Balland <jumbo4444> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | h3734236 |
| Priority: | medium | ||
| Version: | Inherited From OOo | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:5.3.0 target:5.2.0.1 target:7.2.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Attachments: | Example of format which makes appear extra white space | ||
Laurent Balland-Poirier committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a3471916370c53c6627ba4010489f539c174bdf9 tdf#100122 Correctly treat fraction without integer part It will be available in 5.3.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Laurent Balland-Poirier committed a patch related to this issue. It has been pushed to "libreoffice-5-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1744120145648a891b58af8c85af7585f38696f6&h=libreoffice-5-2 tdf#100122 Correctly treat fraction without integer part It will be available in 5.2.0.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/05ffc50f78e9d44c4beeee312a59f677f26defff tdf#100122: svl_qa_cppunit: Add unittest It will be available in 7.2.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. |
Created attachment 125376 [details] Example of format which makes appear extra white space Description: user defined fraction format such as ?/? (without integer part) are always represent with an extra white space at the beginning Steps to reproduce: 1. Format cell with ?/? as number format 2. Insert -0.5 in same cell Actual behavior: A white space is inserted between - (minus) and first digit (1) - 1/2 Expected behavior: No white space at the beginning as specified by number format -1/2 The bug is more visible with negative value, but occurs whatever the value. It is then visible when you force left alignment.