Hello,

I think I found a bug in carousel widget. The functions nextPage() and
previousPage() not working correctly until carousel not coming through a
scrollLoop.

please take a loop on example: http://tinyurl.com/on4hd4s

if you clicking on the "next", you will see that pages are changing
without transition. After you reach the last page, nextPage() starting
to work as expected.

If you will set currentIndex to the last page and after that call
nextPage it will come to even harder error, try this code:

http://tinyurl.com/ox6j4sx

Instead of landing on the first page after scrollLoop as expected, you
will have an empty page. Try to swipe to previous page and you'll get an
error:

1670920 playground.Application[18-0]: GlobalError: Error in property
currentIndex of class qx.ui.mobile.container.Carousel in method
setCurrentIndex with incoming value 'null': Null value is not allowed!


if you executing nextPage in timeout it works as expected:

http://tinyurl.com/qzqo5jr

regards,
Alex
-- 
-----------------------------------------------------------
Oleksandr Shneyder        | Email: o.shney...@phoca-gmbh.de
phoca GmbH                | Tel. : 0911 - 14870374 0
Ludwig-Feuerbach-str. 18  | Fax. : 0911 - 14870374 9
D-90489 Nürnberg          | Mobil: 0163 - 49 64 461

Geschäftsführung:
Dipl.-Inf. Oleksandr Shneyder

Amtsgericht München | http://www.phoca-gmbh.de
HRB 196 658         | http://www.x2go.org
USt-IdNr.: DE281977973
-----------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to