qx.ui.mobile Carousel nextPage/previousPage bug

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

qx.ui.mobile Carousel nextPage/previousPage bug

Oleksandr Shneyder
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: [hidden email]
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
-----------------------------------------------------------


------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

signature.asc (188 bytes) Download Attachment