Moving this bug here from http://darktable.org/redmine/
Using darktable 1.0+808~g2529247 from master, which uses GPhoto2 for import:
The directory structure of my camera as in the attached screenshot:
where only 105_PANA contains images, as the ones in 104_PANA have been deleted, but the card has not been formatted since.
(This scenario should™ be fairly easy to recreate on any file system.)
When I now want to import images from my card reader (or camera via USB), the card/camera is recognised, but the import dialogue shows no images that can be imported.
Screenshots: (sorry, don't have the files here any more)