Bug 89420 - DocBoundaries IsVisible boolean property is not honored for Draw component, unable to turn off margin markings
Summary: DocBoundaries IsVisible boolean property is not honored for Draw component, u...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Katarina Behrens (Inactive)
URL:
Whiteboard: target:5.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-16 15:09 UTC by samtuke
Modified: 2016-10-25 19:08 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description samtuke 2015-02-16 15:09:25 UTC
Going to tools -> options -> appearance, and unticking all colours / options, does not remove the grey lines indicating page margins in LibreOffice Draw.

Being able to hide margins is important for design, preview, and screenshot purposes.
Comment 1 V Stuart Foote 2015-02-16 16:00:53 UTC
Page margins are set from the Tools -> Options -> Appearance: General "Text boundaries" value.  If you set that the same color as the "Document background" the margins will disappear.

Color can also be adjusted from Expert Configuration--but uses the internal color index reference not a direct color name or hex value, so a bit cumbersome.

Additionally you can toggle the DocBoundaries IsVisble boolean on and off from Expert Configuration:

/org.openoffice.Office.UI/ColorScheme/ColorSchemes/org.openoffice.Office.UI:ColorScheme["LibreOffice"]/DocBoundaries  IsVisible

but the IsVisible property is not being honored in Draw--that is an issue, adjusting summary to that.
Comment 2 samtuke 2015-02-16 16:15:38 UTC
Thanks for the quick and in-depth reply!
Comment 3 Katarina Behrens (Inactive) 2016-03-29 23:19:22 UTC
Actually this isn't limited to expert configuration, one can toggle the visibility of things directly in Tools > Options > Libreoffice > Application Colours (formerly Appearance), it's maybe slightly unintuitive to see that it's the left-most checkbox associated with (some) colour list entries . Unchecking it turns displaying of the given item off.

That doesn't however change the fact that this setting isn't honoured for Impress and Draw. Anyway, it's very easy to fix
Comment 4 Commit Notification 2016-03-30 22:50:37 UTC
Katarina Behrens committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=5f15c7866ef03d7cbbd967e341651fa0c7b64bcd

tdf#89420: Honour doc boundaries (in)visible also in Impress/Draw

It will be available in 5.2.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.
Comment 5 samtuke 2016-03-30 23:13:59 UTC
Thanks very much Katarina!