Comment 4 for bug 505288

Revision history for this message
NicoInattendu (nico-inattendu) wrote :

The problem origin is in the management of the gtk.Assistant . Problem is in page_func function who returns None if we wan't to stay in the same assistant page. this is inccorect as this page_func callback have ro return an int. This is why gtk go in TypeError execpetions on some weird Runtimewaning.

But I think , there are some problems on gtk.assistant to reload the same assistant page. If i reload this page ( after click on 'Next' button) , because for example luciole project data entered by user are invalid, the page is blank and another click on 'Next' Button is needed to display the widgets associated to this page.

To avoid this problem, I coded a workaround : Instead of verifying project data when 'next' button is clicked : I verify data "on the fly" when user enter project name and path. The 'Next' button is active when project data are valid.

The workarouns is available in branch lp:~nico-inattendu/luciole/bug_505288