Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9758 closed defect (fixed)

Slideshow problems

Reported by: davidjsullivan Owned by: Shane O'Sullivan
Priority: high Milestone: 1.4
Component: DojoX Widgets Version: 1.3.1
Keywords: slideshow Cc:
Blocked By: Blocking:

Description (last modified by dante)

Environment: Using Firefox/3.5.2 and IE 8 Using JSON file with references to local images

  • Problem 1: Each image is loaded twice.(happens 100% time)
  • Problem 2: The images are not loaded until they are needed. I have autoLoad set to true. (happens 100% time)
  • Problem 3: Every other image will display for only a very short time regardless of what I have the slideshowInterval set to. For example. In the log below I have slideshowInterval set to 10 seconds. You can see that images 1,3,5 appear 10 seconds after their previous image. However, images 2,4,6 appear for less than 1 second. (happens 70% time)
  • Problem 4: The slideshow does not display at all on IE. not sure if this is a bug in the test coe or not.

Displying index: 0, url: , and title: at time Thu Aug 13 2009 10:01:23 GMT-0400 (Eastern Daylight Time)
Loaded index: 0at time Thu Aug 13 2009 10:01:23 GMT-0400 (Eastern Daylight Time)
Loaded index: 0at time Thu Aug 13 2009 10:01:23 GMT-0400 (Eastern Daylight Time)
Displying index: 0, url: image0.jpg, and title: at time Thu Aug 13 2009 10:01:23 GMT-0400 (Eastern Daylight Time)
Loaded index: 1at time Thu Aug 13 2009 10:01:33 GMT-0400 (Eastern Daylight Time)
Loaded index: 1at time Thu Aug 13 2009 10:01:33 GMT-0400 (Eastern Daylight Time)
Displying index: 1, url: image1.jpg, and title: at time Thu Aug 13 2009 10:01:33 GMT-0400 (Eastern Daylight Time)
Loaded index: 2at time Thu Aug 13 2009 10:01:33 GMT-0400 (Eastern Daylight Time)
Loaded index: 2at time Thu Aug 13 2009 10:01:33 GMT-0400 (Eastern Daylight Time)
Displying index: 2, url: image2.jpg, and title: at time Thu Aug 13 2009 10:01:34 GMT-0400 (Eastern Daylight Time)
Loaded index: 3at time Thu Aug 13 2009 10:01:44 GMT-0400 (Eastern Daylight Time)
Loaded index: 3at time Thu Aug 13 2009 10:01:44 GMT-0400 (Eastern Daylight Time)
Displying index: 3, url: image3.jpg, and title: at time Thu Aug 13 2009 10:01:44 GMT-0400 (Eastern Daylight Time)
Loaded index: 4at time Thu Aug 13 2009 10:01:44 GMT-0400 (Eastern Daylight Time)
Loaded index: 4at time Thu Aug 13 2009 10:01:44 GMT-0400 (Eastern Daylight Time)
Displying index: 4, url: image4.jpg, and title: at time Thu Aug 13 2009 10:01:44 GMT-0400 (Eastern Daylight Time)
Loaded index: 5at time Thu Aug 13 2009 10:01:54 GMT-0400 (Eastern Daylight Time)
Loaded index: 5at time Thu Aug 13 2009 10:01:54 GMT-0400 (Eastern Daylight Time)
Displying index: 5, url: image5.jpg, and title: at time Thu Aug 13 2009 10:01:55 GMT-0400 (Eastern Daylight Time)
Loaded index: 6at time Thu Aug 13 2009 10:01:55 GMT-0400 (Eastern Daylight Time)
Loaded index: 6at time Thu Aug 13 2009 10:01:55 GMT-0400 (Eastern Daylight Time)
Displying index: 6, url: image6.jpg, and title: at time Thu Aug 13 2009 10:01:55 GMT-0400 (Eastern Daylight Time)
Loaded index: 7at time Thu Aug 13 2009 10:02:05 GMT-0400 (Eastern Daylight Time)
Loaded index: 7at time Thu Aug 13 2009 10:02:05 GMT-0400 (Eastern Daylight Time)
Displying index: 7, url: image7.jpg, and title: at time Thu Aug 13 2009 10:02:05 GMT-0400 (Eastern Daylight Time)
Loaded index: 8at time Thu Aug 13 2009 10:02:05 GMT-0400 (Eastern Daylight Time)
Loaded index: 8at time Thu Aug 13 2009 10:02:05 GMT-0400 (Eastern Daylight Time)
Displying index: 8, url: image8.jpg, and title: at time Thu Aug 13 2009 10:02:06 GMT-0400 (Eastern Daylight Time)
Loaded index: 9at time Thu Aug 13 2009 10:02:16 GMT-0400 (Eastern Daylight Time)
Loaded index: 9at time Thu Aug 13 2009 10:02:16 GMT-0400 (Eastern Daylight Time)
Displying index: 9, url: image9.jpg, and title: at time Thu Aug 13 2009 10:02:16 GMT-0400 (Eastern Daylight Time)

Attachments (3)

slideshowbugs.doc (34.0 KB) - added by davidjsullivan 10 years ago.
Log file (console output)
testSlideshow.html (2.7 KB) - added by davidjsullivan 10 years ago.
testSlideShow code
images.json (1.4 KB) - added by davidjsullivan 10 years ago.
simple JSON file

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by davidjsullivan

Attachment: slideshowbugs.doc added

Log file (console output)

Changed 10 years ago by davidjsullivan

Attachment: testSlideshow.html added

testSlideShow code

Changed 10 years ago by davidjsullivan

Attachment: images.json added

simple JSON file

comment:1 Changed 10 years ago by dante

Description: modified (diff)
Owner: changed from dante to Shane O'Sullivan
Priority: highnormal
severity: majornormal

cleaning up desc a bit. punting to shane for inspection.

comment:2 Changed 10 years ago by Shane O'Sullivan

(In [20285]) Refs #9758 Fixes a number of issues with the dojox.image.SlideShow?. Load notifications were firing twice, now firing just once. Autoload was not working, it is now. The reported issue with IE8 is a problem with the test case, as there is a trailing comma in the test JSON data. The reported issue of images displaying for different lengths of time was not reproducible. AutoStart? would cause the first image to be skipped, this has also been rectified.

comment:3 Changed 10 years ago by Shane O'Sullivan

Resolution: fixed
Status: newclosed

I've checked in fixes to these issues. The problem with IE8 is an error in the test data, as there is a trailing comma in the JSON

comment:4 Changed 10 years ago by dante

Milestone: tbd1.4

can't close a tbd

Note: See TracTickets for help on using tickets.