GNOME Bugzilla – Bug 771470
Sometimes right click -> compress keeps the compressed file in some parent dir in list view
Last modified: 2016-09-20 14:46:13 UTC
Resulting archives created by right click -> compress may be kept in some parent directory on list view. How to reproduce: 1. Enable List view 2. Application menu -> Preferences -> check 'Allow folders to be expanded' 3. Expand some non-empty directory (using the left-most arrow)-> select some file -> right click -> compress -> Give archive name -> Create Result: The resulting archive is created in the the top most parent directory that is shown in the view. Expected result: The archive should be placed in the same directory as the file that is compressed.
Created attachment 335650 [details] [review] files-view: use correct parent when compressing/decompressing We were using the view as the destination for compression and decompression. However, the parent of the files is not always the view. This is the case in list view when the "allow expand folder" setting is set and the selection is different than the root location of the view. To fix it, use a parent of one of the selected files, we assume all files has the same parent.
Attachment 335650 [details] pushed as a73a712 - files-view: use correct parent when compressing/decompressing