[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 259949] Kmail does not use all addressbooks for autocompletion
From:       Ralph Moenchmeyer <rm () anracon ! de>
Date:       2012-08-10 13:36:22
Message-ID: bug-259949-17878-gW1g2b39Jw () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=259949

--- Comment #184 from Ralph Moenchmeyer <rm@anracon.de> ---
I upgraded yesterday from KDE 4.8.4 to KDE 4.9 under Opensuse 12.1 (x86_64).
After that address completion did not (!) at all work for existing users - just
as before . 

However, it did work for new users which I set up for tests after the KDE 4.9
upgrade. And for the new users address completion worked as described in
comment #182 by Till Adam. 

So, it seems that one has to configure akonadi + the kdepim programs including
kaddressbook from scratch to get the address completion and the akonadi
indexing of mail addresses to work for users that previously already used some
KDE 4.8 version.

I did this in a quite radical way by deleting configuration/data files and
directories related to Akonadi and the kdepim programs I use.  It was not
dangerous to do so in my case as all my mails, calendar data and addresses
reside on an Imap, an LDAP and on an Open-Xchange server and not in some local
files. Otherwise, one probably would have to be more careful.

On the other side, as akonadi/kdepim information and data are distributed and
scattered over several configuration directories, one has to be careful not to
omit some configuration data.   
Actually, only after some hours of trial and errors I found that a thorough
cleansing in "~/.kde4" and "~/.local" was essential to get everything working
and all mails/contacts reindexed as expected. 

I did the following steps : 
1) I stopped the akonadi service and all kdepim applications. 
2) I kept all nepomuk (sub)services (including the mail indexer) activated
under KDE's "systemsettings". 
3) I deleted the directory "akonadi" under ~/.config
4) I deleted all files and directories related to akonadi, nepomuk  and kdepim
programs in "~/.kde4/share/apps" and "~/.kde4/shared/config". 
5) I deleted the directory "~/.local/share/akonadi" (i.e. I deleted the mysql
database for akonadi) and "~/.local/share/contacts.
6) To be on the save side: I deinstalled an reinstalled the akonadi and the
kdepim RPM packages for KDE 4.9  
7) Logout, init 3 and init 5    
8) Start of Kontact - reconfiguration of the standard identity, setup of my
connection to my IMAP servers, setup of my connections to the Open-Xchange 6
server and to my LDAP-server for different addressbooks and calendars. 
9) I then let akonadi and nepomuk do and finish (!) their indexing work (watch
the CPU load of the "virtuoso-t" process!).  In my case that took over two
hours due to a large amount  of mails on the IMAP server. (The file indexer
(strigi) was restricted to do its work only on some selected directories and
ended its job rather quickly.)  

After that I restarted KDE + Kontact again and address completion now gives me
some reasonable information from the different addressbooks connected. 

At least as long as the starting letter sequence corresponds to the beginning
of a name or the beginning of a mail address. ( A "clark" in "john-clark" e.g.
is not recognized).
A strange thing is also that quite new addresses, which I registered during a
kontact session in some local and remote addressbooks, only were found after a
restart of the akonadi service  and a restart of kontact. This is a bit
annoying. 

However, I am happy to get at least address suggestions from different regular
addressbook resources now and not only suggestions from the stock of recently
used addresses.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic