Yes I do.
Explicitly is related with a transmission when an empty node in a tree
is selected. I would like to send the proper message according to a
valid selection. My code snipped looks like:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
(browser transmit )
from: #tree port: #selection;
from: #nodeBody port: #text;
when: [:node :text | text notNil];
to: #nodeBody port: #neverland;
transformed: [:node :text | node body: text asString].
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
and of course when an empty part of the tree is selected "node body:
text asString" at last line can not behave properly. There is anyway to
indicate that this kind of transmissions are mean to work when a node is
selected and get a consistent behaviour when doesn't.
Thanks,
Offray
El 23/12/14 a las 05:13, Tudor Girba escribió:
This issue is fixed. Do you still encounter it?
Cheers,
Doru
On Tue, Dec 23, 2014 at 1:53 AM, Offray Vladimir Luna Cárdenas
<offray(a)riseup.net <mailto:offray@riseup.net>> wrote:
Hi,
I have the same problem when I use Moose. I tried to see its status, but It
ask for log in data. There is any way to see the status of this bugs (and
others) without being registered on fogbuz?
Cheers,
Offray
El 07/12/13 a las 15:43, Tudor Girba escribió:
Thanks for catching it. I opened a Pharo bug:
https://pharo.fogbugz.com/f/__cases/12370/MorphTreeMorph-__raises-exception…
<https://pharo.fogbugz.com/f/cases/12370/MorphTreeMorph-raises-exception-when-clicking-in-the-empty-area>
Doru
On Sat, Dec 7, 2013 at 6:50 PM, Stéphane Ducasse
<stephane.ducasse(a)inria.fr <mailto:stephane.ducasse@inria.fr>
<mailto:stephane.ducasse@__inria.fr
<mailto:stephane.ducasse@inria.fr>>>
wrote:
On Dec 7, 2013, at 6:29 PM, Tudor Girba <tudor(a)tudorgirba.com
<mailto:tudor@tudorgirba.com>
<mailto:tudor@tudorgirba.com
<mailto:tudor@tudorgirba.com>>> wrote:
I never saw this error. Could you describe exactly what you do?
apparently
Model1
allNamespace
allclasses
I have the impression that this is when I went from allclasses to
Models
I got it several times already and again now.
Now I can reproduce it each time :)
Model1 is selected
allclasses is selected
and you should click in the empty space below Model1
mouseUp: event on: aNodeMorph
^^^^^^^^^^^^^^^^^^^ nil
| path cmdOrCtrl clickedTheCheckbox |
"No change if model is locked"
clickedTheCheckbox := self clicked: event inTheCheckboxOf: aNodeMorph.
self listModel okToChange ifFalse: [^self].
self listModel okToDiscardEdits ifFalse: [^ self].
cmdOrCtrl := self commandOrCrontrolKeyPressed: event.
path := (event shiftPressed and: [self isMultiple])
ifTrue: [self shiftSelectMorph: aNodeMorph]
ifFalse: [
self autoMultiSelection
ifTrue: [self selectedMorphList ifEmpty: [] ifNotEmpty: [:l | l
last path
collect: [:p | p complexContents]]]
ifFalse: [self selectMorph: aNodeMorph multiple: ((cmdOrCtrl and:
[self
isMultiple]) or: [self autoMultiSelection]) clickedTheCheckBox:
clickedTheCheckbox ]].
self selectionUpdateFromViewWhile: [ | selHolder |
selHolder := self newSelectionHolderWithNodePath__: path.
self listModel selection: selHolder].
clickedTheCheckbox ifFalse: [ self lastClickedMorph: aNodeMorph ].
self selectionChanged.
Stef
Doru
On Sat, Dec 7, 2013 at 6:14 PM, Stéphane Ducasse
<stephane.ducasse(a)inria.fr <mailto:stephane.ducasse@inria.fr>
<mailto:stephane.ducasse@__inria.fr
<mailto:stephane.ducasse@inria.fr>>> wrote:
Apparently when I move the moose from the finder elements
(classes) to
the model item I get
a DNU point:from:
MoprhTreeListManager>>clicked: event inTheCheckboxOf:
aTargetMorph
| position |
position := aTargetMorph point: event position
from: client.
^ self isCheckList and: [ (aTargetMorph
checkClickableZone
translateBy: 2 @ 0) containsPoint: position ]
Stef
_________________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
<mailto:Moose-dev@iam.unibe.ch
<mailto:Moose-dev@iam.unibe.ch>__>
https://www.iam.unibe.ch/__mailman/listinfo/moose-dev
<https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
--
www.tudorgirba.com <http://www.tudorgirba.com>
<http://www.tudorgirba.com/>
"Every thing has its own flow"
_________________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
<mailto:Moose-dev@iam.unibe.ch
<mailto:Moose-dev@iam.unibe.ch>__>
https://www.iam.unibe.ch/__mailman/listinfo/moose-dev
<https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
_________________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
<mailto:Moose-dev@iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>__>
https://www.iam.unibe.ch/__mailman/listinfo/moose-dev
<https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
--
www.tudorgirba.com <http://www.tudorgirba.com>
<http://www.tudorgirba.com>
"Every thing has its own flow"
_________________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
https://www.iam.unibe.ch/__mailman/listinfo/moose-dev
<https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
_________________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
https://www.iam.unibe.ch/__mailman/listinfo/moose-dev
<https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
--
www.tudorgirba.com <http://www.tudorgirba.com>
"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev