After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 794151 - The "File Under" field can not be edited
The "File Under" field can not be edited
Product: evolution
Classification: Applications
Component: Contacts
3.26.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Reported: 2018-03-07 12:53 UTC by Paul Wise
Modified: 2018-03-12 12:43 UTC
See Also:
GNOME target: ---
GNOME version: ---

evp patch (1.35 KB, patch)
2018-03-08 18:15 UTC, Milan Crha
committed Details | Review

Description Paul Wise 2018-03-07 12:53:30 UTC
I noticed that the "File Under" field in the "Contact Editor" dialog (for both new and existing contacts) can no longer be edited. I usually want to see the name I know someone as in the "File As" column rather than their full legal name, so this is a functionality regression for me. I have a lot of contacts where the "File Under" field in the dialog does not match the options provided in the drop-down and I would like to keep it that way and would like to keep doing that for newly added contacts.

I am using evolution 3.26.5-1, evolution-data-server 3.26.5-1 and GNOME 3.26 on Debian buster.
Comment 1 Milan Crha 2018-03-08 18:10:36 UTC
Thanks for the bug report. Do you recall what was your last version, where it worked as expected, please? I do not think it was disabled on purpose, but I can be wrong.
Comment 2 Milan Crha 2018-03-08 18:15:11 UTC
Created attachment 369470 [details] [review]
evp patch

for evolution;

You can locate the .ui file in your system (somewhere around
I guess), and make the same changes there, then it'll let you edit the File Under as before. I think this happened when I resaved the .ui files with gtk+ 3.10, only nobody noticed it yet.
Comment 3 Paul Wise 2018-03-09 01:35:39 UTC
I do not recall when this last worked as I don't often need to set this. Looking at a vcard export of my contacts data, the REV last date where I added a new contact with an X-EVOLUTION-FILE-AS different to the N/FN fields was 2016-12-27, which would have been evolution 3.22.3-1 according to the Debian tracker, since that migrated to Debian testing on 2016-12-23 and I usually upgrade daily. I did create new contacts since then but the N/FN fields didn't differ to X-EVOLUTION-FILE-AS so I'm not sure if it worked then or not.

I confirm that the proposed patch fixes the issue and does not appear to cause any other issues, please apply it to all supported releases.

PS: is there really still no official field for this in the VCARD RFC? It might be interesting for evolution maintainers to propose this field, I always found this feature of evolution quite excellent and it would be great if more contacts software supported the concept.
Comment 4 Milan Crha 2018-03-09 08:22:04 UTC
The vCard version 3.0 doesn't have it. It's the version Evolution uses. The vCard version 4.0 (bug #722046) has few new attributes, some are pretty interesting. I do not see any related to File-As.

I tried with Google interface, which also has File As, but they do not provide it in their CardDAV interface, thus I cannot see what they might use in vCard for it.
Comment 5 Milan Crha 2018-03-12 12:43:27 UTC
Created commit 5b87895091 in evo master (3.29.1+)
Created commit 454beee580 in evo gnome-3-28 (3.28.1+)