Created attachment 185529 [details] Screenshot showing the problem In the Properties sidebar "Cell Appearance" section, the line width selector has 2 repeated entries "Double Hairline". However, since they have a totally different effect, I believe they should have different names. Based on the code, I suggest they are called: - Double Thin Line - Double Thick Line Notice in the code that none of them are actually drawn as hairlines after SvxBorderLineWidth::Medium / Thick is set. https://opengrok.libreoffice.org/xref/core/sc/source/ui/sidebar/CellLineStyleControl.cxx?r=cd116a1b#130 See attached image for more information. Notice the difference between the actual hairline with the output of the two commands previously mentioned.
It makes sense to me but let's ask UI experts.
CellLineStylePopup::Initialize() uses STR_BORDER_DOUBLE_1 twice [1]. Any reason, Samuel? You added this for bug 48622 with https://gerrit.libreoffice.org/c/core/+/124680 [1] https://opengrok.libreoffice.org/xref/core/sc/source/ui/sidebar/CellLineStyleControl.cxx?r=cd116a1b#70
(In reply to Heiko Tietze from comment #2) > CellLineStylePopup::Initialize() uses STR_BORDER_DOUBLE_1 twice [1]. Any > reason, Samuel? > > You added this for bug 48622 with > https://gerrit.libreoffice.org/c/core/+/124680 > > [1] > https://opengrok.libreoffice.org/xref/core/sc/source/ui/sidebar/ > CellLineStyleControl.cxx?r=cd116a1b#70 I think this was a mistake. Probably one of them can go. Maybe check which makes more sense (also in terms of interoperability) and remove the other one.
Rafael, up to you. Either remove the tick one (my take) or keep both and rename as suggested.