Bug 431107 - Import USB-Storage and Card reader greyed out and not usable
Summary: Import USB-Storage and Card reader greyed out and not usable
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Import-WIA (show other bugs)
Version: 7.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
: 433588 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-01-03 14:22 UTC by mail
Modified: 2022-02-04 13:00 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mail 2021-01-03 14:22:17 UTC
I am using the 7.2.0 beta 2 of DigiKam and it's realy great. But importing does not work as expected. Even if my exFat formattet card is recognized by windows and accessible via Explorer, digicams options for importing from usb storage or card reader are greyed out.


STEPS TO REPRODUCE
1. Insert SD card to card reader
2. try to import: menu -> iport -> 

OBSERVED RESULT
see usb storage and card reader are greyed out

EXPECTED RESULT
importing from usb device (card reader) should work


SOFTWARE/OS VERSIONS
Windows: 10
Comment 1 Maik Qualmann 2021-01-03 14:29:30 UTC
The menu items for importing are only active in the Album View (left sidebar Album tab).

Maik
Comment 2 Maik Qualmann 2021-01-03 15:10:05 UTC
It is possible that the card reader is not recognized by our Solid components that we use in the background for these things. Unfortunately, Solid does not fully support platforms other than Linux. So far I haven't had any problems with USB devices and card readers under Windows. The DebugView output may help us when digiKam is running and you plug in a card reader. Description of the DebugView output here: https://www.digikam.org/contribute/

Maik
Comment 3 Maik Qualmann 2021-01-03 15:20:40 UTC
Git commit 4a85e80d0dfebe81f5ed37631048e0a8b67232b0 by Maik Qualmann.
Committed on 03/01/2021 at 15:19.
Pushed by mqualmann into branch 'master'.

add images and add folder action always possible

M  +0    -6    core/app/main/digikamapp.cpp
M  +0    -1    core/app/main/digikamapp_setup.cpp

