Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command line argument --select file1 file2 opens two caja windows even though files are in same directory #1547

Open
damonlynch opened this issue Aug 20, 2021 · 0 comments

Comments

@damonlynch
Copy link

This issue is a feature enhancement for the new --select command line switch introduced in version 1.26.

Use cases

caja --select file1 file2 does not open one caja window with both files selected, even though both file1 and file2 are in the same directory. It instead opens two separate caja windows, with file1 selected in one window, and file2 selected in another. The same issue applies to more than two files, obviously — for N files, there will be N caja windows.

Desired behavior

caja --select file1 file2 file3... fileN should open only as many windows as needed to display the files. Because all the listed files may not be in the same directory, caja should determine which files are in the same directory and open the minimum number of caja windows necessary to display and select the files. Incidentally, this desired behavior is currently found in both KDE's dolphin and Kylin's peony (very latest versions of each tested).

Benefits of the solution

The --select command becomes more usable when more than one file is selected.

Possible drawbacks

I am unaware of any workflow in which opening multiple windows to select files from the same directory would benefit the user, but comments or concerns I have not thought of are of course welcome.

See also

The same issue has been filed for Nautilus: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1955

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant