Bug 118613 - Measure line on master page is not considered as background object
Summary: Measure line on master page is not considered as background object
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.2 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks: Layers
  Show dependency treegraph
 
Reported: 2018-07-07 17:55 UTC by Regina Henschel
Modified: 2019-07-12 07:39 UTC (History)
3 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 Regina Henschel 2018-07-07 17:55:31 UTC
Start with a new empty presentation
Switch to Master View.
Insert a measure line and a normal line
Switch back to Normal View.
Uncheck option show "Master objects".
Save presentation.
Show presentation.
The normal line is not visible (as expected), but the measure line is visible.

The checkbox "Master objects" belongs to the page style attribute presentation:background-objects-visible. Unchecking "Master objects" sets this attribute to "false". In file format a "background object" is a drawing object, which is contained in a style:master-page element. But for LibreOffice a "background object" is an object, that is assigned to the layer "backgroundobjects", and measurelines are automatically assigned to the layer "measurelines" and hence they are not hidden. These concept of layers is not covered by file format. A presentation file does not need to have layers at all in ODF and there exists no rules for special handling of layers depending on their names.
Comment 1 Drew Jensen 2018-07-07 19:39:16 UTC
Confirmed with Ubuntu 18.04 and Builds 5.4.7.2 and 6.0.5.2
Comment 2 Xisco Faulí 2018-07-09 15:29:14 UTC
The option was added to the sidebar in https://cgit.freedesktop.org/libreoffice/core/commit/?id=93b4bf647a5899f54ef51f8b4bfed0faa66b466e
Comment 3 QA Administrators 2019-07-12 02:52:38 UTC Comment hidden (obsolete)
Comment 4 Regina Henschel 2019-07-12 07:39:10 UTC
The error still exists in Version: 6.4.0.0.alpha0+ (x64)
Build ID: 9105b85c708f42024ce063b9a944466c0afdfe9a
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-06-28_22:42:37
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded