[Bug 456026] New: zip archive files not associated properly in Firefox

https://bugzilla.novell.com/show_bug.cgi?id=456026 Summary: zip archive files not associated properly in Firefox Product: openSUSE 11.1 Version: RC 1 Platform: i686 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Firefox AssignedTo: bnc-team-mozilla@forge.provo.novell.com ReportedBy: rschaffter@comcast.net QAContact: qa@suse.de Found By: Beta-Customer zip archives are not associated with Ark, but instead are associated with 'Wine Windows Program Loader'. Manually adding Ark to the association in Firefox' Preferences does not give it as an option when downloading a zip file and attempting to open one from the Downloads window. It is impossible to remove the association to Wine Windows Program Loader in Firefox' Preferences-clicking on the Application Details button in preferences shows only Firefox, and Ark once it has been manually added. As an aside, in 11.1 RC1, Zip archives are not associated with Ark in KDE 3.5, either, but are viewed within Konqueror. There was an association in 10.3, as there was an option in the right-click menu to open in Ark. I don't have an 11.0 box handy to check it there. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=456026 User wolfgang@rosenauer.org added comment https://bugzilla.novell.com/show_bug.cgi?id=456026#c1 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |rschaffter@comcast.net --- Comment #1 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2008-12-03 11:54:12 MST --- Please provide more information about the ZIP you wanted to open. I need to know the exact file extension _and_ which content-type the webserver was sending along for the file. So if it was from a public webserver please let us know the URL and if not you might get some useful information when running firefox after exporting export NSPR_LOG_MODULES=HelperAppService:5 and reproducing the issue and attach the console 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.

