Bug 99146 - Duplication of footer
Summary: Duplication of footer
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:fodp
Depends on:
Blocks:
 
Reported: 2016-04-08 00:24 UTC by i.am.stack
Modified: 2018-09-25 20:29 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screen shot of pre-bug (101.64 KB, image/png)
2016-04-08 00:24 UTC, i.am.stack
Details
screen shot of bug (75.33 KB, image/png)
2016-04-08 00:24 UTC, i.am.stack
Details
Example (68.06 KB, application/vnd.oasis.opendocument.presentation-flat-xml)
2016-04-08 00:59 UTC, i.am.stack
Details

Note You need to log in before you can comment on or make changes to this bug.
Description i.am.stack 2016-04-08 00:24:24 UTC
Created attachment 124171 [details]
Screen shot of pre-bug

Greetings,

I think I may have found a bug. I can reproduce quite easily on my Scientific Linux 6 systems running LibreOffice Impress 5.1.1.3 (Had issue with 5.0 & updated today to confirm bug still exists).

To reproduce:
Open new Impress document.
In the default window type blah for the title and window.
Insert-> Header and Footer... -> type blah in for the date and footer.
See screen shot PossibleBug_01.png.
Save as flat file fodp
Close window.
Reopen.
See screen shot PossibleBug_02.png.

Why is the footer duplicated??? Instead of showing "blah" it shows "blahblah"!

Save, close, and reopen. Now shows "blahblahblah"!!

Nothing I do makes that go away except for removing footer completely. 

Now, open the saved fodp file and open a new impress file. Copy the slides over.
Footer is now correct! Hooray!!
Save as fodt. Close Impress. Open file again.
Footer is now duplicated again. :-(

I can not replicate if I save as odp. However, at work we save the presentations in flat file format fodp in a Git repo for versioning/tracking. Getting this fix would be very helpful.

Thank you!
Comment 1 i.am.stack 2016-04-08 00:24:54 UTC
Created attachment 124172 [details]
screen shot of bug
Comment 2 i.am.stack 2016-04-08 00:29:32 UTC
Confirmed bug on Ubuntu 15.10 with LibreOffice Impress 5.0.5.2.
Comment 3 Joel Madero 2016-04-08 00:46:38 UTC
Please attach an actual file demonstrating the problem then set to UNCONFIRMED. THanks
Comment 4 i.am.stack 2016-04-08 00:59:18 UTC
Created attachment 124173 [details]
Example

Here is an example.
Comment 5 raal 2016-04-08 10:50:30 UTC
I can confirm with Version: 5.2.0.0.alpha0+; win7 and 4.0
Comment 6 Dominik Köppl 2017-09-17 17:04:55 UTC
The bug is also present in the Debian versions 5.2.7-1~bpo8+1 and 4.3.3-2+deb8u7.

In the "Date Area", "Footer Area" and "Slide Number Area" the special tokens <date/time>,<footer> and <number> are added, respectively, after each save and open operation.
Comment 7 Dominik Köppl 2017-09-17 17:15:36 UTC
It looks that saving the file in fodp format is the problem. 
I could get rid of the page number duplicate with a quick&dirty sed command:
sed -i 's@<text:page-number>&lt;number&gt;</text:page-number>@@g' slides.fodp
Comment 8 QA Administrators 2018-09-18 02:50:02 UTC Comment hidden (obsolete)
Comment 9 i.am.stack 2018-09-19 11:58:02 UTC
Greetings,
I can confirm that in every version I've used since, this frustrating bug still exists. I do not have the time at the moment to test on the absolute latest version, however, I do have two versions of Ubuntu that I can easily test on. The bug exists on both.

16.04
Version: 5.1.6.2
Build ID: 1:5.1.6~rc2-0ubuntu1~xenial4
CPU Threads: 4; OS Version: Linux 4.4; UI Render: default; 
Locale: en-US (en_US.UTF-8); Calc: group


18.04
Version: 6.0.3.2
Build ID: 1:6.0.3-0ubuntu1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: x11; 
Locale: en-US (en_US.UTF-8); Calc: group
Comment 10 Roman Kuznetsov 2018-09-19 20:31:08 UTC
(In reply to i.am.stack+LibreOffice from comment #9)
> Greetings,
> I can confirm that in every version I've used since, this frustrating bug
> still exists. I do not have the time at the moment to test on the absolute
> latest version, however, I do have two versions of Ubuntu that I can easily
> test on. The bug exists on both.
> 
> 16.04
> Version: 5.1.6.2
> Build ID: 1:5.1.6~rc2-0ubuntu1~xenial4
> CPU Threads: 4; OS Version: Linux 4.4; UI Render: default; 
> Locale: en-US (en_US.UTF-8); Calc: group
> 
> 
> 18.04
> Version: 6.0.3.2
> Build ID: 1:6.0.3-0ubuntu1
> CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: x11; 
> Locale: en-US (en_US.UTF-8); Calc: group

I can't repro in 

Version: 6.1.1.2 (x64)
Build ID: 5d19a1bfa650b796764388cd8b33a5af1f5baa1b
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: ru-RU (ru_RU); Calc: CL

please retest in LO 6.1
Comment 11 i.am.stack 2018-09-25 20:29:03 UTC
Thanks Roman!
I finally had time to test on 6.1.1.2 and can confirm that it is now resolved.
Thanks!