Issue #225: Inspector Receiver

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue #225: Inspector Receiver

Sean P. DeNigris
Administrator
When you select a node in the tree, that becomes the receiver in the bottom pane. There are two problems with the current behavior:
1. In the properties filters, this is useful, but it also happens in the functions filter, so the function becomes the receiver - probably almost never what you want.
2. Once a node is selected, there doesn't seem to be any way to de-select it, so you can no longer deal with the root object. In Smalltalk, "self" is listed as the first item in the list, so maybe "this" should be added
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Issue #225: Inspector Receiver

Florin Mateoc
On 2/8/2014 10:08 PM, Sean P. DeNigris wrote:

> When you select a node in the tree, that becomes the receiver in the bottom
> pane. There are two problems with the current behavior:
> 1. In the properties filters, this is useful, but it also happens in the
> functions filter, so the function becomes the receiver - probably almost
> never what you want.
> 2. Once a node is selected, there doesn't seem to be any way to de-select
> it, so you can no longer deal with the root object. In Smalltalk, "self" is
> listed as the first item in the list, so maybe "this" should be added
>
>
>
> -----
> Cheers,
> Sean
> --
> View this message in context: http://forum.world.st/Issue-225-Inspector-Receiver-tp4742386.html
> Sent from the Lively Kernel mailing list archive at Nabble.com.
> _______________________________________________
> lively-kernel mailing list
> [hidden email]
> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
>

Hi Sean,

The selected node does not become the receiver, it's just that you see a description of it in the bottom pane.
The top-level node (the subject of the inspector) is still the receiver. To change that, there is a checkbox at the
bottom (bind "this" to selection), which does what it says :)

Cheers,
Florin
_______________________________________________
lively-kernel mailing list
[hidden email]
http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
Reply | Threaded
Open this post in threaded view
|

Re: Issue #225: Inspector Receiver

Marko Röder
> The selected node does not become the receiver, it's just that you see a description of it in the bottom pane.
> The top-level node (the subject of the inspector) is still the receiver. To change that, there is a checkbox at the
> bottom (bind "this" to selection), which does what it says :)

Unfortunately this is only true for the GitHub-based Lively Kernel system (e.g. lively-web.org). The WebWerkstatt has a simpler inspector that automatically binds this to the selection.
Additionally, the tree on the GitHub-based system also has the missing root node which is the object that has been inspected originally. But there is a bug with "Bind 'this' to selection" when you select the root node: This is still bound to the last selection in the tree and you can only have "this" be the originally inspected object when you uncheck the "Bind 'this' to selection" box.

        - Marko
_______________________________________________
lively-kernel mailing list
[hidden email]
http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel