Created attachment 189543 [details] sample PPTX Steps: 1. Open attached PPTX 2. Compare the two slides Result: The first slide's top shape uses "use background" as a fill but still shows the shape behind it. Expected: The shape is filled with the colour used in Tools > Options > LibreOffice > Application Colours > Document Background. The same file opened in MS365 will fill the shape with the same colour as the default background. Note: this is not specific to PPTX. ODP behaves the same, but I attached a PPTX to make it easy to test in MS Office / MS365. Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: cea165a3ebdb5f2a2b172004ff1b3848f303d78a CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Already the case in 7.4.0.3, so calling it an implementation error.
Created attachment 189550 [details] comparison of sample PPTX between LO (left) and MS365 (right)
I think, that is not a problem with the feature "use background" but with the background setting of the master slide. The master slide has set "None" and so "use background" uses "None", which means it becomes transparent. PowerPoint does not allow setting "None" as fill for a master slide. So the import should set the background of the master page to the background color from the associated theme.
Created attachment 189563 [details] screenshot comparing using same setting as slide (gradient) to "Use background" (In reply to Regina Henschel from comment #2) > I think, that is not a problem with the feature "use background" but with > the background setting of the master slide. The master slide has set "None" > and so "use background" uses "None", which means it becomes transparent. My understanding is that the feature is not supposed to be "use same setting as slide", but instead be "a kind of 'tunnel' that looks through everything all the way to the slide background" (sorry for the lack of a better description :) ) This is best illustrated by using a gradient: if the slide and shape use the same gradient, vs if the shape uses "use background". > PowerPoint does not allow setting "None" as fill for a master slide. So the > import should set the background of the master page to the background color > from the associated theme. The same is seen with ODP. Or maybe I misunderstood what you meant?
Samuel, Armin and Michael: copying you in in case you've got some input, given that you all participated in getting that implemented.
Still in Version: 24.8.0.3 (X86_64) / LibreOffice Community Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583 CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
(In reply to Stéphane Guillou (stragu) from comment #3) > Created attachment 189563 [details] > screenshot comparing using same setting as slide (gradient) to "Use > background" > > (In reply to Regina Henschel from comment #2) > > I think, that is not a problem with the feature "use background" but with > > the background setting of the master slide. The master slide has set "None" > > and so "use background" uses "None", which means it becomes transparent. > > My understanding is that the feature is not supposed to be "use same setting > as slide", but instead be "a kind of 'tunnel' that looks through everything > all the way to the slide background" (sorry for the lack of a better > description :) ) > > This is best illustrated by using a gradient: if the slide and shape use the > same gradient, vs if the shape uses "use background". > > > PowerPoint does not allow setting "None" as fill for a master slide. So the > > import should set the background of the master page to the background color > > from the associated theme. > > The same is seen with ODP. > Or maybe I misunderstood what you meant? Regina: any comment on this? Same of course for Samuel, Armin and Michael.
I still see no problem with this feature. The shape shows the slide background at the position of the shape. * If the slide itself has a background set, show that. * If the slide itself has background none, but its master has a background set, show that. PowerPoint sets as default theme "background" color at the master and uses "Automatic" at the slide. That is correctly imported. * If neither the slide itself nor the master has a background set, use "transparent". That case does not exist in PowerPoint. I see the problem in the way master slide background "none" is handled. It is "transparent" when using export to png or svg and for the "use background" area fill of a shape. But it is used as "white" for export as PDF, in rendering presentation file as OLE and in rendering the slide in edit and show mode. We could reduce the user confusion, if the master slide gets background "white" in the default presentation, which would correspond to the current rendering.