Bug 36098 - Messed up transparency in copy/paste image from browser
Summary: Messed up transparency in copy/paste image from browser
Status: RESOLVED DUPLICATE of bug 33114
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
3.5.0 Beta2
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-09 02:37 UTC by Callegar
Modified: 2012-01-24 13:19 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
test case (3.98 KB, image/png)
2011-04-09 02:39 UTC, Callegar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Callegar 2011-04-09 02:37:05 UTC
On linux (kubuntu 10.10 64bit)

To reproduce

1) open attached file (test-transparency.png) with firefox (or another web browser, or the gimp)

2) Copy the image

3) Paste it into a libreoffice drawing or presentation

See that transparent part of the image become black.

IMHO this is a nasty bug since it hinders the possibility of copying images from the web onto a presentation... one of the first experiments that one attempts to try a presentation program.
Comment 1 Callegar 2011-04-09 02:39:33 UTC
Created attachment 45435 [details]
test case
Comment 2 Callegar 2011-04-09 02:42:46 UTC
Maybe related to Bug 36097.

In 36097 the transparency becomes white.
Here the transparency becomes black.
Comment 3 Jan Holesovsky 2011-04-14 14:25:30 UTC
Indeed, reproduced.
Comment 4 Callegar 2011-05-31 09:36:27 UTC
I am started to wonder whether this is a bug in libreoffice or a bug in the X clipboard.

I seem to have the same issue when copying images with a transparent background from the web to the gimp.

I wonder if this should be sent to the X developers instead.
Any ideas?

Does copying of images with transparency work on windows?
Comment 5 pm 2011-06-16 10:40:06 UTC
I just made some test:

- On Linux (Debian testing with some packages from unstable): If I copy a PNG with transparency from Iceweasel 4.0.1 to LibreOffice 3.3.2 the resulting image has a black background, and the same happens with Opera and Epiphany. Instead, it works (correctly retaining transparency infos) using Google Chrome (but I think  Chrome copies image URL only, not the whole PNG). 
Saving the image from Iceweasel to disk and then inserting from file works.

- On WINDOWS XP: copying an image from Firefox to OpenOffice (sorry...) causes black background, while copying the same from Internet Explorer retains transparency correctly.

- If I try to copy the PNG image from Firefox\Iceweasel to Inkscape (on Linux), it works correctly.

But... on Windows, copying the same PNG from Firefox to MS Word 2007 causes the same black background that happens in LibreOffice!
Comment 6 Björn Michaelsen 2011-12-23 12:02:48 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 7 Callegar 2011-12-27 03:36:25 UTC
Confirmed in 3.5.0 beta 2
Comment 8 Sebastian Held 2012-01-24 13:19:12 UTC

*** This bug has been marked as a duplicate of bug 33114 ***