Issue 7054 in pharo: InputEventHandler unregistering should nil the eventFetcher

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

Issue 7054 in pharo: InputEventHandler unregistering should nil the eventFetcher

pharo
Status: FixReviewNeeded
Owner: [hidden email]
Labels: Type-Bug

New issue 7054 by [hidden email]: InputEventHandler unregistering  
should nil the eventFetcher
http://code.google.com/p/pharo/issues/detail?id=7054

the current behavior doesn't, which leads to inconsistencies.

for example:

sensor := SystemInputEventAnnouncer new.
sensor
                subscribe: SystemInputEvent
                send: #toggleVisible
                to: me.

1)sensor start.  
2)sensor stop.
3)sensor start.

3,  won't work because

#start
        self isStarted ifFalse: [self registerIn: InputEventFetcher default]

#isStarted
        ^ eventFetcher notNil

the isStarted check is never met, because the unregistering never fully  
unregistered.



Attachments:
        InputEventHandler-unregister.st  300 bytes


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7054 in pharo: InputEventHandler unregistering should nil the eventFetcher

pharo
Updates:
        Labels: Milestone-2.0

Comment #1 on issue 7054 by [hidden email]: InputEventHandler  
unregistering should nil the eventFetcher
http://code.google.com/p/pharo/issues/detail?id=7054

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7054 in pharo: InputEventHandler unregistering should nil the eventFetcher

pharo
Updates:
        Status: FixToInclude

Comment #2 on issue 7054 by [hidden email]: InputEventHandler  
unregistering should nil the eventFetcher
http://code.google.com/p/pharo/issues/detail?id=7054

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7054 in pharo: InputEventHandler unregistering should nil the eventFetcher

pharo
Updates:
        Status: Integrated

Comment #3 on issue 7054 by [hidden email]: InputEventHandler  
unregistering should nil the eventFetcher
http://code.google.com/p/pharo/issues/detail?id=7054

in 2.0 241


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker