Summary: | Kontact startup without sycoca database shows disfunctional window | ||
---|---|---|---|
Product: | [Applications] kontact | Reporter: | Andre Heinecke <aheinecke> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | enterprise | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Picture of Kontact without sycoca |
Description
Andre Heinecke
2011-03-31 09:33:49 UTC
The problem is a missing ksycoca database, since kbuildsycoca4 places the database into the users directory Kontact should wait until the database is generated. Created attachment 59096 [details]
Picture of Kontact without sycoca
SVN commit 1229531 by aheinecke: Add a patch to avoid a race condition during the first startup of Kontact. This Patch is added first to emerge for testing and not yet in kdepim git. CCBUG: 269807 M +2 -1 kdepim-e5-20110117.py A wait-for-KSycoca-to-become-available.patch WebSVN link: http://websvn.kde.org/?view=rev&revision=1229531 Git commit f99de48495add01200a0434d99b080318eedb254 by Andre Heinecke. Committed on 18/05/2011 at 18:52. Pushed by aheinecke into branch 'master'. Add a blocking waitForKSycoca function When Kontact is started on a system where no kded was ever started before there is a race condition between kontact querying the KSycoca database and the creation of that database. This caused Kontact not load any plugins in that case. This Patch causes Kontact to block for up to 10 seconds while waiting for KSycoca to become available. BUG: 269807 M +29 -0 kontact/src/mainwindow.cpp M +1 -0 kontact/src/mainwindow.h http://commits.kde.org/kdepim/f99de48495add01200a0434d99b080318eedb254 |