[squeak-dev] SimpleHierarchicalListMorph submorphsExample broken (selection)

Marcel Taeumel marcel.taeumel at hpi.de
Tue Feb 25 08:17:20 UTC 2020


Hi Christoph.

> all list widgets are no longer designed to store the selection stand-alone unless their model notifies them about any updates

That's not a regression. Pluggable*Morphs did never store the selection themselves to be used in client code. They always relied on models to get notified about changes.  Whether that's a good decision lies somewhere else. :-) 

The example works fine using the mouse. It also states "selected: nil", which means that selection is not supported in this example.

Best,
Marcel
Am 24.02.2020 19:16:58 schrieb Thiede, Christoph <christoph.thiede at student.hpi.uni-potsdam.de>:
Hi all,

[SimpleHierarchicalListMorph submorphsExample] does not work any longer properly, you cannot select any item in the tree. If I'm informed correctly, all list widgets are no longer designed to store the selection stand-alone unless their model notifies them about any updates? This would be a bit sad regression. (How) can we fix this example (before or after the release)?

Best,
Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200225/13fc6485/attachment.html>


More information about the Squeak-dev mailing list