Bug 170027 - Crash when undoing shape drag with Alt pressed
Summary: Crash when undoing shape drag with Alt pressed
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All Windows (All)
: medium normal
Assignee: Balázs Varga
URL:
Whiteboard:
Keywords: notBibisectable, regression
Depends on:
Blocks: Undo-Redo Crash
  Show dependency treegraph
 
Reported: 2025-12-17 18:06 UTC by Gabor Kelemen (Collabora)
Modified: 2025-12-22 14:00 UTC (History)
1 user (show)

See Also:
Crash report or crash signature: ["SdrUndoRemoveObj::Undo()"]


Attachments
Example file from Impress (15.79 KB, application/vnd.oasis.opendocument.presentation)
2025-12-17 18:06 UTC, Gabor Kelemen (Collabora)
Details
Backtrace (3.69 KB, text/plain)
2025-12-22 08:08 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (Collabora) 2025-12-17 18:06:48 UTC
Created attachment 204695 [details]
Example file from Impress

1. Open attached file
2. Click on the red shape long until the cursor shape changes
3. Press Alt and move the cursor a bit
4. Release the mouse - nothing visible happened
5. Undo
-> Crash

Normally, when the above process is applied to two shapes, there is no crash:
1. Open attached file
2. Click on the red shape long until the cursor shape changes
3. Press Alt and move the cursor above the heart shape
4. Release the mouse. 
-> The red shape replaces the heart shape.
5. Undo
-> The editing is reverted normally without crash

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 680(Build:0)
CPU threads: 24; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded

Seems to have started sometime in 4.2 - in 4.1, Long click on the shape + Alt was invalid operation.
Comment 1 Saburo 2025-12-18 23:21:35 UTC
not repro
Version: 25.8.3.2 (X86_64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e
CPU threads: 2; OS: Linux 6.16; UI render: default; VCL: kf5 (cairo+wayland)
Locale: ja-JP (ja_JP.UTF-8); UI: en-US
Calc: threaded

repro
Version: 25.8.3.2 (X86_64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e
CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: en-US
Calc: threaded

and in
2025-12-16
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 680(Build:0)
CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: threaded

and in
bibisect-win32-4.3(oldest)
Version: 4.2.0.0.alpha1+
Build ID: fc8f44e82de4ebdd50ac5fbb9207cd1a59a927e3

windows only
notbibisectable
Comment 2 Aron Budea 2025-12-22 08:08:44 UTC
Created attachment 204751 [details]
Backtrace