|
Bugzilla – Full Text Bug Listing |
| Summary: | package-manager.desktop should handle application/x-redhat-package-manager | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Forgotten User vs5edErKRK <forgotten_vs5edErKRK> |
| Component: | libzypp | Assignee: | E-mail List <zypp-maintainers> |
| Status: | RESOLVED FIXED | QA Contact: | Duncan Mac-Vicar <dmacvicar> |
| Severity: | Major | ||
| Priority: | P3 - Medium | CC: | ma, mail, wolfgang |
| Version: | RC 1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | openSUSE 11.0 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | testapp | ||
|
Description
Forgotten User vs5edErKRK
2008-05-16 07:24:56 UTC
Firefox is finding the application referenced in package-manager.desktop.
Executing package-manager should fire up yast2 to install the package but:
Error: helperAppNotFound, type=2 , listener=0x8232418, rv=0x80520012
path='/tmp/skype-2.0.0.68-suse.i586-2.rpm'
OK, strange thing:
gnome_vfs_mime_get_default_application("application/x-redhat-package-manager")
doesn't seem to return anything.
http://mxr.mozilla.org/seamonkey/source/toolkit/system/gnome/nsGnomeVFSService.cpp#214
while other gnome_vfs* functions return the correct application it seems.
Created attachment 215902 [details]
testapp
Could you please run this test application and post what it returns.
It opens a dialog window called "Run program" that says (translated from Swedish): This link needs to be opened by a program. Send to: Choose a program: Choose.... And further down: Remember my choise for file-links. Comment #4 was when I saved it with Firefox and ran it from the file fetcher (not sure thats the English name (anyhow - where I see my downloads in Firefox. If I click on the downloaded file a dialog opens thet says: Open with: Known programs and then shows my program menu and a check box Run i terminal and Remember program binding for this file type. please run the testapp gnome-vfs in a terminal since it simply writes its output to the terminal. It's not a graphical application. OK. inge@svensson:~/Desktop> ./bug-391183_gnome-vfs Searching default handler for application/x-redhat-package-manager No application found OK, that is the underlying issue. So this bug has actually two components: 1. Firefox shouldn't offer an application if it can't be launched later (Firefox is using different methods for finding and launching in that special case.) 2. gnome-vfs should actually find a default application for that mime-type (which is not a Firefox issue) We should fix 2 short-term and I'll look into 1. afterwards. 2. is caused by /usr/share/applications/package-manager.desktop not specifying the mime-type www.skype.com is using for serving the RPMs: MimeType=application/x-rpm; should be extended by MimeType=application/x-rpm;application/x-redhat-package-manager; That file belongs to package libzypp and therefore reassigning to zypp. (Please assign back when the desktop file is fixed!) (it's not really "major" but it's very easy to fix so trying to get attention) *** Bug 397822 has been marked as a duplicate of this bug. *** The same on openSUSE 11 RC. https://bugzilla.novell.com/show_bug.cgi?id=397822 I really wonder why such an easy thing to fix wasn't touched the last three weeks and now it's most likely too late. because so many less easy things were left to fix? fixed in libzypp-4.26.4 |