Summary: | Crash (signal 6) when new user uses home dir | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Mark Purcell <msp> |
Component: | Setup-Database | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | caulier.gilles, marcel.wiesweg |
Priority: | NOR | ||
Version: | 0.10.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.6.0 | |
Sentry Crash Report: | |||
Attachments: | screen shot |
Description
Mark Purcell
2008-12-20 04:54:10 UTC
Is home used as database path or album path? What is the output of the "Root Album Path: " and "Database Path: " debug outputs on the console before the crash? SVN commit 899772 by mwiesweg: Ensure that no empty dbPath can be set CCBUG: 178251 M +3 -0 albummanager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=899772 Mark, Are you seen comment #1 from Marcel ? Also, test again with current implementation from svn... Gilles Caulier Mark, No news here ??? Gilles Caulier Created attachment 30236 [details]
screen shot
With beta8 I am unable to reproduce the crash.
However the dialog could be cleaned up... See attached.
The default file path is taken from KGlobalSettings::picturesPath(). On OpenSuse this is empty; in this case $HOME/Pictures is suggested. If the global settings really want to return $HOME here, it is used. (I see no more objection not to use $HOME if you really want, although it should not be the default; but see above about choosing the default) SVN commit 911111 by mwiesweg: Fix some usability problems with the FirstRun dialog: - if errors occur, do not exit, but return to dialog (requires to reimplement KDialog::slotButtonPressed, default implementation will always accept after Ok) - remove check to refuse using $HOME as album root. I think, if the user really wants, we are a free country. Any objections? - When a directory is chosen for album root, change default database directory to this as well (unless user changed it before) BUG: 178251 M +63 -24 digikamfirstrun.cpp M +5 -4 digikamfirstrun.h WebSVN link: http://websvn.kde.org/?view=rev&revision=911111 |