Bug 176518 - EPF: unable to set shape icons to images already present in preview field
Summary: EPF: unable to set shape icons to images already present in preview field
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EPF (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Shashidhar Kannoori CLA
QA Contact: wang jun CLA
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2007-03-06 13:17 EST by Shashidhar Kannoori CLA
Modified: 2023-02-16 16:32 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shashidhar Kannoori CLA 2007-03-06 13:17:51 EST
Reported Issue:

When browsing elements of the pre-created plug-ins, certain work products, such as ‘design_model’, have predefined shape icons present in the viewer window.  These icons do map to images on the file system, but these images are larger than 32x32.

All work products in any plug-in contain these predefined shape-icons.

2) Error:
The problem is that a certain number of them do not match to an image on the file system.  When the user attempts to ‘select’ the shape icon and nominates the same image, they get the error (image to big).

This error occurs because the “same” image on the file system is not smaller than 32x32.  

3) To Reproduce:

1)	Unlock the plug-in
2)	Navigate to <Plugin>->Method Content-><content_pkg>->Work Products.
3)	Open ‘design_model’ and press ‘select’ on the shape icon preview window.
4)	Navigate to and select the image you see in the preview field.  In this case, 
 
RESULTS: error message above, as this image is larger than 32x32.  
DESIRED RESULTS: The user would like to be able to select the image present in the preview field.
Comment 1 Shashidhar Kannoori CLA 2007-03-06 14:45:18 EST
Fixed.

Removed the constraint of 32x32 for shapeIcon images. Tool will accept any image/icon size for shapeIcon.

Comment 2 wang jun CLA 2007-04-01 22:21:24 EDT
Fix is verified on EPF 1.2 build 20070330-1915
Comment 3 wang jun CLA 2007-04-18 02:03:03 EDT
Verified on EPF 1.2 build 20070417-1516 and closed.