Version: 0.6.1 (using KDE 4.0.1) Installed from: Debian testing/unstable Packages OS: Linux When I select an area in a PDF document with Okular, the popup menu shows an incorrect number of selected characters. The number of characters shown there seems to be related to the pixel size of the selected area. When I select "Copy to clipboard", the text in the clipboard contains the whole document from the selection to the end or some garbage text (depending on the PDF document). The attached images shows the popup menu after the selection has been done.
Created attachment 23596 [details] Popup menu after selection.
Created attachment 23597 [details] Popup menu after selection.
Cannot reproduce, even with the exact document you're using. Does it happen with every document, or just with that one?
Created attachment 23605 [details] Same bug with another document. Document: http://www.mpi-forum.org/docs/mpi2-report.pdf
Created attachment 23606 [details] Bug with a third document. Document: http://www.openscenegraph.org/documentation/IMAGE2003/IMAGE_2003.pdf
Hello Pino, as you can see on the screenshots, the problem happens with other documents too. Regards, Benjamin
I cannot reproduce with those documents. Which version of the poppler-qt4 library are you using?
Hello Pino, here is the output of reportbug for dependences of okular: Versions of packages okular depends on: ii kde-icons-oxygen 4:4.0.1-1 Oxygen icon theme for KDE 4 ii kdebase-runtime 4:4.0.1-1 runtime components from the offici ii kdebase-runtime-data 4:4.0.1-1 shared data files for the KDE 4 ba ii kdelibs5 4:4.0.1-1 core libraries for all KDE 4 appli ii libc6 2.7-8 GNU C Library: Shared libraries ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib ii libgcc1 1:4.3-20080202-1 GCC support library ii libjpeg62 6b-14 The Independent JPEG Group's JPEG ii libokularcore1 4:4.0.1-1 libraries for for the okular docum ii libpoppler-qt4-2 0.6.4-1 PDF rendering library (Qt 4 based ii libqimageblitz4 1:0.0.4-1+b1 KDE/Qt image filter library ii libqt4-core 4.3.3-2 Qt 4 core non-GUI functionality ru ii libqt4-gui 4.3.3-2 Qt 4 core GUI functionality runtim ii libqt4-qt3support 4.3.3-2 Qt 3 compatibility library for Qt ii libstdc++6 4.3-20080202-1 The GNU Standard C++ Library v3 ii zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime Regards, Benjamin
Hello, I still have the problem with Okular 4.0.2. Even if I select an empty region with no text the menu which pops up tells me that I can copy hundreds of characters. Regards, Benjamin
Hello, sorry for posting so fast again. But I just discovered something new: In my last post I said that when I select an empty rectangle without text it tells me that there are characters. I just tried it with a PDF files which was exported from PowerPoint. The PDF file contains two slides which have a black border around them on every page. When I create the selection rectangle outside this black border, it only tells me that I can copy an image, no characters. When I select empty space inside the border, Okular tells me that I can copy some characters. Maybe this helps somehow. Regards, Benjamin
Document please, otherwise we cannot even try to reproduce the issue.
Hello Pino, it happens with this document for example: http://wwwcs.uni-paderborn.de/pc2/fileadmin/Vorlesung_APR_WS07/VL1.pdf Regards, Benjamin
*** Bug 162156 has been marked as a duplicate of this bug. ***
SVN commit 808367 by pino: Backport: do not consider hidden pages when getting the text within the selected rectangle. Will be in KDE 4.0.5. CCBUG: 157927 M +3 -0 pageview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=808367
SVN commit 808374 by pino: Do not consider hidden pages when getting the text within the selected rectangle. BUG: 157927 M +3 -0 pageview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=808374