[Bug 253418] New: No application for opening ZIP files is configured
https://bugzilla.novell.com/show_bug.cgi?id=253418 Summary: No application for opening ZIP files is configured Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Firefox AssignedTo: bnc-team-mozilla@forge.provo.novell.com ReportedBy: uli.2001@gmx.de QAContact: qa@suse.de When I click on a ZIP file (for example, one of the links on http://aktuell.de.selfhtml.org/extras/download.shtml ), Firefox does not have a default application to open it. When I download it to my harddisk and click on "open" for that ZIP file in Firefox's download manager after the download has finished, then the file is opened with Ark (I am using KDE). This behavior seems strange to me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 wolfgang@rosenauer.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sbrabec@novell.com ------- Comment #1 from wolfgang@rosenauer.org 2007-03-11 11:35 MST ------- For me Firefox recommends "file-roller" which is a Gnome application. I guess you don't have it installed and therefore no application is found. As background information: Firefox (as a GTK2/Gnome) application uses different approaches to get applications for mime-types. First it's using /etc/mime.types and /etc/mailcap, afterwards your own mime.types and mailcap and in the end Gnome VFS. In my case it finds file-roller through Gnome VFS. So it's a local configuration issue while I second the opinion that the preconfiguration might be not good enough. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 ------- Comment #2 from sbrabec@novell.com 2007-03-12 03:36 MST ------- GNOME use following way: - Use $datadir/applications/defaults.list and defaults from home directory ~/.local/... - If there is no application, use any application declaring support for selected MIME type. It is not flexible enough, so SuSE auto-generates defaults.list from $sysconfdir/gnome_defaults.conf. I am not sure, which parts are used by firefox. Yes, it is possible that file-roller is not installed. If it is (and SuSEconfig was called), then it needs further research. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 ------- Comment #3 from wolfgang@rosenauer.org 2007-03-12 03:54 MST ------- (In reply to comment #2)
I am not sure, which parts are used by firefox.
Firefox uses stuff like gnome_vfs_mime_get_default_application() directly.
Yes, it is possible that file-roller is not installed. If it is (and SuSEconfig was called), then it needs further research.
What I wonder is, why gnome-vfs only knows about file-roller as zip handler. If it's the only GTK application to open ZIP files why is there no fallback to any other installed application which supports ZIP? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 ------- Comment #4 from uli.2001@gmx.de 2007-03-12 04:35 MST ------- file-roller is not installed. As mentioned above, Ark is used once the download is finished and I click on "Open" next to the entry of the file in the "Downloads" window of Firefox. So somehow Firefox partly knows how to open ZIP files on my system, which is strange. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 ------- Comment #5 from wolfgang@rosenauer.org 2007-03-12 05:12 MST ------- (In reply to comment #4)
As mentioned above, Ark is used once the download is finished and I click on "Open" next to the entry of the file in the "Downloads" window of Firefox.
So somehow Firefox partly knows how to open ZIP files on my system, which is strange.
I haven't understood that it works from Firefox' download manager. It seems like Firefox is using gnome_vfs_mime_get_default_application() to find default applications for mime-types but if you try to open a file from the download manager it calls gnome_url_show() on that file. Stanislav, would this make sense? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 ------- Comment #6 from sbrabec@novell.com 2007-03-13 06:08 MST ------- gnome-vfs offers any application defining proper MIME type. gnome_defaults.conf only defines preference of GNOME applications. So it is OK to open it in Ark, even in GNOME, if file-roller is not installed. But there is a difference between files on web and files on disk. Files on disk are recognized by suffix or context analysis (depends on vfs call) using shared-mime-info database. I think that firefox believes MIME type announced by the web server for files on web (I guess this is a difference to Windows). So please review the header of the file and look for MIME info there. If it is correct MIME type listed in the ark.desktop and IANA standards, it is our bug. If server provides bd MIME type, it is a server side bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 ------- Comment #7 from wolfgang@rosenauer.org 2007-03-13 06:26 MST ------- The example in the initial report gives: Content-Type: application/zip
I think that firefox believes MIME type announced by the web server for files on web (I guess this is a difference to Windows).
Not necessarily. Firefox uses content-type and extension to find the application. The preferred way is content-type but if content-type and extension doesn't match it might be different. So in that example the content-type and the extension fits perfectly application/zip but we still get a different behaviour. I don't object that Firefox might have a bug but I suspect that the gnome functions don't work properly in that case. A small testcase which shows the output of gnome_vfs_mime_get_default_application() (with application/zip) and checks what gnome_url_show() does with a *.zip file might help. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 ------- Comment #8 from wolfgang@rosenauer.org 2007-03-13 06:49 MST ------- Created an attachment (id=124035) --> (https://bugzilla.novell.com/attachment.cgi?id=124035&action=view) testcase #1 This is a small binary which searches the default handler for application/zip with gnome_vfs_mime_get_default_application Reporter, please run it on your system and attach the output. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 wolfgang@rosenauer.org changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #124035|0 |1 is obsolete| | ------- Comment #9 from wolfgang@rosenauer.org 2007-03-13 06:55 MST ------- (From update of attachment 124035) hum, this is a x86-64 version :-( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 ------- Comment #10 from wolfgang@rosenauer.org 2007-03-13 07:00 MST ------- Created an attachment (id=124040) --> (https://bugzilla.novell.com/attachment.cgi?id=124040&action=view) gnome-vfs This is the 32bit version. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 ------- Comment #11 from sbrabec@novell.com 2007-03-13 07:07 MST ------- Testcase WWW: http://pack.suse.cz/sbrabec/bug253418/ In openSUSE 10.2 + GNOME:UNSTABLE and epiphany it works perfectly - opens file roller by one click I cannot test firefox. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 wolfgang@rosenauer.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |uli.2001@gmx.de ------- Comment #12 from wolfgang@rosenauer.org 2007-03-13 07:11 MST ------- And then please run "gnome-open ZIPFILE" and see what happens. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 ------- Comment #13 from wolfgang@rosenauer.org 2007-03-13 07:14 MST ------- (In reply to comment #11)
Testcase WWW: http://pack.suse.cz/sbrabec/bug253418/
In openSUSE 10.2 + GNOME:UNSTABLE and epiphany it works perfectly - opens file roller by one click
I cannot test firefox.
So does Firefox. But this is not in question. The question is for the case if file-roller is not installed. What happens then? According to the report Firefox doesn't present a default application but it opens the zip after it has been downloaded. Therefore one of my comments above which says that gnome-url-show() can find a default application but gnome_vfs_mime_get_default_application() not. That's what I want to test/prove. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 ------- Comment #14 from sbrabec@novell.com 2007-03-13 09:14 MST ------- gnome-vfs selects application which declares this MIME type support. If any such application is listed in /opt/gnome/share/applications/defaults.list, then it is used, if not, semi-random one is selected. If file roller is not installed, it will be most probably ark. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 uli.2001@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|uli.2001@gmx.de | ------- Comment #15 from uli.2001@gmx.de 2007-03-14 02:46 MST -------
./bug-253418_gnome-vfs No application found for application/zip
gnome-open selfhtml812.zip Fehler beim Anzeigen einer URL: Mit diesem Speicherort ist keine Vorgabeaktion verknüpft.
(German, roughly: Error when showing a URL: no default action linked to this object) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 wolfgang@rosenauer.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wolfgang@rosenauer.org AssignedTo|bnc-team- |bnc-team-screening@forge.provo.novell.com |mozilla@forge.provo.novell.c| |om | Component|Firefox |KDE ------- Comment #16 from wolfgang@rosenauer.org 2007-03-14 04:10 MST ------- Ok, what we found now is that Gnome doesn't know any handler for application/zip on your system. The reason why ark is still used if you open inside Firefox is, that Firefox calls "desktop-launch" to open the zip file. desktop-launch is using KDE helpers to open the file. So this is at least no bug in Firefox. There is at least a bug in the ark desktop-file since it defines application/x-zip but no application/zip in its MimeType tag. (Reassigning to KDE to fix that) If that would be fixed I wonder if gnome-vfs would find ark as mime-handler since it lives in KDE's desktop file location? It should IMHO. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kde-maintainers@suse.de |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418 ------- Comment #17 from sbrabec@novell.com 2007-03-14 09:34 MST ------- application/zip ise the primary MIME type for zip archives in both IANA and freedesktop, so it should be definitely recognized. http://www.iana.org/assignments/media-types/application/zip -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253418
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=253418#c18
Stephan Binner
participants (1)
-
bugzilla_noreply@novell.com