Hi all, I am experiencing an issue with a tabstrip control. It seems that the tabs element (images) are not refreshed correctly when another element is selected.
I try to explain the behaviour clearly.
I have a 4 tabs tabstrip numbered 1 to 4 If I select tab 1 it is correctly selected and tabs 2 to 4 are unselected. If I move to tab 2 and select it, tab 2 becomes selected but tab 1 is not unselected (it continues to appear selected). If I move the focus back and forth the tab 1 becomes correctly unselected (I think the refresh is correctly invoked and the tab then appear to be not selected).
The same behaviour happens even selecting other tabs on the tab strip.
Are you aware of any issue with this control or am I missing something?
If you need more info or a sample code please ask me.
Can you provide the sample code? None of our test code or widgets exhibit this behavior so it's either the fact you have an older copy of the framework (and the code's been fixed) or there is an issue in your code which I can help resolve.
After a bunch of code review and testing, we tracked down the problem to that line above. The issue is that you are opening a synchronous HTTP fetch instead of an asynch one. This blocks all execution in your widget while waiting on a response. You should not be using synchronous fetches in general, but more especially not in event handler code. Remove the false above and setup your code to handle asynch fetches and things will work perfectly.