https://bugs.documentfoundation.org/show_bug.cgi?id=106483
Bug ID: 106483
Summary: Copy and paste from web page with hyperlink does not
copy entire selection
Product: LibreOffice
Version: 5.1.4.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: minor
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
When I highlighted a section of a web page and attempted to copy it into a
document, only part of the selection was copied.
Steps to Reproduce:
1. Go to this web page [1]. The words “Jesus Christ” are highlighted in yellow,
since that was the phrase I searched for.
2. Highlight entire verse [2], including chapter and verse in blue (2 Nephi
26:12), which is a hyperlink, and
a. press ctrl-c OR
b. right-click mouse and select copy
3. Copy selection into a document
4. Note that only part of the selection (verse) is copied:
2 Nephi 26:12
[ missing words ] Jesus is the very Christ, it must needs be that the Gentiles
be convinced also that Jesus is the Christ, the Eternal God;
The first part of the verse up to the highlighted word “Jesus” is missing!
5. Scratch head, lol, and repeat steps 2-4 to confirm that it was done
correctly
Yes it was done correctly, and is repeatable.
6. Go back to web page and copy only the verse, but NOT the chapter and verse
in blue. [3]
7. Copy selection into a document
8. Note that all of the selection (verse) is copied [3]
9. Write bug report, including source code for specific section of web page
[4].
Could it be that the problem is in the “snippet” tag OR , the <h3></h3> pair
OR the <span class="highlight">Jesus</span> pair?
I did a file search of entire git directory structure (libo) and could find no
reference to any of these html tags. Where are they handled?
Actual Results:
Only part of the highlighted section of a web page was copied into writer
document.
Expected Results:
Entire highlighted section of a web page should be copied into writer document.
Reproducible: Always
User Profile Reset: No
Additional Info:
[1]
https://www.lds.org/scriptures/search?lang=eng&query=Jesus+Christ&testament=bofm&type=verse
[2] 2 Nephi 26:12
12 And as I spake concerning the convincing of the Jews, that Jesus is
the very Christ, it must needs be that the Gentiles be convinced also that
Jesus is the Christ, the Eternal God;
The words “Jesus Christ” are highlighted in yellow on the web page, since that
was the phrase I searched for.
[3] And as I spake concerning the convincing of the Jews, that Jesus is the
very Christ, it must needs be that the Gentiles be convinced also that Jesus is
the Christ, the Eternal God;
[4] <li>
<h3><a
href="https://www.lds.org/scriptures/bofm/2-ne/26.12?lang=eng#11">2 Nephi
26:12</a></h3>
<p><snippet>12 And as I spake concerning the convincing of the Jews, that <span
class="highlight">Jesus</span> is the very <span
class="highlight">Christ</span>, it must needs be that the Gentiles be
convinced also that <span class="highlight">Jesus</span> is the <span
class="highlight">Christ</span>, the Eternal God;</snippet></p>
</li>
Linux Mint x64 using cinnamon desktop
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101
Firefox/51.0
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs