Bug 451237 - New Contacts do not show Names
Summary: New Contacts do not show Names
Status: RESOLVED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: 5.19.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-07 12:52 UTC by Klaus-Dieter Fietze
Modified: 2023-05-01 09:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
4 newly created contacts in KAddressbook (53.71 KB, image/png)
2022-03-07 12:52 UTC, Klaus-Dieter Fietze
Details
Same contacts as above after editing their name fields (60.02 KB, image/png)
2022-03-07 12:54 UTC, Klaus-Dieter Fietze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus-Dieter Fietze 2022-03-07 12:52:31 UTC
Created attachment 147349 [details]
4 newly created contacts in KAddressbook

SUMMARY
***
Missing Names in new, manually created Contacts
***


STEPS TO REPRODUCE
1. Open KAddressbook
2. Click on "+ New Contact"
3. Click on the three dots right to the "Name" field
4. Enter "Given name" and "Family names" and click "OK"
5. Fill in a phone number in the "Phone" field
6. Click "OK"
7. Search for the name of the just before created contact

OBSERVED RESULT
I have repeated the procedure 4 times with 4 dummy names. Two of them show up with their initials and their full name; two of them do only show the initials, but not the name.

EXPECTED RESULT
All newly created contacts should show both, initials as well as "Given name" and "Family names"

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220305  
KDE Plasma Version: 5.24.2  
KDE Frameworks Version: 5.91.0  
Qt Version: 5.15.2  
Kernel Version: 5.16.11-1-default (64-bit)  
Graphics Platform: X11  

ADDITIONAL INFORMATION
- Edit any of the contacts that only display initials  
- Open the name fields with the three dots button
- Add a space behind and delete it
- After closing the editor with "OK" the contact will show the initials and the full name
Comment 1 Klaus-Dieter Fietze 2022-03-07 12:54:46 UTC
Created attachment 147350 [details]
Same contacts as above after editing their name fields
Comment 2 Bug Janitor Service 2023-04-27 22:07:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/pim/akonadi-contacts/-/merge_requests/37
Comment 3 Carl Schwan 2023-05-01 09:00:53 UTC
Git commit 8ffc87b598e3995ee872e32bf646aa3d9ce8f731 by Carl Schwan.
Committed on 01/05/2023 at 08:55.
Pushed by carlschwan into branch 'master'.

Fix creating new contact with familiy and sur-name

We need to load the contact first in the DisplayNameEditWidget to load
the correct display name otherwise the display name is empty

M  +3    -1    src/contact-editor/editor/generalinfoeditor/nameeditdialog.cpp

https://invent.kde.org/pim/akonadi-contacts/commit/8ffc87b598e3995ee872e32bf646aa3d9ce8f731