Bug 162752 - Writer freezes when entering the menu "Character..." of a rich text or plain text control element while it is fully selected
Summary: Writer freezes when entering the menu "Character..." of a rich text or plain ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Content_Control
  Show dependency treegraph
 
Reported: 2024-09-02 17:15 UTC by Jonas Müller
Modified: 2024-10-04 18:56 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file with the problematic elements already present (9.96 KB, application/vnd.oasis.opendocument.text)
2024-09-02 19:31 UTC, Jonas Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Müller 2024-09-02 17:15:40 UTC
Description:
I have received a .docx file with a table and some text control elements within it. LibreOffice Writer freezes for me when I select one of the elements with a double click and I try to open the menu following menu: [Right click] - Character - Character

The error occurs with the included LibreOffice 24.2.5.2 of Linux Mint 22 and version 24.8.0.3 of "LibreOffice-fresh.standard-x86_64.AppImage". Graphics acceleration on/off and safe mode don't make a difference.

Hardware:

AMD Ryzen 5 5600H with Radeon Graphics
Linux Mint 22 x86-64
8 GB RAM

Steps to Reproduce:
1. Create a new Writer document.

2. Click on Form - Content Controls and create either a Rich Text or Plain Text element.

3. The new element will already be preselected.

4. Make a right click on the text element and choose - Character - Character...

5. LibreOffice Writer will freeze



Please also observe that LibreOffice will NOT freeze, when you deselect the element first and you proceed with step 4.

LibreOffice will however also freeze, when you reselect the element by double clicking with the left mouse button first before right clicking to open the menu.

It seems like LibreOffice Writer will freeze when the entire element is selected while the character menu is loading

Actual Results:
LibreOffice Writer will freeze

Expected Results:
The Character menu should open regardless of how/how much of the element is selected


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 12; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: de-DE (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:24.2.5-0ubuntu0.24.04.2
Calc: threaded

AppImage:

Version: 24.8.0.3 (X86_64) / LibreOffice Community
Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583
CPU threads: 12; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: de-DE (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Xisco Faulí 2024-09-02 18:08:42 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 2 Jonas Müller 2024-09-02 19:31:26 UTC
Created attachment 196189 [details]
Example file with the problematic elements already present
Comment 3 Jonas Müller 2024-09-02 19:32:11 UTC
I have uploaded an example file with the problematic elements already present.
Comment 4 m_a_riosv 2024-09-02 20:35:00 UTC
Reproducible
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 47fbbd7c6b9ea6b4a20f05fdf8870cb9e125fb21
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded