Bug 154233

Summary: Hangs after changing the default text property for multiple form elements at once
Product: LibreOffice Reporter: Christoph <ch.kuhn.sag>
Component: DrawAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal CC: raal
Priority: medium    
Version: 7.4.5.1 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Printscreen how to reproduce

Description Christoph 2023-03-16 17:48:31 UTC
Description:
If I select several text fields in Draw, then change the default text and immediately afterwards want to change the font, for example, Draw shows a white dialog and hangs.

Steps to Reproduce:
1. Open Draw
2. Create multiple "Textfeld" (textfield) elements from form "Extras" tab.
3. Select all textfields
4. Open "Steuerelement-Eigenschaften" (controlelement properties)
5. Write something into "Standardtext" (default text) (do not use multiline edit)
6. While the text cursor is already in the default text, click the '...' on the "Schrift" (font) property to change the font.

Actual Results:
Draw opens an empty dialog and hangs!

Expected Results:
Draw opens the font dialog and lets me continue my work.


Reproducible: Always


User Profile Reset: No

Additional Info:
Its the PortableApps version of LO. It was the first project in that installation, so there was no need to reset UserProfile.
Comment 1 Christoph 2023-03-16 21:46:32 UTC
## Workaround ##
Change the default text using the multiline editor or click in another property field first after changing the default text before clicking '...'.
Comment 2 raal 2023-03-17 18:26:21 UTC
No repro with Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7a7eb4aa21ca0c83db825fe8d5a5278611b391d8
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

Is textfield text box element?
Comment 3 Christoph 2023-03-21 12:00:56 UTC
Yes, I think it's a text box element.
I'll add a screenshot soon.
Comment 4 Christoph 2023-03-21 12:16:47 UTC
Created attachment 186116 [details]
Printscreen how to reproduce

Printscreen to visualize the steps to reproduce.
Comment 5 Christoph 2023-03-21 13:53:48 UTC
It seems that this problem generally occurs when several text box elements are selected at the same time and one first enters a value in one of the text setting fields (default text, additional information, help text,... ) and then clicks directly on the '...' at Label Field, Font, Background Color, or Border Color (without first having confirmed the contents of the field by clicking on another property. With numeric properties it does not seem to be a problem.