Bug 317483 - Create vcf-Handling via Mime-Filetype (click to import)
Summary: Create vcf-Handling via Mime-Filetype (click to import)
Status: RESOLVED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: 4.10
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-28 11:31 UTC by Samuel Suther
Modified: 2013-11-22 16:12 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.13
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Suther 2013-03-28 11:31:39 UTC
I realy wonder, why kaddress (or Kontact at all) not have a way to import vcf (Vcards) directly to adressbook.






Reproducible: Always

Steps to Reproduce:
1.  Open A Webpage, which hae a Downloadable VCard (Like http://www.kreativ-konzept.com/kontakt.php)
2. Click with Mouse to the Vcard, and Download the File
3. Open the downloaded File (or each other vcf-File on your Disk only by one Mouse-Click)



Expected Results:  
KaddressBook should ask... "Do you want to import this adress"
Perfection would be: Kadressbook first looks for dublicate Adresses and give a Information or a merge Dialoge.
Comment 1 Laurent Montel 2013-03-28 13:19:49 UTC
I confirm it.
Will implement it soon.
Comment 2 sorab 2013-11-21 17:34:21 UTC
One up for this bug fix / feature request
I believe there are many 'bugs' files here that boil down to the same root cause, i.e. that kaddressbook/kontact cant handle vcard other than through the import filter which (as far I understand) can only be used though the GUI.

Laurent, if possible please implement in a general way, i.e. so that command line operations along the lines of
kaddressbook --import [file].vcf
or
[some script that yields vcard data] > kaddressbook
will make sense

Enabling kaddressbook to handle vcard as MIME type should also fix those other 'bugs' that report that vcards found by krunner will just open as plain text files in Kate or that vcard-fiels can not be imported easily from Dolphin.

Thanks for your kind consideration :)
Comment 3 Laurent Montel 2013-11-21 18:28:09 UTC
Oki will implement it tomorrow I hope.
I put on my todo list for tomorrow.
Will investigate.

It's right there is a lot of bug that I must look at and after some time I forgot... sorry.
Comment 4 Laurent Montel 2013-11-22 06:59:32 UTC
Git commit 2d04283fa8aa850b9bbd2d14d0ff9dece032c7ad by Montel Laurent.
Committed on 22/11/2013 at 06:59.
Pushed by mlaurent into branch 'master'.

Start to implement import vcard

M  +6    -1    kaddressbook/main.cpp
M  +5    -0    kaddressbook/mainwidget.cpp
M  +2    -0    kaddressbook/mainwidget.h
M  +6    -0    kaddressbook/mainwindow.cpp
M  +2    -2    kaddressbook/mainwindow.h

http://commits.kde.org/kdepim/2d04283fa8aa850b9bbd2d14d0ff9dece032c7ad
Comment 5 Laurent Montel 2013-11-22 07:42:54 UTC
Git commit 0b66f68a0c8e803dd98c817a4de91097862b5ac2 by Montel Laurent.
Committed on 22/11/2013 at 07:42.
Pushed by mlaurent into branch 'master'.

Fix Bug 317483 - Create vcf-Handling via Mime-Filetype (click to import)

FIXED-IN: 4.13

M  +1    -1    kaddressbook/CMakeLists.txt
A  +8    -0    kaddressbook/kaddressbook-importer.desktop
M  +5    -1    kaddressbook/kaddressbook_options.h
M  +4    -1    kaddressbook/main.cpp
M  +27   -0    kaddressbook/xxportmanager.cpp
M  +6    -2    kaddressbook/xxportmanager.h

http://commits.kde.org/kdepim/0b66f68a0c8e803dd98c817a4de91097862b5ac2
Comment 6 Laurent Montel 2013-11-22 07:43:30 UTC
There is a .desktop file to allow to import it directly from dolphin.
Comment 7 sorab 2013-11-22 16:12:12 UTC
Wow, that's what I call immediate action
Thank you, and keep up the good work. :)