desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #88272
[Bug 237543] Re: file-roller delete file in certain circumstances
** Description changed:
Binary package hint: zip
- well i use the zip compression, but it may be found in others
+ 1) lsb_release -rd
+ Description: Ubuntu Vivid Vervet (development branch)
+ Release: 15.04
- Steps to reproduce the bug:
+ 2) apt-cache policy file-roller
+ file-roller:
+ Installed: 3.12.2-0ubuntu1
+ Candidate: 3.12.2-0ubuntu1
+ Version table:
+ *** 3.12.2-0ubuntu1 0
+ 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
+ 100 /var/lib/dpkg/status
- 1- Create a folder called example, put a few files on it and one .zip file called example.zip
- 2- Choose all the files on the folder with nautilus and click on "Create Archive".
- 3- The Archive name per default is "example" now select .zip as the extension of the new .zip file
- 4- A Question is asked "The archive is already present. Do you want to overwrite it?" Select yes.
- 5- An error is thrown: "An error occurred while adding files to the archive. You can't add an archive to itself."
+ 3) What is expected to happen when one creates a an empty file on the Desktop:
+ test.txt
- Expected Results:
+ Highlight test.txt > secondary click > Compress... > Filename: example > in drop down choose .ZIP > Location: Desktop > Create > Close > highlight both test.txt and example.zip > secondary click > Compress... > Filename: example > in drop down choose .ZIP > Location: Desktop > Create > a window pops up noting:
+ Archive Manager
+ A file named "example.zip" already exists. Do you want to replace it?
+ The file already exists in "Desktop". Replacing it will overwrite its contents.
- Nothing, no file is compressed, the folder keeps equal
+ Click Replace and no files are deleted.
- Actual Results:
+ 4) What happens instead is a dialog pops up noting:
+ Compress
+ An error occurred while adding files to the archive.
+ You can't add an archive to itself.
- The old example.zip is deleted
+ Click Close and one will notice example.zip has been permanently
+ deleted.
** Tags added: hardy vivid
** Changed in: file-roller (Ubuntu)
Assignee: Ubuntu Desktop Bugs (desktop-bugs) => (unassigned)
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to file-roller in Ubuntu.
https://bugs.launchpad.net/bugs/237543
Title:
file-roller delete file in certain circumstances
Status in File Roller:
New
Status in file-roller package in Ubuntu:
Triaged
Bug description:
Binary package hint: zip
1) lsb_release -rd
Description: Ubuntu Vivid Vervet (development branch)
Release: 15.04
2) apt-cache policy file-roller
file-roller:
Installed: 3.12.2-0ubuntu1
Candidate: 3.12.2-0ubuntu1
Version table:
*** 3.12.2-0ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
100 /var/lib/dpkg/status
3) What is expected to happen when one creates a an empty file on the Desktop:
test.txt
Highlight test.txt > secondary click > Compress... > Filename: example > in drop down choose .ZIP > Location: Desktop > Create > Close > highlight both test.txt and example.zip > secondary click > Compress... > Filename: example > in drop down choose .ZIP > Location: Desktop > Create > a window pops up noting:
Archive Manager
A file named "example.zip" already exists. Do you want to replace it?
The file already exists in "Desktop". Replacing it will overwrite its contents.
Click Replace and no files are deleted.
4) What happens instead is a dialog pops up noting:
Compress
An error occurred while adding files to the archive.
You can't add an archive to itself.
Click Close and one will notice example.zip has been permanently
deleted.
To manage notifications about this bug go to:
https://bugs.launchpad.net/file-roller/+bug/237543/+subscriptions