| Summary: | [Widgets] Icons with semi transparent pixels not shown correct when ALT+TAB | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Harry Hornreich <harryhorn> | ||||||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||||
| Status: | CLOSED WONTFIX | QA Contact: | Felipe Heidrich <eclipse.felipe> | ||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | snorthov | ||||||||
| Version: | 3.1 | Keywords: | triaged | ||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | stalebug | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Harry Hornreich
Can you attach the images please? Thanks. Created attachment 21998 [details]
Icon file that shows the problem. See black lines around icon when ALT+TAB
Created attachment 22376 [details]
screenshot
I ain't sure I'm seeing the problem you described. Please, check the screenshot
I attached. Does it show the problem ?
That is how I loaded the image and set it in the shell:
Image icon = new Image (display, PR97046.class.getResourceAsStream
("sample2.ico"));
shell.setImage(icon);
Felipe, did you try multiple images using Shell.setImages()? Have you tried both with and without the XP manifest? Created attachment 22422 [details]
screenshot 2
Harry, is this what you are getting ?
Steve, yes, I tested all these scenarios.
Try to open sample2.ico using IE, does IE shows the icon wrong too ? wrong == thick black border around the ballon. To reproduce this problem I had to lower the depth of my display from 32bit to 16bit (didn't test 24). This fails on IE. The icon depth is more than the depth of display.
You can detect this case in your code using:
ImageData data = new ImageData (PR97050.class.getResourceAsStream
("sample2.ico"));
if (data.depth > display.getIconDepth()) {
System.out.println("BAD icon " +data.depth + " display only " +
display.getIconDepth());
}
I just won't close this bug cause I believe this can be fixed on Windows XP,
but not in time for Eclipse 3.1
Your bug has been moved to triage, visit http://www.eclipse.org/swt/triage.php for more info. This is a one-off bulk update. (The last one in the triage migration). Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process: https://wiki.eclipse.org/SWT/Devel/Triage See Bug 518478 for details. Tag for notification/mail filters: @TriageBulkUpdate This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |