Version: (using KDE KDE 3.5.2) Installed from: Ubuntu Packages If a file is opened in kpdf by drag&dropping the file on the kpdf window, the print command (button and menu) is disabled. I have to reopen the file from kpdf to be able to print it. Using kpdf 0.5.2 (KDE 3.5.2) ubuntu package 3.5.2-0ubuntu0breezy1
SVN commit 535156 by aacid: enable the print action when opening a file though drag and drop BUGS: 126406 M +1 -0 part.cpp M +0 -1 shell/shell.cpp --- branches/KDE/3.5/kdegraphics/kpdf/part.cpp #535155:535156 @@ -450,6 +450,7 @@ KMessageBox::error( widget(), i18n("Could not open %1").arg( url.prettyURL() ) ); else m_viewportDirty.pageNumber = -1; + emit enablePrintAction(b); return b; } --- branches/KDE/3.5/kdegraphics/kpdf/shell/shell.cpp #535155:535156 @@ -118,7 +118,6 @@ bool openOk = m_part->openURL( url ); if ( openOk ) m_recent->addURL( url ); else m_recent->removeURL( url ); - m_printAction->setEnabled( openOk ); } }
You need to log in before you can comment on or make changes to this bug.