Bug 46607 - EDITING: Background colors in HTML table cells are not copied from Firefox/Chrome on Mac OS X
Summary: EDITING: Background colors in HTML table cells are not copied from Firefox/Ch...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Spreadsheet (show other bugs)
Version: 3.3.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-25 02:34 UTC by danielax
Modified: 2014-12-11 11:33 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description danielax 2012-02-25 02:34:56 UTC
Problem description: 

When attempting to paste in a HTML table copied from Firefox or Chrome on Mac OS X, the background colours of cells are lost.

Steps to reproduce:
0. Create a blank, empty spreadsheet.

1. With Firefox or Chrome, select and copy a table, or part thereof, that contains cells with a background colour. I'm using <http://dja.ucc.asn.au/spreadsheetbug.html> because I'm using it in another bug report (#46605). 
[Note you may need to tell your browser to view my page as unicode: the first column should be a triangle, not gibberish]

2. Click on A1, paste.

Current behavior:
Background colours are lost. All other formatting is OK.

Expected behavior:
The pasted table is equivalent to the HTML table. 

Note that pasting the same thing into TextEdit keeps the background colour, so it is making it into the clipboard and not getting dropped at the browser.

[This bug does not affect copying from Safari. However, copying from that results in a different bug: #46605.]

Platform (if different from the browser): Mac OS X 10.6.8
              
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11
Also affects Firefox 10.0.2
Comment 1 sasha.libreoffice 2012-05-24 03:42:39 UTC
Thanks for bugreport
Reproduced in 3.3.4 and 3.5.3 on Fedora 64 bit and in 3.5.2 on Windows 7 32 bit
In both cases copied from Firefox
Changing version to 3.3.4 as most early reproducible

What is interesting: LibreWriter and msExcel 2007 paste this as plain text
Comment 2 foss 2014-12-11 11:33:21 UTC
works when pasting to excel 2011 for OSX

OSX 10.10.1, LO Version: 4.5.0.0.alpha0+
Build ID: 6e91763769a562b88882a4c2a94b1367c6ed4866
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2014-12-11_02:24:05
Locale: de_

persisting. no background color is pasted.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.