[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 <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |kde-maintainers@suse.de |ovo.novell.com | --- Comment #1 from kk zhang <kkzhang@suse.com> 2012-04-16 02:47:17 UTC --- Hi,could you please help to have a look this?I am not very sure whether it is right to assign it to you.Feel free to reassign it.Thank you. -- 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#c2 Christian Trippe <ctrippe@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |ctrippe@opensuse.org InfoProvider| |fisiu@opensuse.org --- Comment #2 from Christian Trippe <ctrippe@opensuse.org> 2012-04-16 18:42:20 UTC --- Do you have opera-kde4 installed? For me gimp also is the default, but also 'kioclient exec' is available which doesn't look nice but opens okular. -- 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#c3 Mariusz Fik <fisiu@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fisiu@opensuse.org --- Comment #3 from Mariusz Fik <fisiu@opensuse.org> 2012-04-16 19:28:32 UTC --- You mean /usr/lib/opera/liboperakde4.so? Yep, I have it. fisiu@vostro ~ $ ls -l /usr/lib/opera/liboperakde4.so -rw-r--r-- 1 root root 96984 03-22 11:03 /usr/lib/opera/liboperakde4.so It should use okular by default but can't find it due to wrong path... Not sure why this path is chosen during search... -- 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#c4 Mariusz Fik <fisiu@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|fisiu@opensuse.org | --- Comment #4 from Mariusz Fik <fisiu@opensuse.org> 2012-04-16 19:32:08 UTC --- c#3 is answer for NEEDINFO ;) -- 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#c5 Rihards Olups <richlv@nakts.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |richlv@nakts.net --- Comment #5 from Rihards Olups <richlv@nakts.net> 2012-05-02 13:05:04 UTC --- for me on 12.1 the following helped : removing gimp pdf entry from /usr/share/applications/defaults.list (which is a symlink to /var/cache/gio-2.0/defaults.list) did help (opera restart needed, didn't have to relogin in kde). i fear a bit that this cache would be regenerated at some point, so a more permanent solution might be needed. ideally, opera should use the software & priorities, as set in kde file associations (maybe it should simply link to some other file, not gio one ?) this is also discussed in opera forums : http://my.opera.com/community/forums/topic.dml?id=995152&t=1335958070&page=1#comment12196762 -- 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#c6 Christian Trippe <ctrippe@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |Other AssignedTo|kde-maintainers@suse.de |bnc-team-screening@forge.pr | |ovo.novell.com Product|openSUSE 12.1 |openSUSE 13.1 --- Comment #6 from Christian Trippe <ctrippe@opensuse.org> 2014-05-04 09:50:10 UTC --- Still vaild, basically this is a duplicate of bug 456026. -- 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#c zhang jiajun <jzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |meissner@suse.com |ovo.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.
participants (1)
-
bugzilla_noreply@novell.com