When using templates with different names in KAddressBook and KMail Kontact is trying to use template with name from component which was started first. For example: I'm using "letterhead" template in KMail and "default" in KAddressBook. If I start Kontact and open up mail component and then contacts component I'm getting: Template not found, contact.html Template not found, contact_embedded.html in contact details section. My workaround was to create a symlink called "letterhead" pointing to "default" inside "/usr/share/kde4/apps/kaddressbook/viewertemplates" Reproducible: Always Steps to Reproduce: 1. Start Kontact 2. Choose a different theme in either mail component or contacts component 3. Restart contact Actual Results: Either mail preview is broken or contact information in not visible Expected Results: Mail and contacts component should respect user settings
Related bug report: https://bugs.kde.org/show_bug.cgi?id=331852
*** This bug has been marked as a duplicate of bug 331852 ***
Ok I was able to show bug. I will investigate soon !
My work around for this was to comment out a line in kontactrc as follows: [GrantleeTheme] #grantlee-theme-name=example_fancy Then restarted Kontact and both lines were gone and Contacts in Kontact was working correctly again. I suspect this may have been upgrade cruft that needed culling. Not sure though...
Git commit c00a041a07ac3a8e10fdefa49dfe581da5bfa4c2 by Montel Laurent. Committed on 02/06/2014 at 06:34. Pushed by mlaurent into branch 'KDE/4.13'. Fix Bug 335118 - Contacts and Mail components are trying to use the same template disregarding user settings FIXED-IN: 4.13.2 M +6 -2 grantleetheme/grantleetheme.kcfg M +23 -7 grantleetheme/grantleethememanager.cpp M +6 -1 grantleetheme/grantleethememanager.h M +2 -2 kaddressbook/mainwidget.cpp M +1 -4 kaddressbookgrantlee/grantleeutil.cpp M +6 -0 kmail/kconf_update/kmail.upd M +3 -1 kmail/kmstartup.cpp M +3 -3 messageviewer/viewer/viewer_p.cpp http://commits.kde.org/kdepim/c00a041a07ac3a8e10fdefa49dfe581da5bfa4c2