Anonymous | Login | 2022-05-23 17:31 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 | ||||
0000017 | OMNeT++ | runtime / Tkenv | public | 2008-12-04 11:04 | 2008-12-06 09:24 | ||||
Reporter | stkrause | ||||||||
Assigned To | andras | ||||||||
Priority | normal | Severity | tweak | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 4.0b8 | ||||||||
Target Version | Fixed in Version | 4.0rc1 | |||||||
Summary | 0000017: Scrolling in filtered main window feels strange | ||||||||
Description | When you filter out a bigger part of the output, scrolling starts to get more and more strange: The main window will scroll for a bit, than stop for a while, and then start scrolling agin. Meanwhile the size of the scrollbar will fluctuate from really small to fairly big in a seemingly random manner. This can get really annoing if trying to scroll through the output output of one single module in a bigger simulation. It seems scrolling is done before filtering, i.e. it will scroll (internally) through all messages, even non-displayed ones, which leads to "stuttering". | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
(0000057) andras (administrator) 2008-12-04 11:32 |
I'm afraid I cannot do much about this. Filtering is implemented with a built-in feature of the Tk text widget, which I have no control over. Basically, the text widget makes it possible to attach "tags" to regions of text in the widget, and assign formatting (font, color, hidden!!!) to tags -- which apply to all pieces of text tagged accordingly. Tkenv tags text coming from different modules with the module ID as tag, and the filter dialog just turns on/off the hidden ("elided" in Tk lingo) flag on those tags. See http://www.tcl.tk/man/tcl8.4/TkCmd/text.htm [^] To fixing the strange behaviour you described, I would have to replace the above simple implementation with something much more complicated (i.e. store the full log and do the filtering in our code). This does not fit into the 4.0 release, but we'll consider it for a future version... |
(0000068) andras (administrator) 2008-12-06 09:23 |
Fixed as part of 0000016. |
![]() |
|||
Date Modified | Username | Field | Change |
2008-12-04 11:04 | stkrause | New Issue | |
2008-12-04 11:32 | andras | Note Added: 0000057 | |
2008-12-04 11:34 | andras | Status | new => resolved |
2008-12-04 11:34 | andras | Resolution | open => not fixable |
2008-12-04 11:34 | andras | Assigned To | => andras |
2008-12-06 09:23 | andras | Note Added: 0000068 | |
2008-12-06 09:24 | andras | Resolution | not fixable => fixed |
2008-12-06 09:24 | andras | Fixed in Version | => 4.0rc1 |
Copyright © 2000 - 2022 MantisBT Team |