Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345972 - Transparent pixels lost when copying image that was directly read from file
Summary: Transparent pixels lost when copying image that was directly read from file
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 4.12 M1   Edit
Assignee: Xi Yan CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
: 103691 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-16 11:38 EDT by Markus Keller CLA
Modified: 2019-04-09 10:56 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2011-05-16 11:38:29 EDT
I20110512-2000, already happens in 3.6

This is the GTK version of bug 310387.

On Cocoa and on Windows 7, only certain images cause a problem with transparent pixels. But as the testbed in bug 310387 comment 9 and the screenshot in the next comment show, GTK has a problem with all images that have been loaded using the Image(Device device, String filename) constructor and then copied using SnippetBug310387#createCenteredTableItem(String).
Comment 1 Markus Keller CLA 2011-05-17 06:03:13 EDT
With bug 345180, we released a workaround to HEAD of AnnotationsConfigurationBlock, so the original problem is not prominent any more on the preferences page (just the 'Override Indicators' annotation image has a small white rectangle).
Comment 2 Xi Yan CLA 2018-09-07 10:09:00 EDT
Still reproducible on GTK3.22, 4.9 RC2, and Fedora 28.
Comment 3 Eclipse Genie CLA 2019-03-29 11:54:04 EDT
New Gerrit change created: https://git.eclipse.org/r/139773
Comment 4 Xi Yan CLA 2019-03-29 15:26:16 EDT
*** Bug 103691 has been marked as a duplicate of this bug. ***
Comment 6 Xi Yan CLA 2019-04-04 09:58:02 EDT
The new fix for this bug is addressed in the following patch. 

Gerrit change https://git.eclipse.org/r/139987 was merged to [master].
Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=2dfa77fb07779dbb9c647dc96a4c6628321df4a3
Comment 7 Xi Yan CLA 2019-04-09 10:56:32 EDT
Verified in I20190403-1800.