Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366130 - Thumbnails flashing as full size
Summary: Thumbnails flashing as full size
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.4 M2   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-08 22:14 EST by John Arthorne CLA
Modified: 2011-12-12 16:10 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2011-12-08 22:14:40 EST
I20111208, Chrome 16

When expanding or going into a Navigator folder containing images, I see a quick flash of the images at full size before they are resized as thumbnails. This looks bad.
Comment 1 Mark Macdonald CLA 2011-12-09 10:20:09 EST
Probably because the resizing is done inside an 'onload' handler on the thumbnails. Could we give a CSS max-width and max-height on the thumbnails instead?
Comment 2 Susan McCourt CLA 2011-12-09 13:00:46 EST
(In reply to comment #1)
> Probably because the resizing is done inside an 'onload' handler on the
> thumbnails. Could we give a CSS max-width and max-height on the thumbnails
> instead?

good idea, I'll try it.  
Marking M2, this problem has been around since 0.3 so I don't feel compelled to push a fix for M1.
Comment 3 Susan McCourt CLA 2011-12-12 16:10:30 EST
fixed.  There was a bunch of styling in the thumbnail creation that needed to be pulled out into a CSS class.  Adding max-width and height which allowed me to remove the "shrinking" post-load computation.