[Libreoffice-bugs] [Bug 111779] New: Rulers ignore padding ("Spacing to Contents")

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Aug 14 00:23:46 UTC 2017


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

            Bug ID: 111779
           Summary: Rulers ignore padding ("Spacing to Contents")
           Product: LibreOffice
           Version: 5.4.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: Spampot at gmx.net

Description:
In all places where a "Spacing to Contents" (= "padding" in CSS) can be set
between the borders and the text area (e. g. for pages or text frames), the
padding is ignored by the horizontal and vertical rulers. The rulers always
cover the entire box (including the padding) instead of only the text area.
This is extremely ugly and affects all elements whose coordinates are based on
the rulers (e. g. paragraph indent and tab markers), which are no longer in
place when some "Spacing to Contents" is used.

A common example are pages that require full-page backgrounds and therefore use
"Spacing to Contents" instead of page margins (see bug 33041, comment 34): If
the proposed solution is applied, the rulers cover the entire page instead of
only the text area.

I suggest to always align the rulers to the pure text area (excluding both
margins and padding). This should be done consistently for pages, text frames
and any other places that might apply.

This will probably require testing with multi-column settings and might even
affect compatibility with older documents, yet it is still the "cleanest"
approach IMHO. In fact, the rulers should really have accounted for the padding
in the first place, and maybe an according compatibility setting is enough to
resolve any potential backwards compatibility issues.

Steps to Reproduce:
(see bug 33041, comment 34)

Actual Results:  
Rulers cover the entire box.

Expected Results:
Rulers should only cover the text area.


Reproducible: Always

User Profile Reset: 

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:55.0) Gecko/20100101
Firefox/55.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170814/d93d3c75/attachment.html>


More information about the Libreoffice-bugs mailing list