[Bug 33288] Re: Evince doesn't handle columns properly
** Changed in: poppler Status: Confirmed => Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/33288 Title: Evince doesn't handle columns properly To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/33288/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Carlos: it isn't a regression that lines outside a rectangle formed by the start and endpoints are included, it's the intent. Consider selecting in a document with two columns, starting in the 1st column 2/3 down the page, ending in the 2nd column 1/3 down the page. In this case, the correct selection consists entirely of lines that lie outside the rectangle formed by the start and endpoints (ie, the bottom 1/3 of the 1st column and the top 1/3 of the 2nd column). The motivation for this patch was that text selection by rectangles is fundamentally wrong. The correct approach is to reconstruct the reading order of text; then from two points on the page, find the nearest insertion points (where an edit cursor would go); swap the insertion points if necessary; then return the characters between them. The difficulties lie in inferring the reading order, and determining what 'nearest insertion point' means. Clicking inside a word, the nearest insertion point is obvious; it's the nearest character boundary. Click in a blank area, and it's less clear. In Breuel's algorithms that I used for determining reading order, there is something that helps here. There, line width is determined by expanding the line left and right to fit the column it contains. So the line 'box' contains the initial indent if it is the first line of a paragraph, or the trailing space in the last line; or the ragged space for left- or right- justified text. Poppler doesn't have columns as such, but blocks instead, and as I recall the line boxes are the tight bounding box of the words contained in the line. So we can try to determine insertion point by looking for the nearest block (horizontally and vertically), then the nearest line (vertically ONLY, so that we ignore indents/ragged space), then nearest character (horizontally). I mean these to be three different comparisons, discarding blocks, line and character candidates at each stage, not some single distance you sum up. The upshot would be that clicking in blank areas of a line that lie within its block's bounding box - or even nearby - will choose that line, not the one above or below. (It's been ages since I looked at the poppler code, I can't remember if this heuristic is what the patches do already) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/33288 Title: Evince doesn't handle columns properly To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/33288/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
(oops, replied on launchpad, not sure if Carlos reads there. Repeating for fdo) Carlos: it isn't a regression that lines outside a rectangle formed by the start and endpoints are included, it's the intent. Consider selecting in a document with two columns, starting in the 1st column 2/3 down the page, ending in the 2nd column 1/3 down the page. In this case, the correct selection consists entirely of lines that lie outside the rectangle formed by the start and endpoints (ie, the bottom 1/3 of the 1st column and the top 1/3 of the 2nd column). The motivation for this patch was that text selection by rectangles is fundamentally wrong. The correct approach is to reconstruct the reading order of text; then from two points on the page, find the nearest insertion points (where an edit cursor would go); swap the insertion points if necessary; then return the characters between them. The difficulties lie in inferring the reading order, and determining what 'nearest insertion point' means. Clicking inside a word, the nearest insertion point is obvious; it's the nearest character boundary. Click in a blank area, and it's less clear. In Breuel's algorithms that I used for determining reading order, there is something that helps here. There, line width is determined by expanding the line left and right to fit the column it contains. So the line 'box' contains the initial indent if it is the first line of a paragraph, or the trailing space in the last line; or the ragged space for left- or right- justified text. Poppler doesn't have columns as such, but blocks instead, and as I recall the line boxes are the tight bounding box of the words contained in the line. So we can try to determine insertion point by looking for the nearest block (horizontally and vertically), then the nearest line (vertically ONLY, so that we ignore indents/ragged space), then nearest character (horizontally). I mean these to be three different comparisons, discarding blocks, line and character candidates at each stage, not some single distance you sum up. The upshot would be that clicking in blank areas of a line that lie within its block's bounding box - or even nearby - will choose that line, not the one above or below. (It's been ages since I looked at the poppler code, I can't remember if this heuristic is what the patches do already) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/33288 Title: Evince doesn't handle columns properly To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/33288/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
** Changed in: poppler Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/33288 Title: Evince doesn't handle columns properly -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
** Changed in: poppler Importance: Medium => Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/33288 Title: Evince doesn't handle columns properly -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
** Changed in: poppler (Ubuntu) Status: Triaged => Fix Released -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
This bug was fixed in the package poppler - 0.12.4-0ubuntu5 --- poppler (0.12.4-0ubuntu5) lucid-proposed; urgency=low * debian/patches/11_column_selection.patch: - backport from upstream git commit to fix wrong selection in pdf when containing tables, long text, broken flow and so on. (fixing most of known issues with selection in pdf) (LP: #33288) -- Didier RocheMon, 19 Apr 2010 16:41:30 +0200 ** Changed in: poppler (Ubuntu Lucid) Status: Fix Committed => Fix Released -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
** Tags added: verification-done ** Tags removed: verification-needed -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Works for me too :). Seems there are still a few border cases, but way better than before :). -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
The proposed package is acting correctly on my system. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Just enable Lucid Proposed (in your Updates Sources) in Synaptic. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Here is another two column PDF which I am also having selection problems with. http://www3.lehigh.edu/academics/catalog/printable.asp (click the "Lehigh University Course catalog" link to open it) I am using the default version of evince on Ubuntu 10.04 - version 2.30.0, so can someone post a link to the LATEST package with fixes. (A lot of links to patches and packages were posted above so I don't really know which one is the latest) -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 33288] Re: Evince doesn't handle columns properly
Yeah. It's a bugger. That's reasonable behavior. I imagine it's impracticable to include the history of the mouse trajectory in your the guess of which line to select on. Anyway. This version is just an enormous improvement, so thanks to you all. On Fri, May 7, 2010 at 10:02 AM, Brian Ewins wrote: > Mark: what's going on there is that the bounding boxes of the (1) (2) > (3) ... text regions are tightly around the text you can see, and when > the mouse is between them, its not over any text region at all. Hence, > the best guess of what you were trying to select is the nearest text > region (by manhattan distance), which will be the one above or below the > current line, because these columns are very short and widely spaced. > When the mouse is close to what you intended to select, and not in the > middle of blank space, this usually does the right thing. Acrobat makes > the same guess. > > -- > Evince doesn't handle columns properly > https://bugs.launchpad.net/bugs/33288 > You received this bug notification because you are a direct subscriber > of the bug. > > Status in Poppler: Confirmed > Status in “poppler” package in Ubuntu: Triaged > Status in “poppler” source package in Lucid: Fix Committed > > Bug description: > So, now that RC is here, let's propose it as an SRU. > I've pushed it in lucid-proposed. The debdiff is > poppler_0.12.4-0ubuntu4_2_0.12.4-0ubuntu5.debdiff attached there for > information. I'm removing old debdiff to avoid confusion. > > poppler (0.12.4-0ubuntu5) lucid-proposed; urgency=low > > * debian/patches/11_column_selection.patch: >- backport from upstream git commit to fix wrong selection in pdf when > containing tables, long text, broken flow and so on. > (fixing most of known issues with selection in pdf) (LP: #33288) > > > > > > When making a multi column selection from a PDF like this: > > http://www.specialist-games.com/mordheim/assets/lrb/1Rules.pdf > > And pasting the result into OpenOffice.org the columns are not maintained. > The results unusable because the text from both columns becomes mixed. > > Please note, this is not a PDF problem, using Adobe Acrobat Reader 7.x > under Windows does properly copy-paste columned text over to OpenOffice.org. > > Regards, > Pascal de Bruijn > > > > To unsubscribe from this bug, go to: > https://bugs.launchpad.net/poppler/+bug/33288/+subscribe > -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
One more screenshot displaying page 15 of original file (http://window.edu.ru/window_catalog/redir?id=59183&file=%D0%98%D0%9D%D0%A4_%D0%B4%D0%B5%D0%BC%D0%BE_2009.pdf, page 15, C4). ** Attachment added: "selected:c4.png" http://launchpadlibrarian.net/48007802/selected%3Ac4.png -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Mark: what's going on there is that the bounding boxes of the (1) (2) (3) ... text regions are tightly around the text you can see, and when the mouse is between them, its not over any text region at all. Hence, the best guess of what you were trying to select is the nearest text region (by manhattan distance), which will be the one above or below the current line, because these columns are very short and widely spaced. When the mouse is close to what you intended to select, and not in the middle of blank space, this usually does the right thing. Acrobat makes the same guess. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Pascal de Bruijn wrote: >I just tried that document too... But I noticed it was generated by Cairo... >which is a graphical library, not a text processor... If you are interested, here is the original file: http://window.edu.ru/window_catalog/redir?id=59183&file=%D0%98%D0%9D%D0%A4_%D0%B4%D0%B5%D0%BC%D0%BE_2009.pdf -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Also it behaves interesting when I try to select the text in the first frame. ** Attachment added: "selected-frame.png" http://launchpadlibrarian.net/4822/selected-frame.png -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
arand wrote: The correct one for that issue is Bug #39321 which IS correctly marked as not fixed. I commented there at first, but it is written in that bug description: "This bug should only be about the disappearing-text-on selection issue ("bug a" below), for the other selection issues see Bug #33288", so I commented here too :) -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 33288] Re: Evince doesn't handle columns properly
This document does have the column selection issue. Each row of four numbers in A1, ..., A5 behaves as a table that includes some of the text above it as well as the single-character line below. There is an interesting behavior in slowly selecting one character at a time from left to right along the row of numbers. When you reach the space between each entry (say between "1) 30" and "2) 60" in A1), the selection skips to the line above, then skips back down when the next number is scanned. On Fri, May 7, 2010 at 7:54 AM, arand wrote: > Do note that this bug and fix only concerns column "selection flow > handling" e.g. the common issue that selecting one column will select > the other simultaneously. > > The (also very common) issue of selected text disappearing and > displaying random characters is a separate issue NOT addressed by this > patch. > > The correct one for that issue is Bug #39321 which IS correctly marked > as not fixed. > > -- > Evince doesn't handle columns properly > https://bugs.launchpad.net/bugs/33288 > You received this bug notification because you are a direct subscriber > of the bug. > > Status in Poppler: Confirmed > Status in “poppler” package in Ubuntu: Triaged > Status in “poppler” source package in Lucid: Fix Committed > > Bug description: > So, now that RC is here, let's propose it as an SRU. > I've pushed it in lucid-proposed. The debdiff is > poppler_0.12.4-0ubuntu4_2_0.12.4-0ubuntu5.debdiff attached there for > information. I'm removing old debdiff to avoid confusion. > > poppler (0.12.4-0ubuntu5) lucid-proposed; urgency=low > > * debian/patches/11_column_selection.patch: >- backport from upstream git commit to fix wrong selection in pdf when > containing tables, long text, broken flow and so on. > (fixing most of known issues with selection in pdf) (LP: #33288) > > > > > > When making a multi column selection from a PDF like this: > > http://www.specialist-games.com/mordheim/assets/lrb/1Rules.pdf > > And pasting the result into OpenOffice.org the columns are not maintained. > The results unusable because the text from both columns becomes mixed. > > Please note, this is not a PDF problem, using Adobe Acrobat Reader 7.x > under Windows does properly copy-paste columned text over to OpenOffice.org. > > Regards, > Pascal de Bruijn > > > > To unsubscribe from this bug, go to: > https://bugs.launchpad.net/poppler/+bug/33288/+subscribe > -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Do note that this bug and fix only concerns column "selection flow handling" e.g. the common issue that selecting one column will select the other simultaneously. The (also very common) issue of selected text disappearing and displaying random characters is a separate issue NOT addressed by this patch. The correct one for that issue is Bug #39321 which IS correctly marked as not fixed. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
I use poppler 0.12.4-0ubuntu5. Is it the updated version? -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
On my system, Evince works similar... You do need to update poppler and evince though... ** Attachment added: "PDF selection screenshot Evince/Poppler from Lucid-Proposed" http://launchpadlibrarian.net/47993532/evince-poppler-proposed-example-russian.png -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
In Adobe Reader 9.3.1, all OK. ** Attachment added: "acroread-selected.png" http://launchpadlibrarian.net/47992737/acroread-selected.png -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Initilally it was created with Acrobat plugin for MS Word, but I used Evince's "Print to file" option to cut one page from it. I will test it in Adobe Reader now. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
I just tried that document too... But I noticed it was generated by Cairo... which is a graphical library, not a text processor... So I wouldn't be surprised if the PDF itself is the problem here... But this is just speculation... Has anybody tested that PDF in the official Adobe Acrobat Reader? -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
For me, this problem was not fixed after the update from lucid-proposed. See my comment https://bugs.edge.launchpad.net/ubuntu/+source/evince/+bug/39321/comments/16 and the pdf file http://launchpadlibrarian.net/47987918/example-russian-pdf.pdf. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
I just installed from lucid-proposed, and the problem seems fixed indeed. On a sidenote the sample PDF I first posted moved: http://www.games- workshop.com/MEDIA_CustomProductCatalog/m1330012_Mord_Rulebook_part_1_-_rules.pdf Thanks for your efforts. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
** Changed in: poppler (Ubuntu Lucid) Status: Triaged => Fix Committed -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
** Branch linked: lp:ubuntu/lucid-proposed/poppler -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
I have accepted popper into lucid-proposed, which will build and be published in a few hours. Please test and post results to this bug report. ** Tags added: verification-needed -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
** Also affects: poppler (Ubuntu Lucid) Importance: Medium Status: Triaged -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
ACK from the SRU team for the new debdiff. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Thanks to arand for notifying me that the diff contained some gtk-doc build cruft. Fixed in -proposed and pushed the new debdiff. ** Patch removed: "poppler_0.12.4-0ubuntu4_2_0.12.4-0ubuntu5.debdiff" http://launchpadlibrarian.net/45027970/poppler_0.12.4-0ubuntu4_2_0.12.4-0ubuntu5.debdiff ** Patch added: "poppler_0.12.4-0ubuntu4_2_0.12.4-0ubuntu5.debdiff" http://launchpadlibrarian.net/45030477/poppler_0.12.4-0ubuntu4_2_0.12.4-0ubuntu5.debdiff ** Description changed: + So, now that RC is here, let's propose it as an SRU. + I've pushed it in lucid-proposed. The debdiff is poppler_0.12.4-0ubuntu4_2_0.12.4-0ubuntu5.debdiff attached there for information. I'm removing old debdiff to avoid confusion. + + poppler (0.12.4-0ubuntu5) lucid-proposed; urgency=low + + * debian/patches/11_column_selection.patch: + - backport from upstream git commit to fix wrong selection in pdf when + containing tables, long text, broken flow and so on. + (fixing most of known issues with selection in pdf) (LP: #33288) + + + + + When making a multi column selection from a PDF like this: http://www.specialist-games.com/mordheim/assets/lrb/1Rules.pdf And pasting the result into OpenOffice.org the columns are not maintained. The results unusable because the text from both columns becomes mixed. Please note, this is not a PDF problem, using Adobe Acrobat Reader 7.x under Windows does properly copy-paste columned text over to OpenOffice.org. Regards, Pascal de Bruijn -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
So, now that RC is here, let's propose it as an SRU. I've pushed it in lucid-proposed. The debdiff is poppler_0.12.4-0ubuntu4_2_0.12.4-0ubuntu5.debdiff attached there for information. I'm removing old debdiff to avoid confusion. poppler (0.12.4-0ubuntu5) lucid-proposed; urgency=low * debian/patches/11_column_selection.patch: - backport from upstream git commit to fix wrong selection in pdf when containing tables, long text, broken flow and so on. (fixing most of known issues with selection in pdf) (LP: #33288) ** Patch added: "poppler_0.12.4-0ubuntu4_2_0.12.4-0ubuntu5.debdiff" http://launchpadlibrarian.net/45027970/poppler_0.12.4-0ubuntu4_2_0.12.4-0ubuntu5.debdiff ** Patch removed: "rough_poppler_0.12.4-0ubuntu1.1.debdiff" http://launchpadlibrarian.net/39815138/rough_poppler_0.12.4-0ubuntu1.1.debdiff ** Patch removed: "rough_poppler_0.12.0-0ubuntu2.2.debdiff" http://launchpadlibrarian.net/39436317/rough_poppler_0.12.0-0ubuntu2.2.debdiff ** Changed in: poppler (Ubuntu) Assignee: Didier Roche (didrocks) => (unassigned) ** Changed in: poppler (Ubuntu) Status: In Progress => Triaged -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Yes, it pastes all the text that is selected, and only that. Yes, I agree, it is improved. Before, pasting text from two columns was a complete mess. Now, at least, the text from both columns is pasted separately. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
João - actually that's quite interesting - this side effect in Okular is something I hadn't seen. Going back through my mails I see Carlos told me: "Okular doesn't use TextOutputDev for selecting, but it does for extracting the text, so it will be affected anyway." This is what you're seeing - Okular's selection algorithm wedded to my text extraction order. Is it at least WYSIWYG, in that the text selected (and only the text selected) appears in the extract? If that's the case, then at least its not broken anything; it may even be a slight improvement, the old 'preserve layout' extracts were a mess. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Sorry!!! I realize now that this is supposed to be a solution for Evince. I was using Okular. I tried now with Evince and it works very well. Thank you and sorry again for the confusion! -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
I used the PPA from Arand: https://launchpad.net/~arand/+archive/poppler After the update of the libpoppler, when I past the text copied from two columns, the text of the first column is pasted separately from the text of the second column. Before the update, the text was pasted all mixed, as the two columns were only one column. For instance, in this file: http://www.sigcomm.org/sigcomm2005/paper-KarPap.pdf If I try to select the last paragraph, of the first column, in the third page, the text from both columns is selected. But, when I paste it, the text from the first column appears before the text from the second column, as it is below. Before the update, the text appeared all mixed up as if the two columns were only one. "The two sites and time-of-capture of the analyzed traces were selected so that our methodology could be tested against a variety of different conditions and a diverse set of applica- tions. Indeed, the selected links reflect significantly different network “types”, evident from the application mix as ana- lyzed in the following section. In addition, the two university traces were collected both during weekdays (UN1 ) and also beginning of weekend (UN2 ) to capture possible weekday to weekend variation in application usage and network traffic to further identify data transfer flows, such as passive ftp, we parse the control stream to acquire the context regarding the upcoming data transfer, i.e. the host and port number where the follow-up data connection is going to take place. The per-packet operation simply examines the contents of each packet against our array of strings, and classifies the corresponding flow with an application-specific tag in case of a match. Successful classification of a flow on one direction leads to the subsequent classification of the respective flow in" -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
@João Gomes: Hmm, that is the main issue that these patches are supposed to take care of. You are running the patched version? Which document are you testing on? And the patched version does still struggle in some specific cases, something which will probably not be addressed until the far-future "complete-revamp" mentioned by Brian Ewins. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
I agree... now, it's MUCH better. However, I think it would be better if one could select the text from only one column. I think this makes more sense as most of the times one doesn't want to select, at the same time, part of a column and part of the other column. But, again, great job!!! -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
i am very happy to see this implemented, i have tried this patch for a while now (in karmic) and it works great. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Will be pushed post-RC ** Changed in: poppler (Ubuntu) Assignee: (unassigned) => Didier Roche (didrocks) ** Changed in: poppler (Ubuntu) Status: Fix Committed => In Progress -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
I've talked to the desktop team and they are +1 for having this change, so might see this as SRU in Lucid -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 33288] Re: Evince doesn't handle columns properly
Nigel, has the patch been committed to the Ubuntu package? I believe at this point, no major merges will be done, and this will have to be approved by release teams, so "fix committed" wouldn't apply. Please correct me if I'm mistaken. regards FF On Seg, 2010-04-19 at 14:06 +, Nigel Babu wrote: > Changing to Fix Comitted since, patch has been accepted upstream. > > ** Tags added: patch-accepted-upstream > ** Tags removed: patch-needswork > > ** Changed in: poppler (Ubuntu) >Status: Triaged => Fix Committed > > ** Changed in: poppler (Ubuntu) > Assignee: Ubuntu Desktop Bugs (desktop-bugs) => (unassigned) > -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Changing to Fix Comitted since, patch has been accepted upstream. ** Tags added: patch-accepted-upstream ** Tags removed: patch-needswork ** Changed in: poppler (Ubuntu) Status: Triaged => Fix Committed ** Changed in: poppler (Ubuntu) Assignee: Ubuntu Desktop Bugs (desktop-bugs) => (unassigned) -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Carlos has just pushed the patches upstream, but is leaving the bug open for future work (so the status of the upstream bug 3188 won't appear to change). Hopefully this improves the chances of them making it into Lucid. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
It would be great if this patch were included in Lucid. I'm one of the people who read column-formatted scientific papers and fixing text selection is definitely a must. Even if there were regressions, the situation without the patch is much worse. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Please last comment on upstream bug, upstream is currently awaiting a few changes to the patch and then it will be included upstream. Since the patch is being worked on, patch-needswork is justified -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
@Nigel Babu: My impression is that that Brian Ewins' comments is probably as much upstream feedback as we are going to get. Since the upstream focus is now shifted to the above mentioned "long-term solution". In that sense I would say the patches as it is now are "complete", since it's likely that no more work/review will be done of it. Decision is then whether to take it as it is now, or wait for the long- term solution. Summary: I don't think patch-needswork is justified. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Since we're currently awaiting upstream comments, I've added the patch- needstag for this bug. ** Tags added: patch-needswork ** Tags removed: patch -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
@tpgraveen "any known regressions". What we're testing here is a heuristic for what users want, there is no right answer. So yes, in some cases the selection is "worse" (a specific example is dealing with bullet lists that have come from TeX, they leave a very wide gap before the list text and poppler thinks this is a column break). From what I've seen, for most single-column documents it's the same or slightly worse, but for most multi-column docs, it's a massive improvement. Its also much more consistent than before, you don't get the 'jumpy-selection' effect. So, far from perfect but 'mostly better'. I'm not aware of any remaining regressions from memory errors, crashes etc. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
@Brian are there any problems with comitting this patch in it's current form. I mean any known regressions? else we should just include it in ubuntu's evince for now atleast and then revert back at beta 2 or something if something goes wrong. Because from what u say it is going to be a long while before this gets fixed upstream. @Arand Am now using your ppa and things going to be going well. Thanks for making the ppa. it really makes a lot more testing possible. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Yes, I have had no time to work on/review this for a while now, for a number of reasons. My calendar clears up a bit after Easter, hoping to pick it up again then. However, its worth pointing out that the patches as it stands are about as far as I want to push the current api (which is based on selecting a 'region', and then under the hood I made it select a run of text). What I'd started on when I ran out of time was a different approach: * support tagged PDF first, with 'guessed' text order as a fallback (which will give much better results on tagged PDF, obviously). This would be ridiculously hard in the current TextDevice; the structures don't match at all. * use a caret-less version of the AT-SPI AccessibleText interface (http://library.gnome.org/devel/at-spi-cspi/unstable/at-spi-cspi- AccessibleText-Interface.html). This simplifies a lot of the code I wrote, since you don't have to /repeatedly/ figure out the text order at each level of the block hierarchy. This should also make it easier to hook in accessibility efforts on top of poppler. * implement some automated testing of text extraction via the command line; changing how reading order is guessed always introduces regressions, so any time I do anything right now I need to check it out in a dozen or so documents. Its needlessly painful. This added a command line tool to exercise the AccessibleText-style interface, so I don't need to patch evince to make progress, and don't break the existing tools. * All of this means a new Device class in poppler, since as well as completely replacing the internals, the interface is completely different, and hence evince needs to change as well to integrate it. That's not going to happen quickly, I suspect. I mention all this to make it clear that I'm not actively developing the old patch any more, I've moved on to looking at a long-term solution. I'm of the opinion that the old patch is a big improvement, but I'm not getting code review feedback upstream either (I know it doesn't help when I can only work on this from time to time) -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
As far as I know, this is not going to make it into Lucid, because of the patches not being incorporated upstream and neither reviewed. It is a shame, but it seems we have both policy and upstream inactivity (no complaint, just Brian seems to be busy otherwise) against it. For the time being (until Lucid+1?), there's always my PPA: https://launchpad.net/~arand/+archive/poppler -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
I really hope that this bug is fixed for Lucid by Ubuntu people as it will probably not be fixed by evince folks in time for lucid. This is a really annoying bug and one that really brings down the usefulness of evince a lot. to just put into perspective how annoying this bug is, this same feature was added in OSX for Leopard release and it's release page lists new feature and this feature was also amongst the few features highlighted. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
@aloctavodia Glad to hear it works. Note that I am in no way involved with the coding of these patches, all credit should go to Brian Ewins and Marek Kasik. I have simply packaged their patches for ease of installing. All feedback/suggestions that doesn't concern the packaging and/or are strictly ubuntu specific, should be directed to: https://bugs.freedesktop.org/show_bug.cgi?id=3188 -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
@arand I install the popller libraries from your ppa, the problem is almost fixed I tried ten different pdfs (all scientific papers from different journals) and I don´t have any problem with the text selection!!! this is great!!! I only had a problem with one pdf that I generate from a odt file using OpenOffice.org. Please let me know which information do you need I could send you the "problematic pdf file". Thanks man for your time and effort!!! -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Added rough debdiff for Lucid as well, and testing packages in my PPA. Anyone care to do any testing? ** Patch added: "rough_poppler_0.12.4-0ubuntu1.1.debdiff" http://launchpadlibrarian.net/39815138/rough_poppler_0.12.4-0ubuntu1.1.debdiff -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
thank you for your efforts there though, testing feedback from the ppa is welcome -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
would be nice to have the change reviewed by upstream before considering it tough -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
** Tags added: patch -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Testing packages for the upstream patches, for ubuntu 9.10, are available from my "poppler" ppa, (nil safety included). _rough_ debdiff attached (e.g. patches are not in upstream master yet (as far as I know), changelog might be a tad bit too verbose). But it would definitely be great if we could get this into Lucid at least. ** Patch added: "rough_poppler_0.12.0-0ubuntu2.2.debdiff" http://launchpadlibrarian.net/39436317/rough_poppler_0.12.0-0ubuntu2.2.debdiff -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Happy to see that bug is also annoying others. In most of the double column pdf docs evince is not able to select the contents of just one column. It selects the rows from all columns. It is the major reason forcing me to use Adobe reader (the other is minor, tabbed windows). Thank you -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
It seems that there are TWO bugs being discussed in this ONE lp bug report: * Original bug does not mention anything about selection, only PASTE. This suggests a problem with the format of text that already has been selected. "Pasting tables cells in strange order, Bug#: 3188" ( https://bugs.freedesktop.org/show_bug.cgi?id=3188 ) * Later (e.g. comment #7), a SELECTION bug is mentioned. "selection expands in unexpected ways, Bug#: 4006" ( https://bugs.freedesktop.org/show_bug.cgi?id=4006 ) Also, the "duplicates" of this bug mention these two types of issues separately as well. I can't seem to add the 4006 bug to the watcher on this. ** Bug watch added: freedesktop.org Bugzilla #4006 https://bugs.freedesktop.org/show_bug.cgi?id=4006 -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Wouter: I'll see what I can do, but it might be a while. I've never built a PPA either (and had to look that up). I recently gave up on using Gnome Dev Kit (Foresight Linux) for an Ubuntu 9 VM, so who knows, there may be tools on that to help me. However, I don't have much time to work on this and what I have might be better spent nailing issues I already know about...which is a neverending task. Now that I have (some) RTL support in there I need to worry about page rotation with RTL, bidi text, etc. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Hi Brian, thanks for working on this! Could you put a patched version in a PPA? I am more than willing to test this but I have no experience with patching/building software... -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
I've uploaded an updated patch series to https://bugs.freedesktop.org/show_bug.cgi?id=3188 , with corrections to selection and reading order. Those of you who can apply these and rebuild evince might want to give this a go? Comments over there please! For me it fixes up selection for most (but not all) of the documents on the various dupes of this bug, including the one at comment #7. If you're going to tell me about a document it doesn't work on, don't paste a link, upload the pdf, please (half of the reported-buggy docs are dead links now). Caveats: doesn't cover RTL or documents with rotated text. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
David #19: you say "it perhaps recognizes column stuff from the display layout instead of the internal representation." In PDF, the internal representation *is* just the display layout. Internally, poppler tries to divide this text into blocks (roughly paragraphs) which are then grouped into columns based on spacing, and independently into 'flows' (roughly, sequences of similar blocks in reading order), based on a bunch of heuristics. This is already tricky, but is made more complicated by text rotation, and different writing systems (vertical, right to left, etc). Acrobat and Apple's Preview use different heuristics, so they group text differently, and make a mess of things on different documents - but they still make a mess of things. Just explaining what's going on here; this isn't to say that text selection can't be improved. I'm slowly putting together a patch based on the reading order sort described in http://pubs.iupr.org/#2003 -breuel-sdiut , which seems to be fixing some of the problems with the attachment in #7. However as I said to Andres I have no idea when or if my patches would be accepted. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 33288] Re: Evince doesn't handle columns properly
You've got to be careful here. There is another bug that I filed, incorrectly classified as a duplicate, that has related but in some ways opposite behavior. (I'm traveling and writing this from a hotel room, and it is impossible for me to look up the bug number right now.) In that bug the text is a very large number of equal-sized words set in a fixed width font. Thus they appear to be in columns, but in reality is is not column data. Yet it behaves a bit like column data. If I recall correctly the value that should be in the upper right corner is replaced, in the paste, by the value that displayed directly above it. This makes me think that it perhaps recognizes column stuff from the display layout instead of the internal representation. -- David Jacobson --- On Tue, 11/10/09, Andres Monroy-Hernandez wrote: > From: Andres Monroy-Hernandez > Subject: [Bug 33288] Re: Evince doesn't handle columns properly > To: dmj2718...@yahoo.com > Date: Tuesday, November 10, 2009, 3:25 PM > ** Description changed: > > -- > Evince doesn't handle columns properly > https://bugs.launchpad.net/bugs/33288 > You received this bug notification because you are a direct > subscriber > of a duplicate bug. > > Status in Poppler: Confirmed > Status in “poppler” package in Ubuntu: Triaged > > Bug description: > When making a multi column selection from a PDF like this: > > http://www.specialist-games.com/mordheim/assets/lrb/1Rules.pdf > > And pasting the result into OpenOffice.org the columns are > not maintained. The results unusable because the text from > both columns becomes mixed. > > Please note, this is not a PDF problem, using Adobe Acrobat > Reader 7.x under Windows does properly copy-paste columned > text over to OpenOffice.org. > > Regards, > Pascal de Bruijn > > > -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Jezza, thanks for taking the initiative. I think it might be better to point at the bug in their bug tracking system since they probably do not care as much about launchpad: https://bugs.freedesktop.org/show_bug.cgi?id=3188 I did contact the person who submitted the last patch: https://bugs.freedesktop.org/show_bug.cgi?id=3188#c30 to see if he was interested in fixing the bug but he said he doesn't have time for it nor the need for additional income :) I guess writing to some of the other people involved in this bug or in evince as a whole would help. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
** Description changed: -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
I will send the following email to the developers of evince, I imagine they know the most about it, and the person best qualified to fix it. "Dear Evince Developers, I would like to point out a minor bug in Evince, and would ask if / how this bug could be addressed and fixed. It is quite annoying, and affects a common activity (copy and paste) The issue is that when you copy text from a pdf with columns in evince, the text is selected from both the columns, which makes a mess when you paste it. Please refer to this bug and its many duplicates for better/alternative descriptions. https://bugs.launchpad.net/bugs/33288 Thanks for your great program, and consideration, Jezza" There is probably a less direct channel, but I would like to go to the source -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Incidentally, I have switched to Adobe reader solely for this reason, but I really am not happy with this "solution." -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
I would contribute some $. Is there a mechanism in place to do this, to earmark it for this bug? -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 33288] Re: Evince doesn't handle columns properly
Good idea. On Mon, 2009-11-09 at 13:58 +, Andres Monroy-Hernandez wrote: > The number of ubuntu users who read scientific articles is probably > high. Perhaps we can advertise this bug more broadly to get more > attention. Maybe we could even contribute a bit of money towards paying > a developer to fix this. If people are willing to pay money to buy > things like EndNote I can imagine some people willing to pay towards > getting this fixed. > -- -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
The number of ubuntu users who read scientific articles is probably high. Perhaps we can advertise this bug more broadly to get more attention. Maybe we could even contribute a bit of money towards paying a developer to fix this. If people are willing to pay money to buy things like EndNote I can imagine some people willing to pay towards getting this fixed. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Yep, I also find this of medium annoyance, these are the little things that put people off ubuntu. Probably not very glamorous to fix, but i am not a programmer either. i second the above, should be fixed ASAP (i posted this as part of the 100 papercuts) -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 33288] Re: Evince doesn't handle columns properly
On Mon, 2009-11-09 at 13:01 +, Neil Bennett wrote: > Same problem with trying to select text from a single column in a two > column document (i.e. virtually all scientific papers that I read). I > attempt to highlight lines from one column and the entirety of the > adjacent column is also selected. Seems like a very silly problem that > should be fixed ASAP. > > Yet it persists for years. I wish I could help. I got no programming skills. -- -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Same problem with trying to select text from a single column in a two column document (i.e. virtually all scientific papers that I read). I attempt to highlight lines from one column and the entirety of the adjacent column is also selected. Seems like a very silly problem that should be fixed ASAP. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
Yes. It is very difficult to untangle the desired text from the 'selected' text. This is a basic issue that I'm sure all would like resolved. Thanks. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
I'm also experiencing this problem. Looking forward to having a solution for this problem that has been around for a couple of years now! -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
I have a similar problem. When trying to select a paragraph of text in a multicolumn document, evince selects text from other columns too and so the whole lot is copied. I am using Ubuntu 9.04 with Evince Document Viewer 2.26.0. You can try the bug using the attached PDF. Try selecting any text in a column and the other columns will be selected. I know this is not a problem with the PDF as text selection works fine using Foxit Reader for Linux. All the PDF documents I read are papers which are written using multiple columns, so this is a very frustrating bug for me! ** Attachment added: "HE-News-Winter-2009.pdf" http://launchpadlibrarian.net/26151490/HE-News-Winter-2009.pdf -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
** Summary changed: - [MASTER] Evince doesn't handle columns properly + Evince doesn't handle columns properly -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
I confirm it. Evince doesn't work properly with two-column documents. If I select some text in one column and there is a line break in another one, text is not selected properly. See attachment. ** Attachment added: "two-column" http://launchpadlibrarian.net/19333260/two-column -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
This sux. Also, It'd be cool to open PDFs inside Firefox just like when using Adobe's program. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
I can also confirm this. It's very annoying having to reopen a document on Adobe Acrobat for Linux whenever I realize it has multiple columns. -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
** Changed in: poppler (Ubuntu) Status: Confirmed => Triaged -- Evince doesn't handle columns properly https://bugs.launchpad.net/bugs/33288 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
** Changed in: poppler (Ubuntu) Status: Unconfirmed => Confirmed -- Evince doesn't handle columns properly https://launchpad.net/bugs/33288 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
It seems 'pdftotext' can properly handle columns. -- Evince doesn't handle columns properly https://launchpad.net/bugs/33288 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 33288] Re: Evince doesn't handle columns properly
** Changed in: poppler (upstream) Status: Unconfirmed => Confirmed -- Evince doesn't handle columns properly https://launchpad.net/bugs/33288 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs