Bug 165714 - Font Preview Display Issue When Selecting a Table in LibreOffice Writer's Paragraph Style Settings
Summary: Font Preview Display Issue When Selecting a Table in LibreOffice Writer's Par...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Paragraph-Dialog
  Show dependency treegraph
 
Reported: 2025-03-13 01:55 UTC by jun meguro
Modified: 2025-09-06 12:44 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
sample document (211.91 KB, application/vnd.oasis.opendocument.text)
2025-03-13 01:56 UTC, jun meguro
Details
Screenshot of this problem for pure English text in Chinese environment (192.33 KB, image/png)
2025-07-25 14:36 UTC, Ming Hua
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jun meguro 2025-03-13 01:55:23 UTC
- Open a new Writer document.  
- Insert a table consisting of multiple columns.  
- Enter some characters in each cell of the table.
- Select the entire table.  
- Right-click on the selection > Paragraph > Edit Style.  
- The Style Settings dialog opens.  
- Open the "Font" tab in the dialog.  
- The character preview is displayed incorrectly (see attached file).  


-This issue does not occur when selecting cells vertically.

Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: threaded
Comment 1 jun meguro 2025-03-13 01:56:04 UTC
Created attachment 199781 [details]
sample document
Comment 2 Saburo 2025-03-13 08:36:40 UTC
I confirmed.
Bisected with win64-24.8
commit 3e7de6b1bc9f28ba6b69489e7f5c7dc645abc695
author	Adam Seskunas <adamseskunas@gmail.com>

tdf#144576 Copy a table from Writer to plain text editor as a Matrix

sw ascii filter
 - check for table nodes, output them seperately with formating
   to be displayed as a matrix when copy/pasted to a text file

sw qa filter ascii
 - add new test suite along with test to check for correct output
Comment 3 Bogaboga Man 2025-03-13 21:29:31 UTC
Able to duplicate!
Version: 25.2.1.2 (X86_64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 4; OS: Windows 11 X86_64 (10.0 build 26100); UI render: default; VCL: win
Locale: en-CA (en_CA); UI: en-US
Calc: threaded
Comment 4 Adam664 2025-07-13 15:20:05 UTC
Problematic line is sw/source/filter/ascii/wrtasc.cxx:266

        if (pBox != pLine->GetTabBoxes().back())
>>>                Strm().WriteUChar( 0x9 );

Writes an ascii tab between the table entries. Need to investigate if the problem is on the wrtasc side or the character preview side.
Comment 5 Ming Hua 2025-07-25 14:36:52 UTC
Created attachment 201995 [details]
Screenshot of this problem for pure English text in Chinese environment

I'm seeing a very similar problem when working in LO with CJK enabled, but in a document with only English text.  Screenshot attached.

If the developers don't think this is the same problem, I have sample document and bug report ready.
Comment 6 BogdanB 2025-09-06 12:44:27 UTC
Just horizontal selection of cells bring this mix of characters.