[Bug 756887] New: Opera opens pdf in gimp because it can't fine others app
https://bugzilla.novell.com/show_bug.cgi?id=756887 https://bugzilla.novell.com/show_bug.cgi?id=756887#c0 Summary: Opera opens pdf in gimp because it can't fine others app Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: All OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: fisiu@opensuse.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/536.6 (KHTML, like Gecko) Chrome/20.0.1094.0 Safari/536.6 SUSE/20.0.1094.0 openSUSE 12.1 with KDE 4.8.2. By default Opera opens pdf files in gimp while okular is installed and set as default pdf viewer. Using Dolphin, pdf files are opened in okular. strace output: open("/usr/share/mime/application/pdf.xml", O_RDONLY|O_LARGEFILE) = 49 open("/usr/share/applications/gimp.desktop", O_RDONLY|O_LARGEFILE) = 49 open("/usr/share/applications/kde4-okularApplication_pdf.desktop", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/usr/share/applications/kde4-krita_pdf.desktop", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/usr/share/applications/kde4-karbon.desktop", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/usr/share/applications/epdfview.desktop", O_RDONLY|O_LARGEFILE) = 49 access("gimp-2.6", X_OK) = -1 ENOENT (No such file or directory) access("/home/fisiu/bin/gimp-2.6", X_OK) = -1 ENOENT (No such file or directory) access("/usr/local/bin/gimp-2.6", X_OK) = -1 ENOENT (No such file or directory) access("/usr/bin/gimp-2.6", X_OK) = 0 open("/usr/share/icons/hicolor/16x16/apps/gimp.png", O_RDONLY|O_LARGEFILE) = 49 access("epdfview", X_OK) = -1 ENOENT (No such file or directory) access("/home/fisiu/bin/epdfview", X_OK) = -1 ENOENT (No such file or directory) access("/usr/local/bin/epdfview", X_OK) = -1 ENOENT (No such file or directory) access("/usr/bin/epdfview", X_OK) = 0 It looks like all .desktop files ralated to kde4 have incorrect path. There should be /usr/share/applications/kde4/okularApplication_pdf.desktop instead /usr/share/applications/kde4-okularApplication_pdf.desktop Manual change make no sense because `update-desktop-database` overwrites and restore from kde/ to kde4-. All kde4 related destkop file are placed in separate directory in /usr/share/applications/kde4/ but `update-desktop-database` can't update those .desktop files in kde4/ subdir properly. So is there a problem with `update-desktop-database`? Or some other component... Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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=756887
https://bugzilla.novell.com/show_bug.cgi?id=756887#c1
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=756887
https://bugzilla.novell.com/show_bug.cgi?id=756887#c2
Christian Trippe
https://bugzilla.novell.com/show_bug.cgi?id=756887
https://bugzilla.novell.com/show_bug.cgi?id=756887#c3
Mariusz Fik
https://bugzilla.novell.com/show_bug.cgi?id=756887
https://bugzilla.novell.com/show_bug.cgi?id=756887#c4
Mariusz Fik
https://bugzilla.novell.com/show_bug.cgi?id=756887
https://bugzilla.novell.com/show_bug.cgi?id=756887#c5
Rihards Olups
https://bugzilla.novell.com/show_bug.cgi?id=756887
https://bugzilla.novell.com/show_bug.cgi?id=756887#c6
Christian Trippe
https://bugzilla.novell.com/show_bug.cgi?id=756887
https://bugzilla.novell.com/show_bug.cgi?id=756887#c
zhang jiajun
participants (1)
-
bugzilla_noreply@novell.com