Skip to content

Improve handling of images from multiple directories #299

Open
@karlch

Description

@karlch

In principle vimiv supports opening images from multiple directories in all sorts of ways (directly upon startup, via :open, via marks, via tags, ...), but the behaviour is then often inconsistent or buggy. Here are some of the issues:

  • the library display the directory of the first image, not all images
  • only images in the directory of the first image are tracked by the working directory handler. Therefore deleting/changing any of the other images is not communicated back to vimiv.

The expected behaviour of the library is up for discussion. The initial design was meant as a fast browser to search the filesystem and open images similar to using ranger. Open questions are:

  • what should the library display if images from multiple directories are opened?
  • where should going up a directory (i.e. :scroll left or press h) go in this case?

Obviously all opened images should be tracked by the working directory handler. The how is currently not clear though. One option proposed by @jcjgraf is to use a virtual directory which contains all opened images and track this via the working directory handler. We would need to take a look at the complexity of this, possibly it could also solve the library inconsistencies if placed at a logical position in the file hierarchy.

Branched off from #293

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionTopic that is open for general discussion

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions