Bug 152170 - Report builder in edit mode freeze with black windows when attempting to complexe named column with Report
Summary: Report builder in edit mode freeze with black windows when attempting to comp...
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
7.4.2.3 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-22 13:37 UTC by patrick.gelin
Modified: 2024-01-30 12:54 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description patrick.gelin 2022-11-22 13:37:20 UTC
Description:
I create new Database embeded with a table with complex column name "EAN NUM.". Then I added a Query using this column as a group by column. Then I create a new report with this Query as datas, and added the field named "EAN NUM." as a group .

Then I try to add an accumulator function to the numeric field "NBELEVES". When I select the function parameter the windows of the report windows content switch black... I can see some properties, so if I attempt to select the accumulator function the report freeze and I must to kill soffice process...

I inspected the source of the bug and I find that it is the group named field with blanc and point characters "EAN NUM.". If I rename it into the query AS EAN it's OK...

Steps to Reproduce:
1.Create internal database
2.Add a table with a field varchar and a composed name like "EAN NUM."
3.Add other fields to you table
4. Create a Query using the column "EAN NUM."
5. Create a report and add the column "EAN NUM." as a group field
6. Try to add a numeric field into the group field "EAN NUM." with a function accumulator ...

Actual Results:
LibreOffice application freeze, you have to kill it.

Expected Results:
At step 6, when you select 'function' into property of your numeric field you will get a black windows of your edited report. Then adding accumulator parameter to the property you will get a freeze of LibreOffice application. You must kill the soffice process to exit.


Reproducible: Always


User Profile Reset: No

Additional Info:
Same problem with olders versions. Same problem with HSQLDB external connexion.
Comment 1 Robert Großkopf 2022-11-23 07:20:11 UTC
Tried to check it, but seems it is a little bit more as only creating a table with some column names, one very specific, and a grouped report.

So please add an example database file without critical data content.
Comment 2 Alex Thurgood 2022-11-23 11:26:55 UTC
@Patrick : please provide a test ODB file containing a report which reproduces the issue, and instructions for reproducing.

I'm a bit lost on the bit where you write :

"Try to add a numeric field into the group field "EAN NUM." with a function accumulator ..."

There was a known issue of Firebird embedded databases when defining field names with spaces, or using such fields in queries, but I thought that had been fixed.

Presumably the query, on which you base your report, executes correctly with a field containing a space in its field name ?

The black colouring in the dropdown menu is a visual artifact, usually related to an incorrect OpenGL or Skia implementation, or incomplete support of the graphics chip with one of those two frameworks.

For example, if you turn SKia rendering off in the LibreOffice preferences, and restart LO, does the display become normal again in the dropdown menu of the report when attempting to add a function ?
Comment 3 QA Administrators 2023-05-23 03:14:25 UTC Comment hidden (obsolete)
Comment 4 patrick.gelin 2023-05-25 18:54:40 UTC
I saw you ask a sample.odb file. I'm trying to build one, but I found that using HSQLDB embeded server is fine now, I'm trying to build a sample with external hsqldb server (it was with this configuration I found the bug). Now my configuration is :

Version: 7.4.6.2 / LibreOffice Community
Build ID: 5b1f5509c2decdade7fda905e3e1429a67acd63d
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

So I need one more time to build a new sample file with external hsqldb connexion ...
Comment 5 QA Administrators 2023-05-26 03:18:14 UTC Comment hidden (obsolete)