Bug 4841 - SWT sample imageviewer nothing display at pixel data area (1GKEOUE)
Summary: SWT sample imageviewer nothing display at pixel data area (1GKEOUE)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 98
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Curtis d'Entremont CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-11 14:23 EDT by Mike Wilson CLA
Modified: 2002-05-29 15:24 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Wilson CLA 2001-10-11 14:23:59 EDT
In the verification of 1GK9NGK, I discovered that the pixel data area displayed nothing 
for the jpeg image.

STEPS
1) Invoke the imageviewer sample
2) Open the sample.jpg that Windows2000 has as default 
3) The Pixel area displays nothing
4) Open winlogo.gif under windows directory
5) The Pixel area displays some byte data
6) Open again the sample.jpg
7) The Pixel area displays the data of winlogo.gif


NOTES:
Comment 1 DJ Houghton CLA 2001-10-29 16:42:42 EST
PRODUCT VERSION: build 136a


Comment 2 Mike Wilson CLA 2002-05-24 19:29:30 EDT
Please retest and either mark PR as FIXED or LATER as appropriate.
Comment 3 Carolyn MacLeod CLA 2002-05-27 18:24:46 EDT
This is a bug in the Windows 98 Text widget (aka EDIT control).
When the image is very large (i.e. Sample.jpg has 24-bit data) there is too 
much data to display, so the text widget chooses to display nothing.
This is not an Image bug or an ImageAnalyzer bug.
It could be fixed by using a StyledText instead of a Text.

If this is a real problem for someone, we could switch the example to 
StyledText.  McQ? Comments?  Should we just use StyledText?
Comment 4 Mike Wilson CLA 2002-05-28 09:13:52 EDT
Don't care. If that's what the problem is it's low priority. Could get the co-
ops to swap in a StyledText if desired.
Comment 5 Mike Wilson CLA 2002-05-28 10:59:40 EDT
FH to assign this to one of the co-ops when they finish up what they're 
working on now.
Comment 6 Carolyn MacLeod CLA 2002-05-28 13:53:20 EDT
After switching to StyledText, might be a useful addition to make the 
first 'column' of the data (i.e. the row numbers) be bold or something, so they 
stand out...
Comment 7 Curtis d'Entremont CLA 2002-05-29 15:24:23 EDT
Fixed.

Switched to StyledText, now works in win98. Also added Carolyn's suggestion for 
making the first column bold.