Bug 164605 - Allow controlling the visibility of margins
Summary: Allow controlling the visibility of margins
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Heiko Tietze
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Options-Dialog-View
  Show dependency treegraph
 
Reported: 2025-01-06 14:04 UTC by Buovjaga
Modified: 2025-01-16 09:29 UTC (History)
2 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 Buovjaga 2025-01-06 14:04:21 UTC
After commit f40dc496a511ae06a308dd0859bc3aad28a8ec7e
Resolves tdf#163856 - Disentangle boundaries options

...Draw no longer displays the light gray box indicating margins. It could be useful to see it sometimes, so I propose to add it either to View menu or Tools - Options - Draw - View.
Comment 1 Buovjaga 2025-01-06 14:04:35 UTC
Confirmed in dev chat by multiple people.
Comment 2 Heiko Tietze 2025-01-07 08:53:37 UTC
I cannot follow what is missing for Draw. Please add some STR.
Comment 3 Buovjaga 2025-01-07 09:14:52 UTC
(In reply to Heiko Tietze from comment #2)
> I cannot follow what is missing for Draw. Please add some STR.

See the gray outline and how it matches the margin representation in the rulers: https://imgur.com/gallery/frame-around-pdf-content-vKQzn7M

From skimming your code changes, I guess it has to do with the svtools::OBJECTBOUNDARIES / svtools::DOCBOUNDARIES changes in sd.
Comment 4 Heiko Tietze 2025-01-16 09:29:06 UTC
Fixed with https://gerrit.libreoffice.org/c/core/+/179995

The patch introduces the expert option Draw::Misc::TextObject::ShowBoundary with default true that allows to disable the margins (similar to Impress::Misc::TextObject::ShowBoundary for the dashed outline around text boxes).