https://bugzilla.novell.com/show_bug.cgi?id=456026 User rschaffter@comcast.net added comment https://bugzilla.novell.com/show_bug.cgi?id=456026#c2 --- Comment #2 from Rod Schaffter <rschaffter@comcast.net> 2008-12-03 13:52:54 MST --- Hi Wolf, Starting with a fresh .Mozilla directory, there is initially no association for .zip files under Edit>Preferences>Applications. Clicking on a zip file link creates the association with Wine (curious, since wine isn't associated with windows binaries in KDE). Here are a couple of URLS: This is a 3d model; http://www.sharecg.com/v/30702/Poser/Celebration-08,-day-3--Elfette-dress-fo... This is a funny old graphic zipped: http://hobbes.nmsu.edu/download/pub/windows/deadwin.zip Attached is the requested log. I loaded up Firefox, downloaded a Zip file, and attempted to open it from the Downloads Window. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=456026 User rschaffter@comcast.net added comment https://bugzilla.novell.com/show_bug.cgi?id=456026#c3 --- Comment #3 from Rod Schaffter <rschaffter@comcast.net> 2008-12-03 13:55:17 MST --- Created an attachment (id=257856) --> (https://bugzilla.novell.com/attachment.cgi?id=257856) Console output from export NSPR_LOG_MODULES=HelperAppService:5 I loaded up Firefox, downloaded a Zip file, and attempted to open it from the Downloads Window. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=456026 User rschaffter@comcast.net added comment https://bugzilla.novell.com/show_bug.cgi?id=456026#c4 --- Comment #4 from Rod Schaffter <rschaffter@comcast.net> 2008-12-03 14:47:22 MST --- On a related note, I just discovered PDF files are associated with the GIMP. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=456026 User wolfgang@rosenauer.org added comment https://bugzilla.novell.com/show_bug.cgi?id=456026#c5 --- Comment #5 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2008-12-03 15:46:09 MST --- Ok, let me explain a bit how this works in Firefox. There is a list of helper applications in the preferences but these are just additional selections used to override the "automatic" mechanism to find the helper application to open some file. Every desktop application provides a desktop file where it defines mime-types for all types the application is able to handle. That includes PDF in Gimp and zip in Wine. Some SuSEconfig and mime-info magic chooses one default application which seems to fit best for certain types. Since Firefox uses gnome-vfs to determine that stuff it actually prefers Gnome and Gtk applications as long as they are installed. If they are not installed gnome-vfs falls back (I guess) to the first hit for a certain mime-type which is probably not the best option. Please check on your system the file /usr/share/applications/defaults.list and look up which desktop file it mentions for "application/zip" and "application/pdf" -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=456026 User rschaffter@comcast.net added comment https://bugzilla.novell.com/show_bug.cgi?id=456026#c6 --- Comment #6 from Rod Schaffter <rschaffter@comcast.net> 2008-12-03 16:40:43 MST --- Ah Ha!! application/x-zip-compressed=wine.desktop application/pdf=gimp.desktop So this bug apparently belongs to whomever owns the generation of defaults.list- that would probably be the SUSEconfig folks?. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=456026 User rschaffter@comcast.net added comment https://bugzilla.novell.com/show_bug.cgi?id=456026#c7 --- Comment #7 from Rod Schaffter <rschaffter@comcast.net> 2008-12-03 19:56:16 MST --- I deleted the above two lines from defaults.list and restarted Firefox and all works as it should. Should I file a new bug roport, or can this one be transfered to the appropriate group? -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=456026 User wolfgang@rosenauer.org added comment https://bugzilla.novell.com/show_bug.cgi?id=456026#c8 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wolfgang@rosenauer.org AssignedTo|bnc-team-mozilla@forge.provo.novell.com |sbrabec@novell.com Status|NEEDINFO |NEW Info Provider|rschaffter@comcast.net | Platform|i686 |All --- Comment #8 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2008-12-04 00:05:52 MST --- I'm not sure it is actually a bug but let's ask someone else. You can modify that behaviour in /etc/gnome_defaults.conf FWIW. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=456026 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456026#c9 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Priority|P5 - None |P4 - Low --- Comment #9 from Stanislav Brabec <sbrabec@novell.com> 2008-12-04 02:10:48 MST --- The problem is apparent. The fix is not trivial. As gnome-vfs is a GNOME application, it (AFAIK correctly) should prefer GNOME applications. In this case, no GNOME applications are present. Even if GNOME ZIP archiver (file-roller) will be present, KDE user will not be satisfied with the result (using file-roller instead of Ark). default.list cannot be changed on fly, as GNOME and KDE users can work in parallel on the same machine. Fixes I can imagine: 1. Firefox will not use gnome-vfs with KDE. 2. I will write just another SuSEconfig script. It will do exactly the same like the current one, but it will prefer Qt/KDE applications instead of GTK/GNOME, read /etc/kde.defaults and save its result into /usr/share/applications/kde/defaults.list or so. Setting an environment variable (either some of GNOME* or XDG*) will force these gnome-vfs2 defaults under KDE. Well, people using XFCE,... may complain in the same way, so probably rewritten of SuSEconfig scripts may create several versions of 3. Use defaults.list in the home directory generated by the KDE startup scripts. 4. Do the 2., but patch libraries accessing defaults.list. As defaults.list is used by GIO as well, the problem may raise over the time. Note: XDG code already supports some types of prefixes, so it needs a deeper research before patching. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=456026 User wolfgang@rosenauer.org added comment https://bugzilla.novell.com/show_bug.cgi?id=456026#c10 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hi-du@gmx.de --- Comment #10 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2008-12-22 00:24:15 MST --- *** Bug 461362 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=461362 -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=456026 User christiandehne@web.de added comment https://bugzilla.novell.com/show_bug.cgi?id=456026#c11 Christian Trippe <christiandehne@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |christiandehne@web.de --- Comment #11 from Christian Trippe <christiandehne@web.de> 2009-02-21 01:06:52 MST --- I am not sure this bug has the right priority, as bug 461362 (the one marked a duplicate) is in my opinion a usability nightmare. Every not so experienced user will have problems to view pdf-files running Firefox in KDE (4.1). -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=456026 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Firefox |GNOME -- 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.
participants (1)
-
bugzilla_noreply@novell.com