Skip to content

Images imported via command line disappear from lighttable #20106

@dtorop

Description

@dtorop

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

Describe the bug

On a clean install, images imported via command line parameters are not visible in lighttable view. If a folder of images is specified on the command line, the images initially appear, but opening an image in darkroom view makes it disappear on return the lightable view. If individual images files are specified on the command line, they are not visible in lighttable at all. In either case, resetting the "collection filters" module makes all the imported images visible.

Steps to reproduce

  1. Start a clean install of darktable with a command line parameter of a folder of images
  2. Verify that these images are imported and visible in lighttable view
  3. Double-click on an image to bring it into darkroom view
  4. Type l to return to lighttable view
  5. Verify that the image is no longer visible
  6. As you wish, repeat steps 3 and 4 with other images and note that they disappear
  7. Click the reset button on the "collection filters" module
  8. Verify that the image is now visible
  9. Repeat steps 3 and 4 with images and note that they now no longer disappear

If one only performs steps 1-6 (and does not reset the "collection filters" module), one can produce further trouble by:

  1. Quit then restart darktable
  2. Note that no images are visible in the filemanager
  3. Reset the "collection filters" module
  4. Note that all imported images are now visible

Furthermore: If one specifies the image paths on the command line rather than an image folder, darktable will start with no images visible in lighttable. Again, resetting the "collection filters" module will make the imported images visible.

Expected behavior

Imported images should be visible in lighttable and not disappear when they are opened in the darkroom view.

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

self compiled

darktable version

5.1.0+2073~g161c75be3e

What OS are you using?

Linux

What is the version of your OS?

Debian forky/sid

Describe your system

Wayland 1.47, Plasma/KWin 6.5.4, GTK 2.24.33, 32GB RAM, 1920x1080 display

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

GeForce RTX 3080 Mobile, 8GB, nvidia driver 550.163.01

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

I've noticed this behavior since at least last summer, but haven't been able to replicate until now. I also observed something similar in someone using darktable 5.2.1 on MacOS.

I've tested this using a range of raw images from Fujifilm, Canon, and Nikon cameras.

Starting a fresh install of darktable with no image names on the command line, then importing the images, does not result in this behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: DAMmanaging files, collections, archiving, metadata, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions