Anonymous | Login | 2021-03-07 17:52 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000221 | OMNeT++ | runtime / Tkenv | public | 2010-12-09 15:14 | 2010-12-09 15:38 | ||||
Reporter | andras | ||||||||
Assigned To | andras | ||||||||
Priority | normal | Severity | minor | Reproducibility | sometimes | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | Linux / GNOME Desktop | OS | OS Version | ||||||
Product Version | 4.1 | ||||||||
Target Version | 4.2 | Fixed in Version | 4.2 | ||||||
Summary | 0000221: Negative zoom when opening a network window in Tkenv | ||||||||
Description | I have some strange behavior in OMNeT++ 4.1. In some cases when I launch the execution model in Tkenv mode one or more window have a very small zoom value (the displayed value on the upper right of the window is even negative!). The shortest way to solve it is to close this window and to open it again and then it has a “normal” zoom value. Closing the “bad” window and re-generating the network will solve the problem (at least for this simulation session). Screenshot attached. Reported by Patrick Haeflinger | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | ![]() ![]() | ||||||||
![]() |
|
(0000344) andras (administrator) 2010-12-09 15:20 |
Could not reproduce it, but inspecting the proc "graphmodwin_adjust_windowsize_and_zoom" in modinsp2.tcl indicates it might be caused by the winfo width / winfo height commands returning zero. This usually happens if the window is no displayed yet, and (apparently) it may occur even later. |
(0000345) andras (administrator) 2010-12-09 15:37 |
Attached a patch that should fix it (although I could not test because I could not reproduce the bug). |
![]() |
|||
Date Modified | Username | Field | Change |
2010-12-09 15:14 | andras | New Issue | |
2010-12-09 15:14 | andras | Assigned To | => andras |
2010-12-09 15:17 | andras | File Added: zoom_pb.jpg | |
2010-12-09 15:20 | andras | Note Added: 0000344 | |
2010-12-09 15:33 | andras | File Added: tkenv-bug221.patch | |
2010-12-09 15:37 | andras | Note Added: 0000345 | |
2010-12-09 15:38 | andras | Status | new => resolved |
2010-12-09 15:38 | andras | Fixed in Version | => 4.2 |
2010-12-09 15:38 | andras | Resolution | open => fixed |
Copyright © 2000 - 2021 MantisBT Team |