Bug 130586

Summary: Incorrect current page after changing the layout, undo and redo
Product: LibreOffice Reporter: Xisco Faulí <xiscofauli>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, caolan.mcnamara, xiscofauli
Priority: medium Keywords: bibisected, bisected, regression
Version: 7.0.0.0.alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=130440
https://bugs.documentfoundation.org/show_bug.cgi?id=129346
Whiteboard:
Crash report or crash signature: Regression By: Caolán McNamara
Bug Depends on:    
Bug Blocks: 105948    

Description Xisco Faulí 2020-02-11 11:38:26 UTC
This is a follow-up of bug 130440

Steps to reproduce:
1. Open Impress
2. New Slide
3. Change layout
4. Undo 2 times
5. Redo 2 times

-> CurrentPage is 1. it should be the second

Reproduced in

Version: 7.0.0.0.alpha0+
Build ID: 5d00a1c9c6e85f3d7a3e05ab485da79980c38d44
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Xisco Faulí 2020-02-11 11:39:25 UTC
This seems to have begun at the below commit.
Adding Cc: to Caolán McNamara ; Could you possibly take a look at this one?
Thanks
 7624b68638d636b960715a18027163794d32fefc is the first bad commit
commit 7624b68638d636b960715a18027163794d32fefc
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Fri Dec 13 15:02:48 2019 +0100

    source 13dfaa3c3704a5a963f9e1e5d45796472f43c80e

author	Caolán McNamara <caolanm@redhat.com>	2019-12-13 12:47:54 +0000
committer	Caolán McNamara <caolanm@redhat.com>	2019-12-13 14:35:29 +0100
commit 13dfaa3c3704a5a963f9e1e5d45796472f43c80e (patch)
tree 4b34fb8828934c21752f6e97537e18602dc9f4dc
parent dcd3b5a52b343aa82933ba27be3396f46ee465ee (diff)
Resolves: tdf#129346 if nothing currently selected, select something
Comment 2 QA Administrators 2022-02-11 03:40:54 UTC Comment hidden (obsolete)
Comment 3 BogdanB 2023-05-25 19:30:08 UTC
Repro in
Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: aed48f26fc8acbcc3a1eaf737619ef1f33d3cb29
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded