Bug 144737

Summary: In Base forms table control, font for table is ignored for multi line text columns
Product: LibreOffice Reporter: Paul Ward <paul.ward>
Component: BaseAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: medium    
Version: 7.1.6.2 release   
Hardware: All   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Sample data base with form
Example with table that allows modifications

Description Paul Ward 2021-09-26 18:15:42 UTC
Description:
For tables in a form, the font selection for the table is not applied to text columns if the column is defined as multi-line input. Instead, the default font is used.

Steps to Reproduce:
1.Create a form with a table that has a text field.
2.Edit the properties for the table and select some font.
3.Verify that the selected font is applied to all columns including the text column.
4.Edit the properties for the text column and select Yes for multi-line input.
5.The font is no longer applied to the text column.

Actual Results:
The font selected for the table is not applied to the text column after selecting Yes for multi-line input. Instead, the column appears with the default font.

Expected Results:
The font selected for the table is applied to the text column after selecting Yes for multi-line input.


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: OfficeDatabaseDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no

Version: 7.1.6.2 (x64) / LibreOffice Community
Build ID: 0e133318fcee89abacd6a7d077e292f1145735c3
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 Julien Nabet 2021-09-26 18:54:16 UTC
Would it be possible you attach an example file?
Comment 2 Paul Ward 2021-09-26 20:02:07 UTC
Created attachment 175287 [details]
Sample data base with form

Demonstrates incorrect font for Col1 after selecting Yes for multiline input.
Comment 3 Julien Nabet 2021-09-26 20:13:53 UTC
Thank you for your feedback.

On pc Debian x86-64 with master sources updated today, I could reproduce this.
Comment 4 Paul Ward 2021-09-27 16:14:13 UTC
Created attachment 175297 [details]
Example with table that allows modifications
Comment 5 Paul Ward 2021-09-27 16:16:10 UTC
Additional observations

In the first example the form was read only -- ie input not allowed, modification not allowed.
In the second example the form allows modifications. In this case clicking on any entry in the table changes the font from the table font to the default.
Comment 6 Julien Nabet 2021-09-27 18:38:11 UTC
Thank you for the new feedback.

Now the bug is confirmed but I don't know at all how to fix this so uncc myself.
Hope someone will find a fix for this.
Comment 7 QA Administrators 2023-09-28 03:17:49 UTC Comment hidden (obsolete)
Comment 8 Paul Ward 2023-12-12 18:39:49 UTC
Seems to be fixed.