Summary: | kpdf watch file option does not work with PS files | ||
---|---|---|---|
Product: | [Unmaintained] kpdf | Reporter: | Philip <pv+kde> |
Component: | general | Assignee: | Albert Astals Cid <aacid> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rdieter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Philip
2006-06-29 02:27:03 UTC
You should file that bug against Fedora packagers, that is, in Fedora bug system, because we do not create packages and you are using 3.5.3 in both fc4 and fc5, so that is not a kpdf fault. I take it then, Albert, the feature works for you? well if he says it works for him in KDE 3.5.3.fc4 and not in KDE 3.5.3-0.2.fc5 it should be a packaging bug, no? hmmm, wait, he is using ps files, that can be the problem as ps file support is a BIG HACK, let me check... ... yeah it does not work with ps files I should change the headline (but I don't know how, can someone else?) to: "kpdf watch file option does not work on .ps files" (doesn't work on either fc4 or fc5) Albert, does this mean the bug status should be Confirmed? SVN commit 556704 by aacid: Make the watch function work too when opening ps files through ps2pdf BUGS: 130000 Ei, that's a nice bug number :-D M +5 -0 part.cpp --- branches/KDE/3.5/kdegraphics/kpdf/part.cpp #556703:556704 @@ -586,8 +586,13 @@ void Part::psTransformEnded() { + QString aux = m_file; m_file = m_temporaryLocalFile; openFile(); + m_file = aux; // so watching works, we have to watch the ps file not the autogenerated pdf + m_watcher->removeFile(m_temporaryLocalFile); + if ( !m_watcher->contains(m_file) ) + m_watcher->addFile(m_file); } void Part::cannotQuit() |