taurusform size problem:
taurusform --config does not restore the widget with stored size
How to reproduce it:
1) Create a taurusform with an attribute:
taurusform sys/tg_test/1/short_scalar
2) Change the size of the taurusform with the mouse
3) Store the taurusform configuration: right-click on the taurusform and 'save current settings'. This will save a TaurusForm.pck
4) Close the taurusform
5) open the taurusform by charging the config by doing:
taurusform --config=TaurusForm.pck
6) The taurusform is opened with the attribute sys/tg_test/1/short_scalar but the size of the widget is not the previously stored one. It reopens to the default size.
Ticket moved from /p/sardana/tickets/257/
Can't be converted:
Suggestion for fix:
In TaurusFormMain, call
Note: Taurustrend and taurusplot can also benefit from something similar, but since they reimplement the createConfig and applyConfig methods, the solution needs to be done there instead of in the main method
Patch sent to devel-list for taurusform..
I created a separate ticket for taurusplot/trend: [#250]
Related
OLD Tickets: #250
Last edit: Carlos Pascual 2016-01-20
Patch applied to develop