Bug 152276 - [Linux] Black background for icons/blurred icons on GTK
Summary: [Linux] Black background for icons/blurred icons on GTK
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Linux-GTK
: P3 normal
Target Milestone: 2.1   Edit
Assignee: Anthony Hunter CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 156214 (view as bug list)
Depends on: 164691
Blocks:
  Show dependency tree
 
Reported: 2006-07-30 13:13 EDT by Fedor Isakov CLA
Modified: 2010-07-19 21:58 EDT (History)
7 users (show)

See Also:


Attachments
Screenshot of a diagram with an improperly displayed icon (15.10 KB, image/jpeg)
2006-07-30 13:15 EDT, Fedor Isakov CLA
no flags Details
Blurred icons and icons with black background on GTK (2.90 KB, image/png)
2006-08-12 18:39 EDT, Fedor Isakov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fedor Isakov CLA 2006-07-30 13:13:47 EDT
I'm having a weird problem with GMF 1.0 diagrams running under Ubuntu 6.06. The icons background (which is supposedly transparent) sometimes turn black. I suspect this is a problem with draw2d/swt, but I couldn't find appropriate bugreport.

I'll attach a screenshot to demonstrate the problem.
Comment 1 Fedor Isakov CLA 2006-07-30 13:15:25 EDT
Created attachment 47028 [details]
Screenshot of a diagram with an improperly displayed icon
Comment 2 Fedor Isakov CLA 2006-08-12 18:38:03 EDT
There's more to the problem. The icons on diagram look blurred as though they were scaled down and then back again. This can be seen when the same icons are being displayed in the popup toolbar. I'll attach another picture to show this effect. 

None of this happens on Windows XP.
Comment 3 Fedor Isakov CLA 2006-08-12 18:39:57 EDT
Created attachment 47817 [details]
Blurred icons and icons with black background on GTK
Comment 4 Benjamin Muskalla CLA 2006-09-01 08:58:23 EDT
This seems to be a SWT issue. Same thing (black background) in Package Explorer for mime-types other than the IDE ones (eg. OpenOffice files)
Comment 5 Dmitry Stadnik CLA 2006-09-04 13:41:23 EDT
You could reopen #34980 if this is still an issue or find newer reports.
Comment 6 Fedor Isakov CLA 2006-09-04 14:27:37 EDT
(In reply to comment #5)
> You could reopen #34980 if this is still an issue or find newer reports.

What about the "blurred icon" aspect of this bug? I don't see it addressed at all. Are you 100% sure this is an SWT problem? How is "WONTFIX" status justified,  is GTK2 platform not supported?
Comment 7 Dmitry Stadnik CLA 2006-09-05 06:08:50 EDT
I mean that this bug shouldn't be fixed in context of GMF; generated code should not contain any special tweaks to prevent blurred images on GTK. GMF delegates all images handling to SWT (draw2d too) so the problem is most likely there but if you could investigate this issue a bit further it would be great!
Comment 8 Fedor Isakov CLA 2006-09-08 13:01:40 EDT
(In reply to comment #7)
> I mean that this bug shouldn't be fixed in context of GMF; generated code
> should not contain any special tweaks to prevent blurred images on GTK. GMF
> delegates all images handling to SWT (draw2d too) so the problem is most likely
> there but if you could investigate this issue a bit further it would be great!
> 

I never suggested this issue should be fixed in GMF. Obviously, SWT/Draw2D is likely to be blamed, but for SWT developers it might be difficult to trace the exact execution paths from GMF. I don't feel competent enough to dig into this, so I figured GMF developers could look into the problem and provide necessary input for the SWT team... 

Anyway, just closing your eyes to a problem doesn't make it magically disappear.
Comment 9 Dmitry Stadnik CLA 2006-09-13 03:15:45 EDT
Check in context of this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=22490
Comment 10 Seweryn Niemiec CLA 2006-11-06 03:44:07 EST
Not only icons. Nodes' SVG figures too. This makes diagram editors useless on Linux platform (tested on Ubuntu Dapper and Debian Sid). I can't show such crappy application to customer. Is anyone working on this bug? Corresponding SWT bug is RESOLVED,WONTFIX and I can't change its status. It's funny, open source platform supports well proprietary OS but not open-source.
Comment 11 Fedor Isakov CLA 2006-11-15 07:23:26 EST
I'm currently unable to reproduce this on Ubuntu Edgy, but only because the icons are not displayed at all. See bug 164623 for more details.
Comment 12 David Cummings CLA 2006-11-15 13:35:16 EST
After further investigation into this issue and discussion with members of SWT, it seems like this is an SWT related issue.  Raised Bugzilla #164691 against SWT.
Comment 13 Anthony Hunter CLA 2006-11-15 13:59:16 EST
*** Bug 156214 has been marked as a duplicate of this bug. ***
Comment 14 Fedor Isakov CLA 2006-11-16 13:20:31 EST
Turning anti-aliasing off, the same workaround as described in comment 19 for bug 164623, fixes this issue on Ubuntu Edgy.

Comment 15 Anthony Hunter CLA 2007-01-29 16:53:08 EST
Moving to 2.0 since we are blocked in SWT right now.
Comment 16 Anthony Hunter CLA 2007-06-19 11:10:54 EDT
Moving to the next release, GMF 2.1.
Comment 17 Eclipse Webmaster CLA 2010-07-19 21:58:04 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime was the original product and component for this bug