Summary: | kpdf crashes when displaying the following file where xdf shows correctle it | ||
---|---|---|---|
Product: | [Unmaintained] kpdf | Reporter: | Toralf Förster <toralf.foerster> |
Component: | general | Assignee: | Christophe Devriese <oelewapperke> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | the pdf fle where kpdf crashes |
Description
Toralf Förster
2004-06-18 15:33:58 UTC
Created attachment 6402 [details]
the pdf fle where kpdf crashes
Shows correct = shows nothing? I don't want to sound harsh, just want to know if my xpdf is not working CVS commit by aacid: Don't die on empty pdfs like the one on bug 83590 CCMAIL:83590-done@bugs.kde.org M +13 -10 kpdf_part.cpp 1.54 --- kdegraphics/kpdf/kpdf/kpdf_part.cpp #1.53:1.54 @@ -360,4 +360,6 @@ Part::openFile() // emit setStatusBarText( QString::number( m_doc->getNumPages() ) ); + if (m_doc->getNumPages() > 0) + { // TODO use a qvaluelist<int> to pass aspect ratio? pdfpartview->setPages(m_doc->getNumPages(), m_doc->getPageHeight(1)/m_doc->getPageWidth(1)); @@ -369,4 +371,5 @@ Part::openFile() m_nextThumbnail=1; QTimer::singleShot(10, this, SLOT(nextThumbnail())); + } return true; |