Bug 122511 - Thicker border line than 9 pt or 5 cm
Summary: Thicker border line than 9 pt or 5 cm
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Borders
  Show dependency treegraph
 
Reported: 2019-01-05 21:15 UTC by Thomas Lendo
Modified: 2019-08-28 01:10 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
White page margin around blue page content area, LibO 6.0 (26.99 KB, image/jpeg)
2019-05-24 07:02 UTC, Thomas Lendo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Lendo 2019-01-05 21:15:21 UTC
A border line for page, table, paragraph and character can only have a maximum thickness of 9 pt in LibreOffice. For a textbox or shape it's limited to 5 cm. These are ridiculous restrictions. Please increase it to a higher value.
Comment 1 Heiko Tietze 2019-02-10 13:41:09 UTC
Any showstopper, Regina? If not I don't see a reason to restrict user input, even when it makes not much sense on the first glance.
Comment 2 Regina Henschel 2019-02-11 14:14:21 UTC
For fo:border the width is not negative, no further constrains. For svg:stroke-width there are no constrains.

Remark: What users call a "border" might be different in file format. The "border" around a paragraph is a 'fo:border' but the "border" around a shape is a 'stroke', for example.
Comment 3 Heiko Tietze 2019-02-18 11:25:29 UTC
So technically no problem. But huge numbers may crash anyway. Trying with a very small frame, and this enlarges when the border is too big. We cannot do the same for pages and I wonder if scenarios with values about 9pt aren't better solved by other means.
Comment 4 Thomas Lendo 2019-02-20 21:37:40 UTC
Hm, I never had the idea to use a shape for what I can use page border. But ok, that's possible though not necessarily obvious.

But since a page background isn't targeting the page margin in newer LibO versions, it must be possible to give the margin a full color. The restrictions today make that hard to achieve.
Comment 5 Heiko Tietze 2019-02-21 09:50:51 UTC
We discussed the topic in the design meeting. OTOH, limitations (in particular arbitrary) are always awkward. But otherwise we may run into issues with huge values. For the line size you can define up to 500pt at the sidebar, which enlarges objects beyond the page size. Though not sure what happens when when the page border grows like this. 

In the discussion we didn't come to a decision of a new limit. @Thomas, do you have a use case or maybe a proposal? Ideally something that cannot be done by other means like rectangles.
Comment 6 Heiko Tietze 2019-02-28 13:26:49 UTC
We discussed the topic in the design meeting. The use case is unclear but there is also an inconsistency across the various places. If making the page border huge doesn't break anything (having a huge line with around shapes makes it larger and can exceed the page size), there is no good objection for a higher limit. 

Workaround: the sidebar accepts up to 500pt for line width.
Comment 7 Thomas Lendo 2019-05-04 21:42:22 UTC
My arguments are consistency and as few as possible restrictions for users (they are only acceptable if it's technically and logical explainable).

One use case is a document with an official notification in a company that uses a thick border around the content with colors according to ISO 7010 [1]. The border should be several centimeters thick and should go around an A4 page. Rectangles are not useful as  they don't expand to a next page automatically and the behavior of text in a shape is different from text in a page. Therefore a rectangle is no workaround that can be burden to users.

[1] https://de.wikipedia.org/wiki/EN_ISO_7010#Farben
Comment 8 Thomas Lendo 2019-05-24 07:01:18 UTC
With bug 112195 "Allow page background to cover the whole page" now it's not possible to have an other-colored margin around the page content area.

I suggest to extend bug 85860 "border lines and spacing should optionally increase frame size rather than reduce content to fit" also to page settings.
Comment 9 Thomas Lendo 2019-05-24 07:02:41 UTC
Created attachment 151652 [details]
White page margin around blue page content area, LibO 6.0

How is it possible to have a margin with LibO 6.3 like in the attached screenshot?