OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000034OMNeT++runtime / Tkenvpublic2008-12-10 16:342008-12-14 18:11
Reporterstkrause 
Assigned Toandras 
PrioritynormalSeverityminorReproducibilitysometimes
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version4.0b8 
Target VersionFixed in Version4.0rc2 
Summary0000034: bubble() most times does not work in fast-mode on recently created modules.
DescriptionIn fast mode, when cComponent::bubble() is called on a recently created module, instead of showing the bubble often an error similar to "modinsp.cc#692:ptr0x9737e70 not found" is printed to stderr.

This most likely happens because "CHK(Tcl_VarEval(interp, "graphmodwin_bubble ",canvas," ",ptrToStr(mod)," {",text,"}",NULL));" is called before the module is actually displayed by Tkenv (which will only happen the next time Tkenv refreshes its view).

An easy fix might be to buffer bubbles on fast mode and show them on the next refresh.
Additional InformationThis error also exists in omnet 3.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000092)
andras (administrator)
2008-12-14 18:11

Fixed. Inside bubble(), if the module is not yet displayed on the canvas, we do an incremental layouting to determine its future coordinates, and pop up the bubble at those (x,y) positions.

- Issue History
Date Modified Username Field Change
2008-12-10 16:34 stkrause New Issue
2008-12-14 18:11 andras Note Added: 0000092
2008-12-14 18:11 andras Status new => resolved
2008-12-14 18:11 andras Fixed in Version => 4.0rc2
2008-12-14 18:11 andras Resolution open => fixed
2008-12-14 18:11 andras Assigned To => andras


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker