To make "Extract Here" work not only in the current window but also windows an archive file was dragged to via right mouse button a change is required. The command line argument --extract-here should not be used at all since it makes File-Roller ignore the --extract-to argument. And since $folder always contains the desired directory, it should always be used instead of $(pwd). The required change is attached to this report.
Created attachment 2833 Make "Extract Here" for File-Roller work everywhere
Now the problem arises that archives containing files directly in the root clutter them all around the current directory. That’s what --extract-here is needed for but it cannot be used here…
If extract-here doesn't work well with fileroller than it should simply be removed.
(In reply to comment #3) > If extract-here doesn't work well with fileroller than it should simply be > removed. Please keep it since it’s one of the most used archivers out there. In fact, I’ve contacted the author a while back and he told me that File-Roller indeed currently cannot do this but it should not be to hard to add it to a future release.
Don't take me wrong, I didn't want to say to remove file-roler, only the action --extract-to.
extract-here :)
(In reply to comment #6) > extract-here :) I see. :-) But in fact, we need both arguments. We need --extract-here to let File-Roller automatically create a directory named after the archive if necessary (obviously) and we also need --extract-to to allow File-Roller to extract into something else but $PWD (other windows here). But currently using both does not work like that. Thus, this is something which can only be fixed in File-Roller. Thinking about it, this report should thus be WONTFIX now. ;-)
Yes, this is a bug in file-roller. --extract-here always assumes $PWD to be used as the target dir. Overriding this with --extract-to=other/target/dir does not work. Could someone please forward this to the GNOME bugzilla? I'm marking it
... as invalid. ;)