Bug 1099927

Summary: Copy & Paste from Website into LibreOffice Writer not really working out of the box
Product: [Fedora] Fedora Reporter: David Tonhofer <bughunt>
Component: libreofficeAssignee: Caolan McNamara <caolanm>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: caolanm, dtardon, erack, ltinkl, mstahl, sbergman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libreoffice-4.2.4.2-18.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-12 06:22:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Tonhofer 2014-05-21 14:22:13 UTC
Description of problem:
=======================

Copy & Paste

   from Firefox 29.0.1 into

   LibreOffice Writer 4.2.4.2-8.fc20

   on Fedora 20 with KDE...

Does not really work out of the box.


Mark HTML text in Firefox.

This being HTML text, I expect the formatting to be pasted, too (within limits).

However:

- Trying to paste into LibreOffice Writer reveals that the copied data is
  pure text only. 

- Previous behaviour (on Fedora 18) was full copying of formatting.

- The LibreOffice Writer "Paste Special" option is greyed out 
  (LibreOffice does not know there is formatted text that can be copied?)

Try to:

- Paste into Thunderbird: Works well!
- Paste into Calligra Words: Works well!

Try to:

- Copy & Paste from Calligra Words into LibreOffice Writer: Works well
- Copy & Paste from LibreOffice Writer into LibreOffice Writer: Works well

However:

- Once a successful Copy & Paste into LibreOffice Writer was done, the
  "Paste Special" option *becomes ungrayed* and you can select "Paste as
  HTML", which leads to successful pasting. 

  Still, by default is "paste as text", which may or may not be annoying
  depending on preferences. In my previous version, it pasted HTML no
  questions asked.

  It definitely doesn't match what is in the docs:
 
  https://help.libreoffice.org/Common/Paste_Special

  "When in Writer: When you paste HTML data into a text document, you can
  choose  "HTML format" or "HTML format without comments". The second 
  choice is the default; it pastes all HTML data, but no comments.

- I have had the case where the "Paste Special" becamed greyed out again
  for a new document, although presently it stays on.

Comment 1 Caolan McNamara 2014-06-05 13:15:35 UTC
This is probably the problem ahunt fixed a little while ago. I'll double check that.

Comment 2 Caolan McNamara 2014-06-05 13:59:43 UTC
yup, will be good in >= libreoffice-4.2.4.2-18.fc20

Comment 3 David Tonhofer 2014-06-05 17:36:17 UTC
Cool.

Comment 4 Fedora Update System 2014-06-06 07:58:16 UTC
libreoffice-4.2.4.2-18.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libreoffice-4.2.4.2-18.fc20

Comment 5 Fedora Update System 2014-06-10 02:51:26 UTC
Package libreoffice-4.2.4.2-18.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libreoffice-4.2.4.2-18.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-7106/libreoffice-4.2.4.2-18.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-06-12 06:22:27 UTC
libreoffice-4.2.4.2-18.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 David Tonhofer 2014-06-13 08:33:22 UTC
Excellent. It works!