Bug 334799

Summary: Import button on toolbar not activated after plugging in USB stick/memory card with photos
Product: [Applications] digikam Reporter: Michal Sylwester <msylwester>
Component: Import-UMSAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 4.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 5.4.0

Description Michal Sylwester 2014-05-15 09:01:30 UTC
Import button on toolbar is not activated after plugging in USB stick/memory card with photos. The appropriate menu entry is enabled as expected. If starting Digikam with USB stick already plugged in the button is enabled. Removing USB stick disables it as expected.

Reproducible: Always

Steps to Reproduce:
1. No USB stick/memory card attached to computer, import button is disabled
2. Connect USB stick/insert memory card into reader

Actual Results:  
Import button remains disabled

Expected Results:  
Import button becomes active

Workaround: restart Digikam or (much easier) use menu.
The button disables correctly after removing the storage.
I haven't tested direct camera connection.
Comment 1 caulier.gilles 2014-09-01 07:53:18 UTC
Michal,

Problem still here using last digiKam 4.2.0 ?

Gilles Caulier
Comment 2 Michal Sylwester 2014-09-01 08:11:24 UTC
Sorry, I have currently  no way to test this...
Comment 3 caulier.gilles 2016-07-06 16:12:18 UTC
This file still valid using last digiKam 5.0.0 ?

Gilles Caulier
Comment 4 caulier.gilles 2016-11-25 06:54:43 UTC
This problem still reproducible using last DK 5.4.0 bundle ?

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWlRJenM

Gilles Caulier
Comment 5 Michal Sylwester 2016-11-30 05:26:54 UTC
Yes, just tried with current sources.
Comment 6 Maik Qualmann 2016-11-30 20:20:21 UTC
Git commit 322a9414d1d985fcfcb80671441f5da1638ea900 by Maik Qualmann.
Committed on 30/11/2016 at 20:19.
Pushed by mqualmann into branch 'master'.

enable import button on toolbar when action is available
FIXED-IN: 5.4.0

M  +2    -3    NEWS
M  +2    -0    app/main/digikamapp.cpp

https://commits.kde.org/digikam/322a9414d1d985fcfcb80671441f5da1638ea900
Comment 7 Michal Sylwester 2016-12-02 05:27:54 UTC
Works perfect now - thanks!