Bug 168046 - Undo modification from Dialog "Position and Size" destroys Text Object Text Formattings in Grouped Object
Summary: Undo modification from Dialog "Position and Size" destroys Text Object Text F...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Windows (All)
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: dataLoss
Depends on:
Blocks:
 
Reported: 2025-08-21 17:02 UTC by Rainer Bielefeld Retired
Modified: 2025-08-24 11:46 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample Document (29.43 KB, application/vnd.oasis.opendocument.graphics)
2025-08-21 17:02 UTC, Rainer Bielefeld Retired
Details
Sample Docuent with more testcases (16.73 KB, application/vnd.oasis.opendocument.graphics)
2025-08-23 08:13 UTC, Rainer Bielefeld Retired
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Bielefeld Retired 2025-08-21 17:02:53 UTC
Created attachment 202439 [details]
Sample Document

For example, Resizing complete object via dialog und then UNDO will destroy Text size, Colors, selected font ...

Steps how to reproduce with Server Installation of Version: 25.8.0.0.alpha0+ (X86_64)
Build ID: 8049d3f2345d5e6ead9fcb7b84f376fc84b82706
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US; Theme: Automatic Colibre
Calc: threaded: 

1. Click Grouped Element in Test Area of sample document
2. ˋRightclick  → Position and Size → modify Width to 300  → [Enter] ˊ 
   » Big sized Element appears 
3. <Cntr+Z> for Undo
   » Expected: View from Step (1)
   Actual: Looks somehow mangled, Font size and colors of characters destroyed	

Additional Info
----------------
a) SKIA does not matter.
b) All modifications in "Position and Size" and following will show the effect. Even if you only lock height and width and afterwards do UNDO will show the destruction s as described.
c) Not related to that version. Still REPRODUCIBLE with  Installation of Version:25.2.5.2 (X86_64)
Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US; Theme: Automatic Colibre
Calc: threaded 
c1) and already in old OOo versions (3....)
d) Not yet tested whether newly created User Profile heals the Problem  
e) As expected, IMPRESS is also effected.
f) Only 'Position ans size' causes damages. Undo of Resizing by Drag and Drop of Object borders do not show the problem
g) Safe mode does not heal the problem.

h) This one probably is related to or probably a dUP of "Bug 159736 - Undoing rotation for grouped object loses subscript formatting in text object"
Comment 1 Rainer Bielefeld Retired 2025-08-23 06:30:46 UTC
b1) Even an UNDO <Ctrl+z> after only having changed a Base Point (+ [OK]) will cause the formatting destruction  
b2) Even after only having clicked [OK] in Menu 'Position and Size' without having cone any modification will cause the formatting destruction with UNDO.
Comment 2 Rainer Bielefeld Retired 2025-08-23 08:13:22 UTC
Created attachment 202464 [details]
Sample Docuent with more testcases

i) Shows: only Text objects are affected, texts in ohter objects in grouped Object are not affected – see blue rectangle!
Comment 3 Rainer Bielefeld Retired 2025-08-24 11:46:05 UTC
k) And bad: Destruction by UNDO <Cntrl+z> will not be healed by REDO <Cntrl+y)!