MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000387JANABugpublic2013-10-09 07:462013-11-18 11:27
Reporterdavidl 
Assigned Todavidl 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0000387: Event status word reset at wrong time
DescriptionHere are two e-mail's from Paul:

-----------------------------
Hey David, in BANA I tried setting the status bit in the JEventSource to 1, but by the time I read it in my plugin evnt it has a value of 0. It looks like JEventLoop::OneEvent() calls ClearFactories(), which then clears the status bit. Perhaps the event status bit shouldn't be cleared here? I think it would be better to assume that the JEvent handed to the JEventLoop is already setup properly by the event source. Thanks for taking a look at this.

 - Paul

-----------------------------
Actually, it looks like in JApplication::NextEvent(), you need to manually copy the event status from "myevent" to "event" also. With those two changes, it works for me.

 - Paul
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000578)
davidl (administrator)
2013-11-18 11:27

This was committed as svn revision 1395 and will appear in jana 0.6.7. Note that it wasn't clear what Paul meant by "two changes" since ClearFactories call is made before getting the event from the event source and copying the values into the JEventLoop's JEvent.

- Issue History
Date Modified Username Field Change
2013-10-09 07:46 davidl New Issue
2013-11-18 11:27 davidl Note Added: 0000578
2013-11-18 11:27 davidl Status new => resolved
2013-11-18 11:27 davidl Resolution open => fixed
2013-11-18 11:27 davidl Assigned To => davidl


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker