History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-2131
Type: Bug Bug
Status: Verified Verified
Resolution: Fixed
Priority: P1 P1
Assignee: Mark Davis
Reporter: Antun Karlovac
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

Lazily replicated images cause LzMediaLoader to fail when loaded quickly

Created: 03/Jun/06 02:04 AM   Updated: 02/Feb/07 09:52 AM
Component/s: Laszlo Foundation Classes (LFC)
Affects Version/s: 3.3
Fix Version/s: 3.3.2, 3.3.3

Time Tracking:
Not Specified

File Attachments: 1. File scrollinglazyimages.tgz (683 kb)


Severity: Major
Runtime: N/A
Flags: Support
Fix in hand: False


 Description  « Hide
This appears to be a regression, as I can't reproduce in 3.0. I've tested it in lps-dev, and apparently it is present in 3.1.1.

Run attached example.
Scroll through list slowly (everything should work fine).
Now quickly drag the scrollbar thumb left and right. Go very quickly, lots of times.

Sooner or later most or all the lazily replicated views will be blank. Leave the scrollbar thumb alone for 30 seconds, and you will see the "WARNING: «LzMediaLoader#7| «MediaLoadObj#6| images/S68-40887_t.jpg (timedout)»».returnData: «MediaLoadObj#6| images/S68-40887_t.jpg (timedout)» already loaded» {" error message.

At this point media loading is broken. Try typing something like "canvas.width" into the debugger. Scrolling the thumb further does nothing to reload the images.

-Antun

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Amy Muntz - 05/Jun/06 12:17 PM
Assigning to Henry to fix in 3.3.2.

Amy Muntz - 14/Jun/06 03:53 PM
On Jun 14, 2006, at 8:56 AM, Max Carlson wrote:
It can happen when a view is data bound and gets recycled. Its
loader can be in use when the second setSource call happens. I was able to
leak connections with only 3 views making two setSource calls
back- to-back.

P T Withington wrote:
. I'd be interested to know how a request that is already in
progress gets made again. This is another rat's nest that needs to be rethought.

Approved.

Jim Grandy - 16/Jun/06 05:35 PM
Integrated into branches/openlaszlo/3.3 and lps-3.3.