Bug 136843 - Master Background / Master Objects options revert upon re-opening document
Summary: Master Background / Master Objects options revert upon re-opening document
Status: RESOLVED DUPLICATE of bug 116815
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: notBibisectable
Depends on:
Blocks:
 
Reported: 2020-09-17 12:05 UTC by xordevoreaux
Modified: 2020-12-02 08:16 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 xordevoreaux 2020-09-17 12:05:04 UTC
Description:
I cleared both master background & master objects options on one of my draw slides, but every time I reopen the document, they're checked again.

Steps to Reproduce:
1. Open an LO Draw document
2. On any slide, clear the Master Objects / Master Background options in the sidebar
3. Save the file
4. Reopen the file

Actual Results:
Master Objects / Master Background options for the given slide are selected again.

Expected Results:
Any and all options that are deselected should remain deselected upon reopening.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: ed4f610f4a3de12016f8308a17b6ad4f86e9d67a
CPU threads: 8; OS: Windows 10.0 Build 20211; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 xordevoreaux 2020-10-14 11:04:57 UTC
Still happening in:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 94e6e140491de31c0788c91af855a75a3bb12709
CPU threads: 8; OS: Windows 10.0 Build 20231; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 xordevoreaux 2020-11-23 16:53:22 UTC
Still a problem under 7.2.0.0 alpha 0

Version: 7.2.0.0.alpha0+ (x64)
Build ID: f313e27fb7f2d42247407e26e16f264e30f87ca5
CPU threads: 8; OS: Windows 10.0 Build 20262; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 3 Justin L 2020-11-30 13:10:04 UTC
I see the page properties with these settings in bibisect-linux-64-5.4 oldest, but it isn't showing any page properties in bibisect-linux-64-5.3 master. So I can't bibisect this. I also don't know where to find those settings anywhere inside of draw.  (In Impress, they are on (right click on the slide) slide features - or just in the main slide menu.)

My guess is that there never was a UI for these items in Draw, and it just inherited them in 5.4 when the sidebar showed them in Page Properties for the benefit of Impress.

For Impress ODP, this is defined as style:family="drawing-page">
presentation:background-visible="false".

How to fix it depends on whether Draw ought to be loading/saving/using this attribute. @Regina? I don't know how to read the specs to answer this question. Based on the presentation prefix, I assume this is supposed to be an Impress-only attribute.

In my testing attempt, it seems to not import this setting - assuming I hand-crafted the document correctly.
Comment 4 Regina Henschel 2020-11-30 15:42:28 UTC
Unfortunately, the situation is not clear. There is no restriction in the Relax schema, only the text in the specification has "when displaying a presentation page." The specification should be clearer.

Improving the spec will last a long time. My suggestion is, to remove the checkboxes and the items in the menu in Draw.

Similar problem is with the Master Elements in bug 116815.
Comment 5 Justin L 2020-12-01 13:07:44 UTC
(In reply to Justin L from comment #3)
> I also don't know where to find those settings anywhere inside of draw.
Heh, blind as a bat.  Instead of "slide" menu, they are under "page" menu, at least in recent versions of Draw since LO 6.1.

*** This bug has been marked as a duplicate of bug 116815 ***
Comment 6 Regina Henschel 2020-12-01 13:53:06 UTC
Not really duplicate. "master elements" are "Footer", ("Header",) "Page Namer" and "Date/Time". This issue is about shapes the user added to the master, and about the background filling of the master. Nevertheless we need a decision, which of the Impress settings and behavior should be available in Draw and which not.
Comment 7 xordevoreaux 2020-12-02 08:16:24 UTC
(In reply to Regina Henschel from comment #6)
> Not really duplicate. "master elements" are "Footer", ("Header",) "Page
> Namer" and "Date/Time". This issue is about shapes the user added to the
> master, and about the background filling of the master. Nevertheless we need
> a decision, which of the Impress settings and behavior should be available
> in Draw and which not.

Exactly. I can place shapes (logos, etc). on a slide master and they export in LO Draw (minus my preferred format, PNG, different issue - https://bugs.documentfoundation.org/show_bug.cgi?id=123973).  

I would like to gain some efficiency in some of my Draw files, some of which have upwards to 40 pages in them, which have repeating elements (shapes) on a master just as logos, etc., but it's not working for my now with PNG as mentioned.

I therefore wouldn't be losing any efficiency that I currently have, just wouldn't be able to strive toward it were just master items (shapes, not Impress elements like titles/page numbers) made permanently inaccessible in Draw.

I'm sure there might be a few users who've implemented master pages just fine in LO draw but aren't using PNG exports.