arielmol / dviz

Automatically exported from code.google.com/p/dviz
0 stars 0 forks source link

Slide Change Timer sometimes goes negative #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Reproduces fairly consistently:
- Setup a timed slide group - I used the Image Import tool
- Send group to output
- (Note: Timer doesn't start automatically - another bug.)
- Click first slide (timer starts)
- Slide changes to 2nd slide - and timer goes negative right away.

Original issue reported on code.google.com by josiahbryan@gmail.com on 3 Feb 2010 at 12:06

GoogleCodeExporter commented 8 years ago
Confirmed and reproduced bugs (timer not starting, timer going negative) - will 
start
debugging now. 

Original comment by josiahbryan@gmail.com on 11 Feb 2010 at 4:32

GoogleCodeExporter commented 8 years ago
Fixed issue. Issue was caused by the side effects of not using the 
'currentChanged'
signal from the 'QItemSelectionModel', which had resulted in the timer not being
activated or reset because the slideSelected() slot was not being activated by 
the
currentChanged signal. To fix, I changed internal calls to setCurrentIndex() on 
the
view to instead use setCurrentSlide, which called slideSelected internally.

Original comment by josiahbryan@gmail.com on 12 Feb 2010 at 3:25