Bug 154780 - Multiple spaces are reduced to one in the Writer result of a Base report
Summary: Multiple spaces are reduced to one in the Writer result of a Base report
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Database-Reports-Builder
  Show dependency treegraph
 
Reported: 2023-04-12 22:01 UTC by mcrqa
Modified: 2023-04-19 07:05 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Base with memo and report fields. (15.89 KB, application/vnd.sun.xml.base)
2023-04-12 22:07 UTC, mcrqa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mcrqa 2023-04-12 22:01:48 UTC
Description:
In database, the text of a "Memo" type field can look like this:

Multiple spaces between words:
        Word1 Word2
Text     Ok    Ok

The problem, when the report is generated, the multiple spaces are reduced to one and the presentation on Writer is not the same anymore:

Multiple spaces between words:
 Word1 Word2
Text Ok Ok

Steps to Reproduce:
1.In a 'Memo' type field, enter a text with multiple spaces between the words.
2. Make a report including this 'Memo' field
3.Run the report.

Actual Results:
Multiple spaces between words:
 Word1 Word2
Text Ok Ok

Expected Results:
Multiple spaces between words:
        Word1 Word2
Text     Ok    Ok



Reproducible: Always


User Profile Reset: No

Additional Info:
The same thing happens when importing into Base (via Calc) an access database with memo fields containing multiple spaces.
Comment 1 mcrqa 2023-04-12 22:07:24 UTC
Created attachment 186632 [details]
Base with memo and report fields.
Comment 2 Buovjaga 2023-04-18 12:23:08 UTC
Repro already with 5.2 and 4.1

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 250b820a24640a33d73a6e690e04e36be01cda28
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded