Comment 6 for bug 726139

Revision history for this message
Joachim Breitner (nomeata) wrote :

I’m wondering if it is a good idea to have a very general and very simple signal mechanism from the logic code to the ui code, i.e. a ui object can register with a logic object and then the logic object will call ::update() on the ui object whenever it has changed.

This would allow this bug to be easily fixed and greatly simplify existing code, e.g. in WaresQueueDisplay, which keeps copies of all attributes of the logic object to compare them for changes.

But then I vaguely recall from WiHack that signals were for some reasons not quite welcome – is that true, and what was the reason?