Bug 165794 - Using Ctrl+E on a selected Column in a table crashes Draw
Summary: Using Ctrl+E on a selected Column in a table crashes Draw
Status: RESOLVED DUPLICATE of bug 164855
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
25.2.0.3 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-18 00:14 UTC by Andre
Modified: 2025-03-18 13:59 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Draw crash after CTRL+E (1.96 MB, video/mp4)
2025-03-18 13:03 UTC, mikhail.machine
Details
Impress crash after CTRL+E (1.86 MB, video/mp4)
2025-03-18 13:08 UTC, mikhail.machine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andre 2025-03-18 00:14:13 UTC
Description:
When selecting a Column of entries in a Table inserted in Draw and clicking "Center" or Ctrl+E it crashes Draw.

Steps to Reproduce:
1.Fill Column in table (3 x 5) with entries
2.Select the whole Column
3.Select 'Center' or Ctrl+E

Actual Results:
Instant crash of Draw. Recovery will correctly recover document up to centering attempt.
Selecting individual cells in a table works fine and as expected.

Expected Results:
Centered column of entries .. :)


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: default; VCL: win
Locale: en-AU (en_AU); UI: en-GB
Calc: threaded
Comment 1 V Stuart Foote 2025-03-18 03:40:53 UTC
Can not confim.

The Ctrl+E shortcut works to center alpha-numeric entries into a table column. Likewise the Ctrl+R and the Ctrol+L for right alignment or left alignment work with no issue.

Adding the UNO for Paragraph Alignment controls to Table toolbar, or editing the Paragraph... dialog for a selected column and setting alignment to Center (default), Left, or Right. No crash.

Maybe attach a test drawing ODG that seems to crash.

=-testing-=

Version: 25.2.1.2 (X86_64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 28; OS: Windows 11 X86_64 (10.0 build 26100); UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 2 Andre 2025-03-18 07:25:35 UTC
Not sure what you mean with "Adding the UNO for Paragraph Alignment" (I'm not an expert)
Important to select 'all' the rows of a column and attempt to change say all 5 first row entries in a 5 x 2 table.
Selecting a single cell works fine.
Comment 3 Andre 2025-03-18 07:33:15 UTC
After playing with it again, it seems repeatable when selecting multiple cells in a table, it crashes when multiple cells (even with two) are selected and attempting center align.
Comment 4 m_a_riosv 2025-03-18 08:21:58 UTC
Not reproducible
Version: 25.2.2.1 (X86_64) / LibreOffice Community
Build ID: 38d746d66d9b82fa248a2e90142b9dd3ddd1d6cd
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

Please test in safe mode, Menu/Help/Restart in Safe Mode

As requested comment#1 please attach a sample file where it happens.
Comment 5 mikhail.machine 2025-03-18 09:43:29 UTC
Hello Andre,

I can confirm that the bug is present in master.

Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 12; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_FI); UI: en-US
Calc: threaded

and

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a8ec21adf255b70bb6eeb0a1717190df303d8b26
CPU threads: 12; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_FI); UI: en-US
Calc: threaded
Comment 6 Andre 2025-03-18 10:07:09 UTC
Thank you.
Comment 7 V Stuart Foote 2025-03-18 12:25:04 UTC
Then please, we will need specific steps to reproduce.

Inserting a new 3x5 table into a Draw document.

Adding text or numeric entries to columns of the table.

Mouse cursor Selecting, so highlighted, the content of a column of the text, or the number.

Using the <Ctrl>+E to center (or as with the Customize dialog to add a toolbar button or menu to use the align paragraph center, right or left).

No "crash".


So, how?
Comment 8 mikhail.machine 2025-03-18 13:03:22 UTC
Created attachment 199870 [details]
Draw crash after CTRL+E
Comment 9 mikhail.machine 2025-03-18 13:08:15 UTC
Created attachment 199871 [details]
Impress crash after CTRL+E
Comment 10 raal 2025-03-18 13:29:45 UTC

*** This bug has been marked as a duplicate of bug 164855 ***
Comment 11 V Stuart Foote 2025-03-18 13:59:49 UTC
Yes already fixed [1] at 25.2.1 and master against 25.8.0 after 2025-01-28 [2]

=-ref-=
[1] https://gerrit.libreoffice.org/c/core/+/180809
[2] https://gerrit.libreoffice.org/c/core/+/180814