Bug 154802 - Duplicating a slide with focus in text box keeps the focus in the original slide, overlaying the text of the two slides
Summary: Duplicating a slide with focus in text box keeps the focus in the original sl...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Page-Slide-View
  Show dependency treegraph
 
Reported: 2023-04-14 07:10 UTC by thedeadlysarcasm
Modified: 2023-04-19 14:17 UTC (History)
2 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:10:46 UTC
Description:
Under certain conditions, the "duplicate slide" command behaves anomalously, leading to UI and formatting problems.

Steps to Reproduce:
1. Open presentation (or create new presentation).
2. Write something in a text box.
3. While the text box is still in focus (i.e., the cursor is still on the text), select Slide > Duplicate Slide from the menu.
4. While keeping focus on the text box, delete some text and write something else.

Actual Results:
The slide is duplicated; however, the slide that is selected is still the previous one (the one that was duplicated), instead of the new one.

Furthermore, when writing new text in the text box (without losing focus on it), the program still displays the old text below the new text.

Expected Results:
The slide is duplicated as normal.


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

This is a bug I'd noticed in previous versions, too, but I'm only filing it now.
Comment 1 Buovjaga 2023-04-19 14:17:15 UTC
Bibisected with linux-64-7.2 to bd93f5cec54350b6f07c5b7cd4987ea3762e3f40
impress: don't exit textbox editing when new slide was added