After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 691172 - I can not select as image to copy from djvu documents
I can not select as image to copy from djvu documents
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: general
3.6.x
Other Linux
: Normal enhancement
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on: 448739
Blocks:
 
 
Reported: 2013-01-05 09:32 UTC by Mikhail
Modified: 2018-05-22 14:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
DJVU test case (7.02 KB, application/octet-stream)
2013-01-05 20:12 UTC, Germán Poo-Caamaño
Details

Description Mikhail 2013-01-05 09:32:23 UTC
I can not select text or image for copy from pdf and djvu documents
Comment 1 Mikhail 2013-01-05 09:56:05 UTC
Example how it works on Windows: https://docs.google.com/open?id=0Bx6ITu9-_LFwQjViaEtMRmMtN2M
Comment 2 André Klapper 2013-01-05 10:00:13 UTC
Providing an example PDF, plus version info for "evince" and "poppler" is welcome.
Comment 3 Mikhail 2013-01-05 10:06:55 UTC
$ rpm -q evince
evince-3.6.1-2.fc18.i686
Comment 4 Mikhail 2013-01-05 10:10:06 UTC
Example djvu file https://docs.google.com/open?id=0B0nwzlfiB4aQNDV3WG5lc01QMkE
Comment 5 Mikhail 2013-01-05 10:14:26 UTC
$ rpm -q evince-djvu
evince-djvu-3.6.1-2.fc18.i686

$ rpm -q djvulibre-libs
djvulibre-libs-3.5.25.3-2.fc18.i686
Comment 6 Germán Poo-Caamaño 2013-01-05 18:01:50 UTC
(In reply to comment #0)
> I can not select text or image for copy from pdf and djvu documents

En evince is possible to select text and copy it (that is when the document has text and it is not an image inserted).  That said, please submit a PDF test case.
Comment 7 Mikhail 2013-01-05 18:58:18 UTC
On my video, you can see that I copy text as text to MS Office from djvu file from comment #4.
Comment 8 Germán Poo-Caamaño 2013-01-05 19:01:51 UTC
(In reply to comment #7)
> On my video, you can see that I copy text as text to MS Office from djvu file
> from comment #4.

We can not reproduce a bug if we do not have a PDF test case that shows it does not work.  I can also upload a video that shows copying the text working and that would leave us in the same place.

Please, upload a test case where copying text does not work, so we can reproduce the bug by ourselves.
Comment 9 Mikhail 2013-01-05 19:18:03 UTC
(In reply to comment #8)
> We can not reproduce a bug if we do not have a PDF test case that shows it does
> not work.  I can also upload a video that shows copying the text working and
> that would leave us in the same place.

Only PDF case test may be accepted? With djvu same problem. And I gave you djvu file with OCR layer.

> 
> Please, upload a test case where copying text does not work, so we can
> reproduce the bug by ourselves.

https://docs.google.com/open?id=0B0nwzlfiB4aQYkRpbzdMTHhWdHc
Comment 10 Germán Poo-Caamaño 2013-01-05 19:43:38 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > We can not reproduce a bug if we do not have a PDF test case that shows it does
> > not work.  I can also upload a video that shows copying the text working and
> > that would leave us in the same place.
> 
> Only PDF case test may be accepted? With djvu same problem. And I gave you djvu
> file with OCR layer.

I do not see any document attached, either pdf nor djvu.

> > Please, upload a test case where copying text does not work, so we can
> > reproduce the bug by ourselves.
> 
> https://docs.google.com/open?id=0B0nwzlfiB4aQYkRpbzdMTHhWdHc

That is a video, not a djvu nor pdf.
Comment 11 Mikhail 2013-01-05 19:58:45 UTC
(In reply to comment #10)
> 
> I do not see any document attached, either pdf nor djvu.
> 

File is too big 6Mb, this bug tracker couldn't allow attach this file here.

I upload it to Google Drive and share with all. 

https://docs.google.com/file/d/0B0nwzlfiB4aQNDV3WG5lc01QMkE/edit
Comment 13 Germán Poo-Caamaño 2013-01-05 20:12:13 UTC
Created attachment 232835 [details]
DJVU test case

Added test case of a djvu file where text can't be copied from evince.
Comment 14 Germán Poo-Caamaño 2013-01-05 20:14:52 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > 
> > I do not see any document attached, either pdf nor djvu.
> > 
> 
> File is too big 6Mb, this bug tracker couldn't allow attach this file here.

You do not need to upload the whole document.  Just one page that shows if fails is enough.

> I upload it to Google Drive and share with all. 
> 
> https://docs.google.com/file/d/0B0nwzlfiB4aQNDV3WG5lc01QMkE/edit

Thanks.  I took only the page 3 and I attached to the bug.

I also updated the summary line, because the problem you describe is only for DJVU files.
If you have a PDF test case, then attached it or file another bug.
Comment 15 Germán Poo-Caamaño 2013-01-05 20:20:36 UTC
It turned out that this  bug was already filed.

https://bugzilla.gnome.org/show_bug.cgi?id=448739

As one of the comments says, you can mimic the selection and press control-C (copy) and then paste it in another application and it works.  What is missing is the rendering part of the selection.

*** This bug has been marked as a duplicate of bug 448739 ***
Comment 16 Mikhail 2013-01-05 20:57:21 UTC
Oh I see. What about selection and copy as picture???? file another bug?
Comment 17 Germán Poo-Caamaño 2013-01-05 21:04:29 UTC
(In reply to comment #16)
> Oh I see. What about selection and copy as picture???? file another bug?

I think it would be better another bug (maybe referencing bug 448739).
Comment 18 Germán Poo-Caamaño 2013-01-05 21:06:46 UTC
I better reopened this, and update the subject.
Comment 19 GNOME Infrastructure Team 2018-05-22 14:55:42 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/323.