Bug 269337

Summary: SETUP : use idle folder icon if collection is missing
Product: [Applications] digikam Reporter: Rinus Bakker <sleeplessregulus>
Component: Setup-DatabaseAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, sleeplessregulus
Priority: NOR    
Version: 2.0.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.1.0
Attachments: missing database

Description Rinus Bakker 2011-03-24 19:58:50 UTC
Version:           2.0.0 (using KDE 4.6.1) 
OS:                Linux

If for some reason the database is not there wher DK expect it, there shows up a window to point to a place were to store the database. The folder icon to open a dialogue for new database location is idle.

Reproducible: Always

Steps to Reproduce:
Delete or move database and launch DK

Actual Results:  
There shows up a dialogue window to point to a place where to store the new database. The folder icon to open a dialogue for new database location is idle en DK suppose to use the former location.

Expected Results:  
Click on the folder icon opens dialogue
Comment 1 caulier.gilles 2011-04-29 11:41:05 UTC
Which DB type you use ? sqlite or Mysql ?

Gilles Caulier
Comment 2 Rinus Bakker 2011-05-07 14:29:11 UTC
sqlite3
Op 29-04-11 11:41, Gilles Caulier schreef:
> https://bugs.kde.org/show_bug.cgi?id=269337
>
>
>
>
>
> --- Comment #1 from Gilles Caulier<caulier gilles gmail com>   2011-04-29 11:41:05 ---
> Which DB type you use ? sqlite or Mysql ?
>
> Gilles Caulier
>
Comment 3 Marcel Wiesweg 2011-05-23 20:44:39 UTC
I delete the digikam4.db file, but not the digikamrc config file. When restarting,
digikam creates an empty database and shows a dialog where I can add my collections. Where is the idle folder icon?
Comment 4 Rinus Bakker 2011-05-23 21:21:05 UTC
Op 23-05-11 20:44, Marcel Wiesweg schreef:
> https://bugs.kde.org/show_bug.cgi?id=269337
>
>
>
>
>
> --- Comment #3 from Marcel Wiesweg<marcel wiesweg gmx de>   2011-05-23 20:44:39 ---
> I delete the digikam4.db file, but not the digikamrc config file. When
> restarting,
> digikam creates an empty database and shows a dialog where I can add my
> collections. Where is the idle folder icon?
>
Probably I have been talking about this ¨set root albums and database 
locations¨
The text makes you suspect that it is possible to click on the icon to 
point to your db.

Now I don´t even notice it but obviously it has confused me in the past.
Comment 5 Rinus Bakker 2011-05-23 21:23:08 UTC
Created attachment 60246 [details]
missing database
Comment 6 Rinus Bakker 2011-05-25 12:12:10 UTC
(In reply to comment #5)
> Created an attachment (id=60246) [details]
> missing database

So from my point of view it is not the code that have to be changed, but ¨and database locations¨ should be removed from the text.

Rinus
Comment 7 Marcel Wiesweg 2011-05-28 17:51:27 UTC
Ok, I agree that the text could be changed
(the widget is shared between config and startup, so it's not simply changing the text in code, but can be done of course)
Comment 8 caulier.gilles 2016-07-24 07:50:02 UTC
Git commit 24fcbe7fa11724f4a91567ee821dfd198be51e63 by Gilles Caulier.
Committed on 24/07/2016 at 07:49.
Pushed by cgilles into branch 'master'.

the place of collections is not the place to store database.
FIXED-IN: 5.1.0

M  +1    -1    utilities/setup/setup.cpp

http://commits.kde.org/digikam/24fcbe7fa11724f4a91567ee821dfd198be51e63