[digikam] [Bug 320359] New: digiKam should show which files it's scanning during first run when adding collections

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 320359] New: digiKam should show which files it's scanning during first run when adding collections

DrSlony-4
https://bugs.kde.org/show_bug.cgi?id=320359

            Bug ID: 320359
           Summary: digiKam should show which files it's scanning during
                    first run when adding collections
    Classification: Unclassified
           Product: digikam
           Version: 3.2.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [hidden email]
          Reporter: [hidden email]

Delete digikam4.db, run digiKam. It asks you to select collections, so do that
and proceed. Now the splash screen is on screen, for a
very....long....time..... I have no idea how far in the scanning process it is,
or how much it has left. It should show me the full path relative to the
collection of the file it's currently scanning, and, if possible, a % estimate.

Even worse, if you happen to click on the splash screen, it disappears! The
only indication that digiKam is doing something is that the process is still
running and the cache memory keeps increasing. All I wanted to do is to
batch-resize some photos and to send them off to a client, but after waiting
for 15 minutes I gave up and went outside.

Reproducible: Always

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 320359] digiKam should show which files it's scanning during first run when adding collections

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=320359

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Gilles Caulier <[hidden email]> ---
Note :

On SplashScreen, we only report albums listing, not album item contents. This
second stage is done in progress manager when digiKam main GUI appears.

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 320359] digiKam should show which files it's scanning during first run when adding collections

DrSlony-4
In reply to this post by DrSlony-4
https://bugs.kde.org/show_bug.cgi?id=320359

--- Comment #2 from DrSlony <[hidden email]> ---
I just reproduced on 3.5.0. The splash screen doesn't show me anything, not
even albums:
http://i.imgur.com/Wwa3hfy.png
and as in my first post, if I click on it, it disappears, and the only
indication that something's happening is if I use "ps" to find the digikam
process, or listen to the disk grinding.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 320359] digiKam should show which files it's scanning during first run when adding collections

Gilles Caulier-4
In reply to this post by DrSlony-4
https://bugs.kde.org/show_bug.cgi?id=320359

--- Comment #3 from Gilles Caulier <[hidden email]> ---
It's simple : disable splashscreen from Setup/misc dialog, and you will see a
progress dialog about album scan.

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 320359] digiKam should show which files it's scanning during first run when adding collections

Gilles Caulier-4
In reply to this post by DrSlony-4
https://bugs.kde.org/show_bug.cgi?id=320359

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |setup

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 320359] digiKam should show which files it's scanning during first run when adding collections

Gilles Caulier-4
In reply to this post by DrSlony-4
https://bugs.kde.org/show_bug.cgi?id=320359

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.2.0                       |3.5.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 320359] digiKam should show which files it's scanning during first run when adding collections

Gilles Caulier-4
In reply to this post by DrSlony-4
https://bugs.kde.org/show_bug.cgi?id=320359

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
     Ever confirmed|0                           |1
            Version|3.5.0                       |4.2.0
             Status|UNCONFIRMED                 |CONFIRMED

--- Comment #4 from Gilles Caulier <[hidden email]> ---
Marcel,

The problem is just reproducible with 4.2.0.

I just reproduce the way explained by DrSonly by deleteing database and restart
digiKam. It ask to setup collection. Splash appear and no information are
displayed about scanning operation until a while.

In the console, i can see that digiKam scan directories AND files, not only
directories as expected. Files must be started when albums are parsed from
collection, and main GUI must be show with a progress item indicating scan of
items from directories.

Why this behavior is different here ?

Gilles

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 320359] digiKam should show which directoriess scanning during first run when adding collections

Gilles Caulier-4
In reply to this post by DrSlony-4
https://bugs.kde.org/show_bug.cgi?id=320359

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|digiKam should show which   |digiKam should show which
                   |files it's scanning during  |directoriess scanning
                   |first run when adding       |during first run when
                   |collections                 |adding collections

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 320359] digiKam should show which directories are scanned during start-up when adding collections after database deletion

Gilles Caulier-4
In reply to this post by DrSlony-4
https://bugs.kde.org/show_bug.cgi?id=320359

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|digiKam should show which   |digiKam should show which
                   |directoriess scanning       |directories are scanned
                   |during first run when       |during start-up when adding
                   |adding collections          |collections after database
                   |                            |deletion

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 320359] SCAN : digiKam should show which directories are scanned during start-up when adding collections after database deletion

Gilles Caulier-4
In reply to this post by DrSlony-4
https://bugs.kde.org/show_bug.cgi?id=320359

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|setup                       |Database
            Summary|digiKam should show which   |SCAN : digiKam should show
                   |directories are scanned     |which directories are
                   |during start-up when adding |scanned during start-up
                   |collections after database  |when adding collections
                   |deletion                    |after database deletion

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 320359] SCAN : digiKam should show which directories are scanned during start-up when adding collections after database deletion

Gilles Caulier-4
In reply to this post by DrSlony-4
https://bugs.kde.org/show_bug.cgi?id=320359

--- Comment #5 from Gilles Caulier <[hidden email]> ---
Maik,

For this one i propose to drop DProgressDlg from scna at starup process and to
remove MISC option about to show or not splascreen.

This want mean to always show splashscreen at startup and to patch it to show
current album scanned (currently is show only a generic message).

Note : DProgressDlg still also used in AdvanceRename tool but this one must be
ported to ProgressManager. After that, DProgressDlg can be definitively removed
from digiKam core.

Gilles

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 320359] SCAN : digiKam should show which directories are scanned during start-up when adding collections after database deletion

Gilles Caulier-4
In reply to this post by DrSlony-4
https://bugs.kde.org/show_bug.cgi?id=320359

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Database                    |Database-Scan

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 320359] SCAN : digiKam should show which directories are scanned during start-up when adding collections after database deletion

bugzilla_noreply
In reply to this post by DrSlony-4
https://bugs.kde.org/show_bug.cgi?id=320359

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #6 from [hidden email] ---
With digiKam 5.0.0, if I UNSELECT "Show splash screen at startup" in Configure
digiKam/Miscellaneous, there's no progress dialog visible.
Only by looking at console, one can figure out that required files are loading.
And after digiKam finally starts, there just appears a dialog, stating,
"Process is done".

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 320359] SCAN : digiKam should show which directories are scanned during start-up when adding collections after database deletion

bugzilla_noreply
In reply to this post by DrSlony-4
https://bugs.kde.org/show_bug.cgi?id=320359

--- Comment #7 from [hidden email] ---
Git commit 27a7e771060fa8f6d40461b9444bb4496487f102 by Gilles Caulier.
Committed on 17/07/2016 at 15:13.
Pushed by cgilles into branch 'master'.

Restore broken splashscreen animation while database process at startup.
Related: bug 281959

M  +20   -13   libs/widgets/common/dsplashscreen.cpp

http://commits.kde.org/digikam/27a7e771060fa8f6d40461b9444bb4496487f102

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 320359] SCAN : digiKam should show which directories are scanned during start-up when adding collections after database deletion

bugzilla_noreply
In reply to this post by DrSlony-4
https://bugs.kde.org/show_bug.cgi?id=320359

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/4047edd1532b129fe895a8c
                   |                            |4b0f810adc92d2f7f
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.1.0
             Status|CONFIRMED                   |RESOLVED

--- Comment #8 from [hidden email] ---
Git commit 4047edd1532b129fe895a8c4b0f810adc92d2f7f by Gilles Caulier.
Committed on 18/07/2016 at 12:48.
Pushed by cgilles into branch 'master'.

Improve digiKam startup time :
------------------------------

- remove splashscreen from ScanController. Always use a progress dialog instead
in all cases.

- We will always require a progress dialog at first init to scan albums.
All details are given in dialog about which album is scanned and how many items
still in the queue to process.

- The splashscreen always arrive after the progress dialog. Splash show final
stage to init GUI

- When GUI is displayed, always start a delayed find new item process through
progress manager. This is done in background.
Progress info is given in progress manager as well. While scan for new item is
running in a separated thread,
user can start to work with GUI, even if all items are not yet catalogued in
database.
Related: bug 281959
FIXED-IN: 5.1.0

M  +18   -29   app/main/digikamapp.cpp
M  +9    -42   libs/database/utils/scancontroller.cpp
M  +2    -3    libs/database/utils/scancontroller.h
M  +4    -2    utilities/maintenance/maintenancetool.h

http://commits.kde.org/digikam/4047edd1532b129fe895a8c4b0f810adc92d2f7f

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 320359] SCAN : digiKam should show which directories are scanned during start-up when adding collections after database deletion

bugzilla_noreply
In reply to this post by DrSlony-4
https://bugs.kde.org/show_bug.cgi?id=320359

--- Comment #9 from [hidden email] ---
Git commit 4f270e01d50f31a4a3990aa9b0ad12629374fb35 by Gilles Caulier.
Committed on 19/07/2016 at 19:34.
Pushed by cgilles into branch 'master'.

restore older scan for new items at startup option
Related: bug 281959

M  +6    -2    app/main/digikamapp.cpp
M  +2    -1    libs/settings/applicationsettings.cpp
M  +3    -0    libs/settings/applicationsettings.h
M  +10   -0    libs/settings/applicationsettings_miscs.cpp
M  +3    -0    libs/settings/applicationsettings_p.cpp
M  +1    -0    libs/settings/applicationsettings_p.h
M  +7    -0    utilities/setup/setupmisc.cpp

http://commits.kde.org/digikam/4f270e01d50f31a4a3990aa9b0ad12629374fb35

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel