[Pkg-xfce-devel] Bug#572758: Bug#572758: Bug#572758: thunar: files with an unknown file extension are shown as zip archive

Yves-Alexis Perez corsac at debian.org
Sat Mar 6 14:13:37 UTC 2010


reassign 572758 libgtk2.0-0
thanks

On sam., 2010-03-06 at 14:59 +0100, Holger Wansing wrote:
> Hi,
> 
> Yves-Alexis Perez <corsac at debian.org> wrote:
> > On sam., 2010-03-06 at 13:18 +0100, Holger Wansing wrote:
> > > Package: thunar
> > > Severity: minor
> > > Version: 0.9.0
> > > 
> > > Files with an unknown file extension are shown beeing a zip archive.
> > > 
> > > (I recognized this first on the desktop (a k3b project file lying on
> > > my desktop was displayed as zip archive); I think the functionality
> > > belongs to thunar? The problem is the same inside thunar and on the
> > > desktop.)
> > 
> > Hem, that's definitely not something I can reproduce. Could you provide
> > such a file?
> 
> Sure. Is attached. It is an K3B project file, containing info about a
> data DVD to burn.

Looks like a glib/gio problem:

corsac at hidalgo: file moonlight-1.k3b
moonlight-1.k3b: data
corsac at hidalgo: file -i moonlight-1.k3b
moonlight-1.k3b: application/octet-stream; charset=binary

So it's definitely not a zip file.

corsac at hidalgo: gvfs-info moonlight-1.k3b
display name: moonlight-1.k3b
edit name: moonlight-1.k3b
name: moonlight-1.k3b
type: regular
size:  1128
attributes:
  standard::type: 1
  standard::name: moonlight-1.k3b
  standard::display-name: moonlight-1.k3b
  standard::edit-name: moonlight-1.k3b
  standard::copy-name: moonlight-1.k3b
  standard::icon: application-zip, gnome-mime-application-zip,
package-x-generic, application-x-generic
  standard::content-type: application/zip
  standard::fast-content-type: application/octet-stream
  standard::size: 1128
  standard::allocated-size: 4096

But still, gvfs thinks it's indeed a zip file. As Thunar relies on that,
it “correctly” display it like that.
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20100306/32ad0935/attachment.pgp>


More information about the Pkg-xfce-devel mailing list