Bug 135375

Summary: Undo does not restore the text selection when changing properties
Product: LibreOffice Reporter: martinstingl
Component: DrawAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, telesto
Priority: medium    
Version: 4.3.7.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 105948, 112182    

Description martinstingl 2020-08-02 05:07:07 UTC
Description:
In Libreoffice Draw, after an undo operation of a text property change, the former selection is not restored. 
Libreoffice Writer restores the selection correctly.

Steps to Reproduce:
1. Create a text box with some text
2. Select some text
3. Make the selected text bold (for example)
4. Undo

Actual Results:
After the undo, no text is selected.

Expected Results:
After the undo, the text selction of step 2 should be restored.


Reproducible: Always


User Profile Reset: No



Additional Info:
Tested with the current Windows release version.

Tested also with my linux machine:
Version: 6.4.4.2
Build ID: 1:6.4.4-0ubuntu0.20.04.1
CPU threads: 16; OS: Linux 5.5; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Telesto 2020-08-02 05:21:17 UTC
Repro with
Version: 5.4.1.2
Build ID: ea7cb86e6eeb2bf3a5af73a8f7777ac570321527
CPU threads: 4; OS: Mac OS X 10.12.6; UI render: default; 
Locale: nl-NL (nl_NL.UTF-8); Calc: group

and with
Version: 4.3.7.2
Build ID: 8a35821d8636a03b8bf4e15b48f59794652c68ba
Comment 2 QA Administrators 2022-08-03 03:31:24 UTC Comment hidden (obsolete)
Comment 3 martinstingl 2022-08-03 17:59:26 UTC
Still reproducible with
Version: 7.3.5.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 16; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.5~rc2-0ubuntu0.20.04.1~lo1
Calc: threaded
Comment 4 Galuxttor 2022-08-03 21:18:50 UTC
Still reproducible with
Version: 7.4.0 beta1
Comment 5 BogdanB 2023-05-25 19:32:52 UTC
Also 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