https://invent.kde.org/graphics/digikam/commit/4a85e80d0dfebe81f5ed37631048e0a8b67232b0
Comment 4 mail 2021-01-03 15:48:23 UTC
(In reply to Maik Qualmann from comment #2)
> It is possible that the card reader is not recognized by our Solid
> components that we use in the background for these things. Unfortunately,
> Solid does not fully support platforms other than Linux. So far I haven't
> had any problems with USB devices and card readers under Windows. The
> DebugView output may help us when digiKam is running and you plug in a card
> reader. Description of the DebugView output here:
> https://www.digikam.org/contribute/
> 
> Maik

Thanks for your comment. I disconnected the card reader after digicam was launched and reconnected it again. Now, the option to import from usb card reader is working. It would be really nice, if i don't have to disconnect my card reader after digikam was started?! Maybe there could be an initial search on card readers if digicam is started?
Comment 5 Maik Qualmann 2021-01-03 16:03:00 UTC
Hmm, digiKam is already looking for a card reader at the start. If you now close digiKam and restart it, is the card reader not available?

Maik
Comment 6 caulier.gilles 2021-01-08 16:05:52 UTC
Git commit c3077451a517fb160e0e25a9991a279948610500 by Gilles Caulier.
Committed on 08/01/2021 at 15:58.
Pushed by cgilles into branch 'master'.

Add new dialog with all devices detected by KF5::Solid hardware interface.
This will allow to investiguate about missing device detections, or wrong device types assignments in Solid interface, especially under Windows and macOS.
Related: bug 393416, bug 379970, bug 381729, bug 398166, bug 412466

M  +2    -1    core/app/main/digikamui5.rc
M  +2    -0    core/libs/dialogs/CMakeLists.txt
A  +327  -0    core/libs/dialogs/solidhardwaredlg.cpp     [License: GPL (v2+)]
A  +57   -0    core/libs/dialogs/solidhardwaredlg.h     [License: GPL (v2+)]
M  +11   -0    core/libs/widgets/mainview/dxmlguiwindow.cpp
M  +1    -0    core/libs/widgets/mainview/dxmlguiwindow.h
M  +2    -1    core/showfoto/main/showfotoui5.rc
M  +12   -0    core/tests/miscs/CMakeLists.txt
A  +41   -0    core/tests/miscs/solidhardware.cpp     [License: GPL (v2+)]
M  +2    -1    core/utilities/imageeditor/main/imageeditorui5.rc
M  +3    -1    core/utilities/import/main/importui5.rc
M  +2    -1    core/utilities/lighttable/lighttablewindowui5.rc
M  +2    -1    core/utilities/queuemanager/main/queuemgrwindowui5.rc

https://invent.kde.org/graphics/digikam/commit/c3077451a517fb160e0e25a9991a279948610500
Comment 7 caulier.gilles 2021-01-09 19:23:21 UTC
Git commit 1d69260946da53b92067105224468723482e2f8c by Gilles Caulier.
Committed on 09/01/2021 at 19:20.
Pushed by cgilles into branch 'master'.

Solid Hardware resume dialog. Use real tree-view to display list of devices and properties.
Implement search and copy to clipboard for hacking purpose and help end users to report problem in bug files.
Add Refresh button to list new hot-plugged hardwares.
Related: bug 393416, bug 379970, bug 381729, bug 398166, bug 412466

M  +171  -183  core/libs/dialogs/solidhardwaredlg.cpp
M  +2    -0    core/libs/dialogs/solidhardwaredlg.h

https://invent.kde.org/graphics/digikam/commit/1d69260946da53b92067105224468723482e2f8c
Comment 8 caulier.gilles 2021-01-10 16:10:18 UTC
Git commit cdee9fb951c3f1b3aa354535174eb7c232a241eb by Gilles Caulier.
Committed on 10/01/2021 at 16:02.
Pushed by cgilles into branch 'master'.

Solid info dialog: add new tab with hotplug device events.
With this kind of tool, we can idenitfy quickly which device with properties is plug/unplug and detected by Solid framework.
As exemple, in this screenshoot, see my Iphone 7 connected and disconnected from USB port: https://i.imgur.com/dfL1Grs.png
Of course, if nothing happen in this view, this want mean that device is not recognized at all from Solid framework,
and end-user need to report this problem to Solid team.
Related: bug 393416, bug 379970, bug 381729, bug 398166, bug 412466

M  +14   -4    core/libs/dialogs/infodlg.cpp
M  +5    -4    core/libs/dialogs/infodlg.h
M  +96   -3    core/libs/dialogs/solidhardwaredlg.cpp
M  +3    -0    core/libs/dialogs/solidhardwaredlg.h

https://invent.kde.org/graphics/digikam/commit/cdee9fb951c3f1b3aa354535174eb7c232a241eb
Comment 9 Maik Qualmann 2021-02-25 15:05:38 UTC
*** Bug 433588 has been marked as a duplicate of this bug. ***
Comment 10 vaarticus 2021-02-25 15:47:33 UTC
Confirmed that the card reader is not presenting inserted media if opened prior to digiKam. Inserting and removing SDCard into reader has no effect. However, removing and re-inserting the card reader while digiKam is open, the SD Card volume does appear in the import from memory card list. 

This behavior is only associated with my memory card reader. Other connected volumes (SDDs, etc) are reading fine upon opening of digiKam.
Comment 11 Maik Qualmann 2021-02-25 15:55:01 UTC
There is a new hardware dialog under "Help". The devices and drives that we can recognize via the Solid framework are listed there. In the event of an error, is the drive in the list?

Maik
Comment 12 Maik Qualmann 2021-02-25 15:57:11 UTC
This hardware dialog is only available in the release candidate of digiKam-7.2.0.

https://files.kde.org/digikam/

Maik
Comment 13 vaarticus 2021-02-25 16:31:29 UTC
I downloaded 7.2.0 and it's working fine.  The SDcard volume is detected when opening digiKam as I expect it to.
Comment 14 Maik Qualmann 2021-02-25 19:57:48 UTC
So the problem is solved with digiKam-7.2.0?

Maik
Comment 15 vaarticus 2021-02-25 20:12:15 UTC
(In reply to Maik Qualmann from comment #14)
> So the problem is solved with digiKam-7.2.0?

I can only confirm that my problem, which you merged with this one as a duplicate, was solved with the update to RC 7.2.0. 

1.  7.1.0 --> Wasn't seeing my SDcard in the card reader unless I unplugged and re-plugged in the card reader. 

2. Updated to 7.2.0 per your response

3. It's been reading my SDCard fine and I haven't had to unplug the reader to get it to work. I have removed and re-inserted the SDcard several times and it continues to read it.