Bug 423458 - Contacts with utf-8 characters in the name are not displayed correctly
Summary: Contacts with utf-8 characters in the name are not displayed correctly
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: messaging-application (other bugs)
Version First Reported In: unspecified
Platform: Kubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Simon Redman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-24 17:41 UTC by Alex
Modified: 2020-06-24 17:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2020-06-24 17:41:51 UTC
SUMMARY
The KDE SMS app does not display contact names (or import contact photos) of contacts that have emojis in their names.

STEPS TO REPRODUCE
1. Edit a contact name to contain an emoji
2. Restart kdeconnect
3. Open SMS app and look at contact name

OBSERVED RESULT

Phone number is shown instead of contact name. Contact photo is not imported

EXPECTED RESULT

Contact should be imported properly

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION

The issue may be in the upstream `KF5PeopleVCard` library.

I debugged the `personAt` function in `smshelper.cpp` and found that the name for the contact is deformed right after importing.