Bug 154804 - UI: issue when undoing slide duplication
Summary: UI: issue when undoing slide duplication
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.5.2.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Slide-Page-Pane
  Show dependency treegraph
 
Reported: 2023-04-14 07:40 UTC by thedeadlysarcasm
Modified: 2024-07-28 03:05 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 thedeadlysarcasm 2023-04-14 07:40:24 UTC
Description:
When undoing slide duplication, the first slide in the presentation is selected instead of the previous slide

Steps to Reproduce:
1. Open a presentation or create a new one.
2. Add several slides (content doesn't matter).
3. Duplicate a slide.
4. Immediately undo the action (either by selecting Modify > undo from the menu, or hitting ctrl+Z.

Actual Results:
The new slide is deleted, and the selection jumps to the first slide in the presentation.

Expected Results:
The new slide is deleted, and the selection returns to the previous slide.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: it-IT (it_IT); UI: it-IT
Calc: threaded
Comment 1 Telesto 2023-04-15 07:16:10 UTC
Confirm
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1cfeb4bd8ce7f7727a81136bd3e2d6ebea976895
CPU threads: 8; OS: Mac OS X 12.6.3; UI render: Skia/Raster; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 2 john 2024-07-28 03:04:47 UTC
confirming also on 7.6.7.2 on Ubuntu 20.04. should be an easy fix, for someone familiar with the code, because explicit 'delete slide' correctly focusses the previous slide instead of flipping back to the first slide...?