<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>317483</bug_id>
          
          <creation_ts>2013-03-28 11:31:39 +0000</creation_ts>
          <short_desc>Create vcf-Handling via Mime-Filetype (click to import)</short_desc>
          <delta_ts>2013-11-22 16:12:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kaddressbook</product>
          <component>general</component>
          <version>4.10</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Samuel Suther">s.suther</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>montel</cc>
    
    <cc>sorabsuperstar</cc>
    
    <cc>tokoe</cc>
          
          <cf_commitlink>http://commits.kde.org/kdepim/0b66f68a0c8e803dd98c817a4de91097862b5ac2</cf_commitlink>
          <cf_versionfixedin>4.13</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>10</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1355132</commentid>
    <comment_count>0</comment_count>
    <who name="Samuel Suther">s.suther</who>
    <bug_when>2013-03-28 11:31:39 +0000</bug_when>
    <thetext>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... &quot;Do you want to import this adress&quot;
Perfection would be: Kadressbook first looks for dublicate Adresses and give a Information or a merge Dialoge.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1355146</commentid>
    <comment_count>1</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2013-03-28 13:19:49 +0000</bug_when>
    <thetext>I confirm it.
Will implement it soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1413254</commentid>
    <comment_count>2</comment_count>
    <who name="sorab">sorabsuperstar</who>
    <bug_when>2013-11-21 17:34:21 +0000</bug_when>
    <thetext>One up for this bug fix / feature request
I believe there are many &apos;bugs&apos; 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] &gt; kaddressbook
will make sense

Enabling kaddressbook to handle vcard as MIME type should also fix those other &apos;bugs&apos; 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 :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1413261</commentid>
    <comment_count>3</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2013-11-21 18:28:09 +0000</bug_when>
    <thetext>Oki will implement it tomorrow I hope.
I put on my todo list for tomorrow.
Will investigate.

It&apos;s right there is a lot of bug that I must look at and after some time I forgot... sorry.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1413365</commentid>
    <comment_count>4</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2013-11-22 06:59:32 +0000</bug_when>
    <thetext>Git commit 2d04283fa8aa850b9bbd2d14d0ff9dece032c7ad by Montel Laurent.
Committed on 22/11/2013 at 06:59.
Pushed by mlaurent into branch &apos;master&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1413368</commentid>
    <comment_count>5</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2013-11-22 07:42:54 +0000</bug_when>
    <thetext>Git commit 0b66f68a0c8e803dd98c817a4de91097862b5ac2 by Montel Laurent.
Committed on 22/11/2013 at 07:42.
Pushed by mlaurent into branch &apos;master&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1413369</commentid>
    <comment_count>6</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2013-11-22 07:43:30 +0000</bug_when>
    <thetext>There is a .desktop file to allow to import it directly from dolphin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1413459</commentid>
    <comment_count>7</comment_count>
    <who name="sorab">sorabsuperstar</who>
    <bug_when>2013-11-22 16:12:12 +0000</bug_when>
    <thetext>Wow, that&apos;s what I call immediate action
Thank you, and keep up the good work. :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>