Ticket #16 (new defect)

Opened 5 months ago

Last modified 6 days ago

Problems loading XP-style ICO files

Reported by: baxissimo Assigned to: keinfarbton
Priority: major Milestone: dwt-win-3.3-01
Component: dwt-win Version:
Keywords: Cc:

Description

There seems to be a bug in the ICO loader that prevents it from loading ICO files that contain "XP" (32-bit w/alpha channel) icons. Actually it appears to work for files with a 16x16 32-bit icon, but for anything else (I tried 32x32 and 48x48) I get

   dwt.DWTException.DWTException: Invalid image

Sorry I don't have time to post a repro right now. Perhaps later.

Change History

05/04/08 11:55:04 changed by keinfarbton

Any chance you can verify Java SWT 3.3.2 does support this?

05/28/08 16:53:27 changed by keinfarbton

There was a bug for that in SWT. It was fixed in SWT 3.4M4. So there is a chance this works now with DWT 3.4M7.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=209854

Can you verify that is works now?

05/29/08 16:55:05 changed by keinfarbton

08/30/08 08:12:01 changed by keinfarbton

Do you have an example ICO file and sample code to reproduce?

Or does this match the SWT bug report 234644 ?