Bug 338230

Summary: digiKam stops refreshing download progress after de-selecting pictures
Product: [Applications] digikam Reporter: nn.dm55
Component: Import-IconViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, tpr
Priority: NOR    
Version: 4.3.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.9.0
Sentry Crash Report:

Description nn.dm55 2014-08-13 01:52:12 UTC
I started to download pictures from my camera to my computer. While Digikam
was busy downloading the pictures, I accidentally clicked in the Import
window and then the statusbar said "No item selected (468 items)"

After that accidental click, there's no way to see the download progress
other than the shimmering digikam logo (on the top-right) which only
indicates that Digikam is still downloading from my camera.

Either Digikam should show download status when nothing is selected and
downloading is in progress or deselecting pictures shouldn't be allowed
while Digikam is downloading.

Reproducible: Always

Steps to Reproduce:
1. Plug in a USB camera
2. Start Digikam
3. Turn camera on
4. Import->USB PTP camera
5. Download->Download All
6. Select OK
7. Check Apply to All
8. Click Skip
9. Click in a spot below the green banner that says DCIM
   and outside of any selected pictures (green boxes)
Actual Results:  
Step #5: All the pictures turn green.
Step #8: The digikam.org logo starts shimmering. All of the Selection options under Edit are grayed out.

Step #9: deselects all pictures even though Download All is still in progress.

Then the status bar at the bottom of the dialog titled Powershot A3300 IS says "No items selected (468 items)" while digikam.org logo continues to shimmer.

Expected Results:  
Step #5: Pictures turn green
Step #8: Digikam logo shimmers
Step #9: Deselects pictures; status bar still shows download progress
When download finishes, show "No items selected (X items)" message like usual.

Alternatively:
Step #9: Do nothing. This may make people think the software is "broken" if it doesn't respond even though it may not make sense to allow selection here.

Qt: 4.8.5
KDE Development Platform: 4.11.5
Digikam Version: 3.5.0
OS: Linux (x86_64) release 3.11.10-17-desktop
Distro: OpenSUSE 13.1
Package: digikam-3.5.0-4.1.x86_64.rpm
Compiler: cc
Camera name: Canon Powershot A3300 IS
Comment 1 caulier.gilles 2014-08-14 09:47:18 UTC
Can you try to use last stable 4.2.0 release. Since 4.0.0, a lots of fixes have been introduced in Import tool.

Gilles Caulier
Comment 2 nn.dm55 2014-08-17 03:54:51 UTC
I can still reproduce this even with a somewhat newer Digikam 4.1.0 from the Tumbleweed repositories.

Qt: 4.8.6
KDE Development Platform: 4.13.3
digiKam: 4.1.0
Comment 3 nn.dm55 2014-08-18 05:53:59 UTC
This bug still occurs in digiKam 4.2.0 and 4.3.0.

The 4.3.0 version was commit 5694183 from git://anongit.kde.org/digikam-software-compilation

I downloaded 4.2.0 from http://download.kde.org/stable/digikam/digikam-4.2.0.tar.bz2

The digiKam 4.1.0 download I mentioned in my previous comment was digikam-4.1.0-6.3.x86_64 in the repository http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/
Comment 4 Maik Qualmann 2015-03-31 20:15:38 UTC
Git commit ccddc9fad87e266a688b0d23c9c7054425c6cc7f by Maik Qualmann.
Committed on 31/03/2015 at 20:10.
Pushed by mqualmann into branch 'master'.

ImportView is now disabled when images downloaded from the camera
Related: bug 345648
FIXED-IN: 4.9.0

M  +3    -1    NEWS
M  +2    -0    utilities/importui/main/importui.cpp

http://commits.kde.org/digikam/ccddc9fad87e266a688b0d23c9c7054425c6cc7f
Comment 5 caulier.gilles 2015-03-31 20:41:34 UTC
Git commit 18ee600f38227bb3e1a8e7b6f29c7c22ab694725 by Gilles Caulier.
Committed on 27/03/2015 at 10:24.
Pushed by cgilles into branch 'frameworks'.

backport commit #ccddc9fad87e266a688b0d23c9c7054425c6cc7f from git/master to frameworks branch
Related: bug 345648

M  +3    -1    utilities/importui/main/importui.cpp

http://commits.kde.org/digikam/18ee600f38227bb3e1a8e7b6f29c7c22ab694725