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

            Bug ID: 150100
           Summary: UI Calc Double cell border has minimum width at import
           Product: LibreOffice
           Version: 5.3.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: kelem...@ubuntu.com
            Blocks: 59284

Created attachment 181369
  --> https://bugs.documentfoundation.org/attachment.cgi?id=181369&action=edit
Example file from Calc

In the attached example file I have set double line cell borders with all
widths available in the Borders tab page in rows 3 and 4, plus two custom
values 1 and 3 pt.
What is visible at first that there is no visual difference between 0.05 pt and
1 pt double line cell borders, while there is between single border lines.

Another aspect of this is save and reload: the Borders tab page now shows all
values below 1.1 pt as 1.1 pt custom width, which makes sense when you look at
the actual sheet.

1, On a Calc sheet open Format Cells - Border 
2, Set border style to double line, and width to any of 0.05 - 1 pt.
3, Save and reload, open the Border tab again.

The Width displayed is Custom 1.10 pt instead of previous 0.05, 0.5, 0.75 or 1
pt.
Widths larger than that are retained properly.

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 21a31eefab1401d288dbb8220f3df3365be9efaf
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded

This started in 5.3 with commit:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=9259fcd40b1749cd421c433bcc436cb335cbbe43

author  Justin Luth <justin_l...@sil.org>       2016-11-14 09:38:25 +0300
committer       Justin Luth <justin_l...@sil.org>       2016-11-15 05:39:38
+0000
commit  9259fcd40b1749cd421c433bcc436cb335cbbe43 (patch)

tdf#88827 - double-thin border: MINGAPWIDTH is a valid width

Before this the smaller values did not show at all, so this was an improvement.

>From the commit message I conclude that the behavior here is actually correct -
double cell borders need to be 1.10 pt wide at least to be visible at all.

Therefore I'd like to suggest to change the UI: if double line style is
selected, the presets below 1.5 pt should be hidden.

Also the side bar has two "Double Hairline" presets (1.10 pt and 2.35 pt) that
may be worth adding here as well.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=59284
[Bug 59284] [META] Cell border related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to