Launchpad has imported 5 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=45955.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-02-12T17:03:27+00:00 Pacho Ramos wrote:

Any text selected and copied from a PDF document in evince, both via Ctrl-C and
the right-click menu, gets a newline appended at the end when pasted into
another program. Happens with every single pdf document that I have tried.

As discussed downstream in:
https://bugs.gentoo.org/show_bug.cgi?id=402071

This seems to be caused by poppler-0.18.3 and can be fixed with the following 
patch:
https://bugs.gentoo.org/show_bug.cgi?id=402071#c5

Reply at: https://bugs.launchpad.net/poppler/+bug/792076/comments/3

------------------------------------------------------------------------
On 2012-02-12T19:19:49+00:00 Albert Astals Cid wrote:

Are you saying this is new behaviour in poppler 0.18.3?
Have you verified your patch does not change pdftotext output?

Reply at: https://bugs.launchpad.net/poppler/+bug/792076/comments/4

------------------------------------------------------------------------
On 2012-02-14T08:42:01+00:00 Pacho Ramos wrote:

>From downstream report:

> Are you saying this is new behaviour in poppler 0.18.3?
No. As far as I can see the relevant part of TextOutputDev.cc is the same in
poppler-0.16.7. The behavior is new to me only because I solely used xpdf over
the last decade and even the 'popplerized' xpdf in gentoo is not affected (I
think it doesn't use poppler for text copying).
> Have you verified your patch does not change pdftotext output?
I just did a pdftotext of two pages of an pdf document with and without my
patch applied and diff says the output is identical. And I'm very confident
that this will always be ok as my change is in function
TextSelectionDumper::getText which as far as I can see is not used by
pdftotext.

Reply at: https://bugs.launchpad.net/poppler/+bug/792076/comments/5

------------------------------------------------------------------------
On 2012-02-14T18:09:22+00:00 Albert Astals Cid wrote:

Not cairo backend related (TextSelectionDumper is only used by it but
that doesn't mean it is cairo backend exclusive).

Reply at: https://bugs.launchpad.net/poppler/+bug/792076/comments/6

------------------------------------------------------------------------
On 2012-02-14T18:13:04+00:00 Albert Astals Cid wrote:

Carlos since it mostly affects the glib frontend (it's the only user of
the TextSelectionDumper stuff) i'll leave it for you

Reply at: https://bugs.launchpad.net/poppler/+bug/792076/comments/7


** Changed in: poppler
       Status: Unknown => Confirmed

** Changed in: poppler
   Importance: Unknown => Medium

** Bug watch added: Gentoo Bugzilla #402071
   http://bugs.gentoo.org/show_bug.cgi?id=402071

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/792076

Title:
  evince copy adds a newline character

Status in Poppler:
  Confirmed
Status in “poppler” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: evince

  Copy paste from a PDF document using evince results in the addition of
  a newline character to the end of the pasted text. This is possibly
  seen as a convenient feature, but in reality more often than not
  results in the need to delete the new line.

  $ lsb_release -rd
  Description:  Ubuntu 10.04.2 LTS
  Release:      10.04

  evince             2.30.3-0ubuntu1.2  Document (postscript, pdf)
  viewer

  Expected behaviour: Copying and pasting text from a PDF document
  should result in the text selected from the PDF being included in the
  new location without alteration.

  Oberved behaviour: The pasted text is altered with the addition of a
  new line.

To manage notifications about this bug go to:
https://bugs.launchpad.net/poppler/+bug/792076/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to