Bug 166488 - List item bullet symbols restricted to BMP, a bullet from SMP is visually corrupted
Summary: List item bullet symbols restricted to BMP, a bullet from SMP is visually cor...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Bullet-Number-Outline-Lists
  Show dependency treegraph
 
Reported: 2025-05-07 02:10 UTC by Joop Kiefte
Modified: 2025-05-08 13:09 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
A Screenshot Of The Replacment Symbol In "Bullets and Numbering" (26.32 KB, image/png)
2025-05-08 12:46 UTC, Mr. Beedell, Roke Julian Lockhart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joop Kiefte 2025-05-07 02:10:52 UTC
Description:
When I try to configure 🟙 as a bullet character in LibreOffice, this fails. The character picker seems to be restricted to BMP characters for this. (that is, any character that would fit in 2 bits UTF-16).

Steps to Reproduce:
1. Create a list
2. Try to change the character of the list to 🟙 (1f7d9, needs e.g. Noto Sans Symbols 2 font)

Actual Results:
Random different characters are used instead, and/or the font doesn't change correctly

Expected Results:
Bullet character changes to 🟙


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 8; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
25.2.3-2
Calc: threaded
Comment 1 V Stuart Foote 2025-05-08 11:39:30 UTC
Confirmed. Choosing a glyph to use as bullet from Unicode SMP fails and is visually corrupted.

Using the 'Unordered' list tab of the 'Bullets and Numbering' dialog.

Unable to complete assignment of a glyph drawn from Unicode SMP for use as bullet in an unordered list.  Seems some sort of multibyte limitation defining a bullet, the glyphs are available to document and the LibreOffice Special Character dialog (SCD) can handle.

Font chosen makes no difference, the SCD charmap--launched from the 'Change Bullet' button [1][2]. The pick from the charmap is made, and added to list of recents on the SCD. 

So it is not a selection issue, but the actual glyph from SMP is being corrupted in updating the Unordered list style preview and as rendered to document. 

=-testing-=

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3ab82581e5a5abc03c7ff06eac76a0b2fa0c9c34
CPU threads: 28; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

=-ref-=

https://gerrit.libreoffice.org/c/core/+/163735

https://gerrit.libreoffice.org/c/core/+/167660
Comment 2 Mr. Beedell, Roke Julian Lockhart 2025-05-08 12:46:34 UTC
Created attachment 200703 [details]
A Screenshot Of The Replacment Symbol In "Bullets and Numbering"

I see the "�" symbol when I attempt to apply one in libreoffice-writer-25.2.3.2-1.fc42. Is that what you're referring to?
Comment 3 Joop Kiefte 2025-05-08 13:09:26 UTC
That's not a guaranteed outcome, I have seen various wrong options. I guess the bullet character just uses a 16 bit char variable?