Week 9 Report

Hello all,

The last week was the 9th week of coding weeks in GSoC program. I almost finished my final exams period I will start to work again with the regular rate.

 Report in points:
  • Problems in Menu Button objects .
  • Final support demo in Menu Button objects.
=====================================

1) I asked Markus to help me in the Menu Button objects because I tried to add a demo for the Menu Button. The problem was that the test case stop responding after executing any action from the actions that added to the support.


For example, If I executed this line:
>>self.ui_test.execute_dialog_through_action( xmenugearbtn , "OPENFROMLIST" , mkPropertyValues({"POS": "0" }) )

The test case opens the desired dialog and stops responding until I close it. Markus found out that the problem was that We have a way to handle these cases but the dialog was incorrectly marked as modeless dialog which meant that we have a modeless dialog on top of a modal one. That case is not correctly tracked as it is usually not possible.

He managed to solve this by make the dialog that will apear in top of the main dialog also model dialog by this patch. Not the demo works well and the support merged to the master.

=====================================

2) Finally the patch is merged here for the support and this patch has a demo for this support. you can use Thisto test any Menu Button like "gear button menu in Tools->Customize". You can test this type of button by excuting this actions:

var_name.executeAction("OPENLIST", mkPropertyValues({}))
var_name.executeAction("CLOSELIST", mkPropertyValues({}))
var_name.executeAction("OPENFROMLIST", mkPropertyValues({"POS": "0" }))

Then you can check on it using this lines:
get_state_as_dict(var_name)["Label"]

This video shows you how the Menu Button will preform with you while testing:
=====================================

Next week Tasks:
  • Start working on the interpreter part of the objects that has new support in phase 1 & 2.
  • Work on another unsupported item.
Thanks for reading. And I am really interested to hear all your feedback and comments.

Comments

Popular posts from this blog

GSoC'20 final report & Project Documentation

Week 11 Report

Week 10 Report