Bug 107538 - EDITING After changing text box fill in a master, applying a different master to a new slide shows the fill from the previous master in slide edit view (steps in comment 6)
Summary: EDITING After changing text box fill in a master, applying a different master...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All Linux (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Master-Slide
  Show dependency treegraph
 
Reported: 2017-04-30 20:50 UTC by Christian
Modified: 2024-08-02 15:18 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
PPS file (197.50 KB, application/vnd.ms-powerpoint)
2017-05-06 20:11 UTC, Christian
Details
The odp file (50.33 KB, application/vnd.oasis.opendocument.presentation)
2017-05-06 20:13 UTC, Christian
Details
PDF export of ODP (266.65 KB, application/pdf)
2017-05-07 09:39 UTC, Buovjaga
Details
comment 7 ppt file (332.50 KB, application/vnd.ms-powerpoint)
2017-05-07 17:10 UTC, Christian
Details
comment 7 pps file (332.50 KB, application/vnd.ms-powerpoint)
2017-05-07 17:12 UTC, Christian
Details
comment 7 odp file (181.16 KB, application/vnd.oasis.opendocument.presentation)
2017-05-07 17:13 UTC, Christian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian 2017-04-30 20:50:47 UTC
Hello,
I use Impress in Libreoffice 5.2.5.1 under Ubuntu 16.04.

    - I create several dias, based on the "green" master page and give them a title, and fill in the object area of ​​each dia with a few lines (level 1)
    - I edit the master page "verdoyant" to modify the filling of the title area and the filling of the area of ​​objects.
    - I then assign another master page (DNA) to a few dias.
    - I also edit the master page "DNA" to modify differently the filling of the title area and the filling of the area of ​​objects.

    This is where it stalls:
        - at the level of the filling of the titles, no problem.
        - But the filling of the dias of the DNA PM kept the filling that had been defined in the verdant PM.
        - If then, I modify the filling of the object area of ​​the Verdant PM, this affects all the dias.
        - Finally, on the dias based on the DNA PM, if I right click on the objects area, and I choose "default formatting", this dia finally has the right filling.

Conclusion: it seems that there is a bug in the filling of the object area when changing PM: The old fill of the object area is applied directly to the dias for which the master page is changed , And these dias no longer follow the filling of the new master page.

NOTE: What I said for filling the object field is also true for the line properties of this zone. But there is no problem with the fonts in this area.

I have found no way to get around this problem. (Except to return to each dia, select the object area (s), and apply "default format".) And I've been looking for several days ... Does anyone see any other solution? Otherwise, it seems to me that this would be a bug.

Just another information: I tried under Windows 7 Libreoffice 5 (may be 5.1.6, but not sure of the minor version)  and had the same problem.
Comment 1 Buovjaga 2017-05-06 10:59:39 UTC
(In reply to Christian from comment #0)
>     - I then assign another master page (DNA) to a few dias.

Please attach an example file that is at the point of this step. This is to make testing faster.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the document.
Comment 2 Christian 2017-05-06 20:11:23 UTC
Created attachment 133107 [details]
PPS file

Hi, during the creation of a file showing the problem, I found a closer approach of the problem: explained hereunder:


    - I create 4 dias, based on the "Verdoyant" master page and give them a title, and fill in the object area of ​​each dia with a few lines (level 1)
    
    - I edit the master page "verdoyant" to modify the filling of the title area: background color Yellow2; font bold and Blue2.
    - I modify the filling of the  filling of the area of ​​objects: background color Blue2; font bold, Italic and Blue2.
    - I save that master page. 

   
Before saving, I see this result:
    - Slides 1 is correct and follow characteristics of master page "Verdoyant". 
    - Slides 2, 3 and 4 are not correct: they follow characteristics of master page "Verdoyant", except for the filling of the area of ​​objects which remain unchanged.
    
After saving, closing the file and reloading it everything is correct... 
        
So the problem seems to be: when changing the filling of the area of ​​objects in a master page, the change take effect only when opening the file again. It is not possible to send you  an odp attachment showing the problem. 

However, When the problem occurs, if i save the file as pps before closing the file, the pps file is affected by the problem. 

I send you the pps file in this attachment, and open an other comment to sent the odp file
Comment 3 Christian 2017-05-06 20:13:57 UTC
Created attachment 133109 [details]
The odp file

see previous comment: this comment was to attach a second file to that comment.
Comment 4 Buovjaga 2017-05-07 09:39:50 UTC
Created attachment 133115 [details]
PDF export of ODP

Is this really correct? The ODP does not match your description.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.4.0.0.alpha1+
Build ID: 6e4cba99bb35e6697b94309eedd1a08ebea2dc68
CPU threads: 8; OS: Linux 4.10; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on May 5th 2016
Comment 5 Christian 2017-05-07 13:43:41 UTC
Yes, it is correct: 
As I explained in comment 2, "After saving, closing the file and reloading it everything is correct..."
That means that saving the odp file fixes the bug... And the odp file I sended has no longer the problem. 

It is why I saved first as pps before saving as odp... And you can see the problem on the pps file. 

Even if saving as odp fixes the problem, it remains a bug: all other fields don't need "saving as odp" to apply the changes on the slides. 

I hope this will help.
Comment 6 Buovjaga 2017-05-07 14:04:44 UTC
Ok, steps:

1. Create new presentation with Lush Green master
2. View - Slide Master
3. Select the main text box and change the area fill to yellow color
4. Add a second slide so you will see the yellow
5. Add a third slide and apply master DNA from the sidebar

See that the Slide pane preview shows it correctly, but the edit view shows the text box fill as yellow. (Saving and reloading fixes the problem)

Arch Linux 64-bit, KDE Plasma 5
Version: 5.4.0.0.alpha1+
Build ID: 6e4cba99bb35e6697b94309eedd1a08ebea2dc68
CPU threads: 8; OS: Linux 4.10; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on May 5th 2016

Arch Linux 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 7 Christian 2017-05-07 17:10:25 UTC
Created attachment 133137 [details]
comment 7 ppt file

Thanks Buovjaga,
I tried ther 5 steps you suggested in comment 6...
After step 5, my slide3 had the layout of master DNA, but with yellow text area.
So the problem is already present.
 
I added a step 6: changing master DNA, with blue text area: it gave apparently no change on slide 3 (text area was always yellow)

I saved the file successively in ppt, pps and odp, then closed the file. 
Opening the pps or ppt file give slide 3 in yellow
Opening the pps file give slide 3 in blue. (It seemed yellow when saving the file.)

I attach the 3 files: test2.ppt, test2.pps, test2.odp.
Comment 8 Christian 2017-05-07 17:12:27 UTC
Created attachment 133138 [details]
comment 7 pps file
Comment 9 Christian 2017-05-07 17:13:03 UTC
Created attachment 133139 [details]
comment 7 odp file
Comment 10 QA Administrators 2018-05-08 02:32:37 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2021-04-01 03:53:14 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2023-04-02 03:24:02 UTC Comment hidden (obsolete)
Comment 13 Cor Nouws 2024-08-02 15:18:35 UTC
[without digging into all details - apologies - I know there are situations where changing the Master Slide, or applying a different one, is not immediately rendered in the current slide. Sometimes PgUp/Down does the trick ]