|Anonymous | Login||2019-05-25 20:05 UTC|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000017||OMNeT++||runtime / Tkenv||public||2008-12-04 11:04||2008-12-06 09:24|
|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.|
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...
|Fixed as part of 0000016.|
|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 - 2019 MantisBT Team|