"create archive" directory selection not working correctly

Bug #230044 reported by DaveAbrahams
4
Affects Status Importance Assigned to Milestone
File Roller
Fix Released
Low
file-roller (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

I am using Hardy with all the latest updates.

This problem has persisted through several Ubuntu releases.
I know I've seen it in other places than nautilus. Perhaps file-roller?

To reproduce:

1. Right-click on a folder that is not a subdirectory of /tmp in Nautilus and choose "create archive"
2. choose "Other..." from the location menu.
3. Type "/tmp" <return>.
4. Click "create"

The archive will be created in the directory that contains the folder you clicked, instead of in /tmp

Related branches

Revision history for this message
Marcel Stimberg (marcelstimberg) wrote :

The handling of the "Other..." location seems to be kind of broken: If I enter "/tmp" (like the OP), the archive is created in the current folder. If I go to "file system" and double click on tmp (i.e. change into the directory), the archive is correctly created in /tmp. If I go to "file system" and only select tmp (i.e. no double click), file-roller tries to create the archive in /, failing due to the insufficient permissions.
Strangely, in all cases "tmp" is displayed as the location in the initial "create archive" dialog...

Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue is still there in intrepid

Changed in file-roller:
assignee: nobody → desktop-bugs
importance: Undecided → Low
Revision history for this message
Marcel Stimberg (marcelstimberg) wrote :

I filed a bug upstream and attached a patch that should fix the issue. The patch (also attached here) should also work for the current Ubuntu version.

Changed in fileroller:
status: Unknown → New
Changed in fileroller:
status: New → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug has been fixed upstream now

Changed in file-roller:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package file-roller - 2.23.6-0ubuntu1

---------------
file-roller (2.23.6-0ubuntu1) intrepid; urgency=low

  * New upstream version:
    Bugs fixed:
    - #350640: sending an empty folder doesn't work. (lp: #55603)
    - #548020: "create archive" directory selection not working correctly.
        (lp: #230044)
    - #546698: file-roller-2.23.1/2.23.5 removes r/x bit for anyone but
               root from / (lp: #250021)
    - #547733: 7-zip tells about invalid command line
    - #547297: Crash reading zip/7za files with 7z version 4.55.
    - #546978: wrong icon for folders.
    - #547017: segfault in "Open with".
    - #546505: Debian packages not supported anymore. (lp: #258499)
    - #542424: Tar.bz2 archives create uncompressed archive files.
    - #546541: Typo and little errors in documentation.
    - LP#26662: file-roller fails to open .Z files. (lp: #26662)
  * debian/file-roller.mime:
    - new version update
  * debian/patches/70_autoconf.patch:
    - new version update

 -- Sebastien Bacher <email address hidden> Tue, 19 Aug 2008 09:37:02 +0200

Changed in file-roller:
status: Fix Committed → Fix Released
Changed in file-roller:
importance: Unknown → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.