Bug 508224 - Clipboard can't show the last letter of the copied text if it's using a bold unicode character
Summary: Clipboard can't show the last letter of the copied text if it's using a bold ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (other bugs)
Version First Reported In: 6.4.4
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-14 06:47 UTC by Fernando Marcelino Muniz
Modified: 2026-09-29 12:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.8.0
Sentry Crash Report:


Attachments
Issue on Plasma 6.4.4 (34.12 KB, image/png)
2025-08-14 06:47 UTC, Fernando Marcelino Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Marcelino Muniz 2025-08-14 06:47:04 UTC
Created attachment 184056 [details]
Issue on Plasma 6.4.4

STEPS TO REPRODUCE
Add "๐Œ๐š๐ค๐ž ๐ฌ๐ฎ๐ซ๐ž ๐ฒ๐จ๐ฎ ๐ฌ๐ž๐ญ: "๐‹๐จ๐œ๐š๐ฅ๐ž๐ฌ > ๐Š๐ž๐ฒ๐›๐จ๐š๐ซ๐ ๐ฅ๐š๐ฒ๐จ๐ฎ๐ญ" | "๐€๐ฉ๐ฉ๐ฅ๐ข๐œ๐š๐ญ" to the clipboard with the default size.

OBSERVED RESULT
The last letter becomes a question mark for some reason (see attachment).

EXPECTED RESULT
The last letter should be "๐ญ".

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.15.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 ร— 11th Gen Intelยฎ Coreโ„ข i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: NVIDIA GeForce GTX 1650
Graphics Processor 2: Intelยฎ Irisยฎ Xe Graphics
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6

ADDITIONAL INFORMATION
https://lingojam.com/BoldTextGenerator
Comment 1 Nate Graham 2025-08-14 13:57:11 UTC
Can confirm.
Comment 2 Bug Janitor Service 2026-09-26 22:18:59 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/7122
Comment 3 Tobias Fella 2026-09-29 08:48:10 UTC
Git commit 75fe5bb7214f485b90f7b0502249579de5b89eab by Tobias Fella, on behalf of Tomรกลก Hnyk.
Committed on 29/09/2026 at 07:56.
Pushed by tfella into branch 'master'.

Klipper: Guard against characters with high surrogates at 100th position

Qt uses UTF-16 and glyphs coded with high surrogates count as two. When
such a character falls on 100th and 101st position, it was sliced in the
middle, producing an unknown character. Now we discard what was wrongly
split.

FIXED-IN: 6.9.0

M  +4    -1    klipper/declarative/qml/TextItemDelegate.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/75fe5bb7214f485b90f7b0502249579de5b89eab
Comment 4 Tobias Fella 2026-09-29 09:10:57 UTC
Git commit a2263057060478dcad13236270cd4cd016a310d6 by Tobias Fella, on behalf of Tomรกลก Hnyk.
Committed on 29/09/2026 at 08:59.
Pushed by tfella into branch 'Plasma/6.8'.

Klipper: Guard against characters with high surrogates at 100th position

Qt uses UTF-16 and glyphs coded with high surrogates count as two. When
such a character falls on 100th and 101st position, it was sliced in the
middle, producing an unknown character. Now we discard what was wrongly
split.

FIXED-IN: 6.9.0
(cherry picked from commit 75fe5bb7214f485b90f7b0502249579de5b89eab)

M  +4    -1    klipper/declarative/qml/TextItemDelegate.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/a2263057060478dcad13236270cd4cd016a310d6