Moose 5.0. DNU point:from:

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

Moose 5.0. DNU point:from:

Stéphane Ducasse
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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Moose 5.0. DNU point:from:

Tudor Girba-2
I never saw this error. Could you describe exactly what you do?

Doru


On Sat, Dec 7, 2013 at 6:14 PM, Stéphane Ducasse <[hidden email]> 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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Moose 5.0. DNU point:from:

Stéphane Ducasse

On Dec 7, 2013, at 6:29 PM, Tudor Girba <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Moose 5.0. DNU point:from:

Tudor Girba-2


On Sat, Dec 7, 2013 at 6:50 PM, Stéphane Ducasse <[hidden email]> wrote:

On Dec 7, 2013, at 6:29 PM, Tudor Girba <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Moose 5.0. DNU point:from:

Offray
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-when-clicking-in-the-empty-area
>
> Doru
>
>
> On Sat, Dec 7, 2013 at 6:50 PM, Stéphane Ducasse <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>
>      On Dec 7, 2013, at 6:29 PM, Tudor Girba <[hidden email]
>      <mailto:[hidden email]>> 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
>>     <[hidden email] <mailto:[hidden email]>> 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
>>         [hidden email] <mailto:[hidden email]>
>>         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
>>     [hidden email] <mailto:[hidden email]>
>>     https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>      _______________________________________________
>      Moose-dev mailing list
>      [hidden email] <mailto:[hidden email]>
>      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
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Moose 5.0. DNU point:from:

Tudor Girba-2
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 <[hidden email]> 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-when-clicking-in-the-empty-area

Doru


On Sat, Dec 7, 2013 at 6:50 PM, Stéphane Ducasse <[hidden email]
<mailto:[hidden email]>> wrote:


     On Dec 7, 2013, at 6:29 PM, Tudor Girba <[hidden email]
     <mailto:[hidden email]>> 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
    <[hidden email] <mailto:[hidden email]>> 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
        [hidden email] <mailto:[hidden email]>
        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
    [hidden email] <mailto:[hidden email]>
    https://www.iam.unibe.ch/mailman/listinfo/moose-dev


     _______________________________________________
     Moose-dev mailing list
     [hidden email] <mailto:[hidden email]>
     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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Moose 5.0. DNU point:from:

Offray
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
> <[hidden email] <mailto:[hidden email]>> 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-when-__clicking-in-the-empty-area
>          <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
>          <[hidden email] <mailto:[hidden email]>
>          <mailto:[hidden email] <mailto:[hidden email]>>>
>          wrote:
>
>
>                On Dec 7, 2013, at 6:29 PM, Tudor Girba <[hidden email]
>          <mailto:[hidden email]>
>                <mailto:[hidden email] <mailto:[hidden email]>>> 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
>                   <[hidden email] <mailto:[hidden email]>
>              <mailto:[hidden email]
>              <mailto:[hidden email]>>> 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
>              [hidden email] <mailto:[hidden email]>
>              <mailto:[hidden email] <mailto:[hidden email]>__>
>              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
>              [hidden email] <mailto:[hidden email]>
>              <mailto:[hidden email] <mailto:[hidden email]>__>
>              https://www.iam.unibe.ch/__mailman/listinfo/moose-dev
>              <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
>
>
>
>                _________________________________________________
>                Moose-dev mailing list
>          [hidden email] <mailto:[hidden email]>
>          <mailto:[hidden email] <mailto:[hidden email]>__>
>          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
>          [hidden email] <mailto:[hidden email]>
>          https://www.iam.unibe.ch/__mailman/listinfo/moose-dev
>          <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>
>
>
>
>      _________________________________________________
>      Moose-dev mailing list
>      [hidden email] <mailto:[hidden email]>
>      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
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev