the highlighting tool, on a two-columns pdf document, highlights both columns instead one as expected Reproducible: Always Actual Results: both columns are highlighted Expected Results: one column should be highlighted
I'm not sure i understand your problem, can you please attach a screenshot of what you mean?
Created attachment 84570 [details] Screenshot from 2014-01-11 17:01:35.png On sab, 2014-01-11 at 12:54 +0000, Albert Astals Cid wrote: > https://bugs.kde.org/show_bug.cgi?id=329807 > > Albert Astals Cid <aacid@kde.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |NEEDSINFO > CC| |aacid@kde.org > Resolution|--- |WAITINGFORINFO > > --- Comment #1 from Albert Astals Cid <aacid@kde.org> --- > I'm not sure i understand your problem, can you please attach a screenshot of > what you mean? > The example is a two-column paper I would to highlight some rows on the left column. Instead I got both, left and right, columns highlighted. I red, on some forum, that from version 0.14 the correct behavior is what I would.
Does text selection work in that file?
Or even better, can you attach the file?
Created attachment 84579 [details] pdf file with two-column layout
Text selection works. If the box span over the two column selected text is from both columns.
What I mean is that if you would to highlight some rows on the left column only (one sentence for example) and you drag the tool for more than one row you get selected the rows but on both columns, the left and the right ones
So basically the text selection algorithm gets confused with pages that have graphics, works fine in page 1 but fails to detect the two columns in page 4 as depicted in the attachment from comment 2
Wow, I've been wondering why this bug had been claimed as 'solved' years ago while I've been running into it in every single multi-column document. Of course, most of the pdfs I use have images on every page somewhere. Thanks for looking into this, I feel relieved and hope that this really annoying bug can be fixed soon. As soon as it will, I will be able to do all my annotations in Okular!
Same issue for me with Okular version 0.18.2.
It seems that the columns are captured correctly when the image spans both columns: on pages with only a column-spanning image on top, this bug does not occur for me.
The algorithm for column cutting has been further improved and the pdf in this file now works fine for me with the okular that will be part of KDE 4.13.0 If you update to such release and still have problems with this file please reopen this bug, if it is with a different file please open a new one.
*** Bug 331235 has been marked as a duplicate of this bug. ***
Thank you very much for fixing this issue! It's a really great improvement, and makes okular even more a joy to use. I waited until now to get the new okular and kept several PDFs, with which I wanted to test the highlighting. With all PDFs, which have a standard 2 or 3 column layout, it works perfect (those were from the journals PNAS, Statistical Science, Nature, and Bioinformatics). Thanks again.