← Back to team overview

desktop-packages team mailing list archive

[Bug 237543] Re: file-roller delete file in certain circumstances

 

** Changed in: file-roller
       Status: New => Fix Released

-- 
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:
  Fix Released
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