[Bug 161073] associating pdf files to KPDF results in a broken association

Drew Woodard drew.woodard at gmail.com
Thu Nov 8 22:30:59 UTC 2007


Public bug reported:

Binary package hint: kdebase

brief summary:
using the "open with" functionality in KDE to associate pdf files with KPDF creates a broken shortcut for the association, so when you try opening pdf files later on nothing happens.


to reproduce bug:
you will need a pdf file

we want to start with a clean slate with respect to pdf associations, run Konqueror and click on:
<settings> <configure konqueror> <file associations>
on the right side click on <application> <pdf>

Under "Application Preference Order" select each item and click "Remove"
until the list of applications is empty.  Then hit "ok".

Now double-click on a pdf file and a box will appear asking what program you want to use, pick KPDF (under "Graphics") and check the checkbox "Remember application association for this type of file" and hit "ok".
KPDF runs and opens the pdf file as you would expect.  Now we get to the problem, close KPDF and double-click on the pdf file again and nothing happens.

If we go back to the file associations list via Konqueror (mentioned
earlier) we can see KPDF listed but if we hit "Edit" things look broken.

(the way it looks by default)
target:  /home/jdoe/.kde/share/applnk/kpdf_part
icon:  <blank>
Name:  KPDF
Description:  <blank>
Comment:  <blank>
Command:  <blank>
Work Path:  <blank>

(I'm not sure how exactly it should look but I modified mine like the following and it seems to function, username replaced with "jdoe")
target:  /home/jdoe/.local/share/applications/kde-kpdf.desktop
icon:  /usr/share/icons/hicolor/64x64/apps/kpdf.png
Name:  KPDF
Description:  PDF Viewer
Comment:  <blank>
Command:  kpdf %U %i %m -caption "%c"
Work Path:  <blank>


I assume there is a broken link/template type thing somewhere causing this but I'm not sure where it is.

** Affects: kdebase (Ubuntu)
     Importance: Undecided
         Status: New

-- 
associating pdf files to KPDF results in a broken association
https://bugs.launchpad.net/bugs/161073
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.




More information about the kubuntu-bugs mailing list