Wireshark-bugs: [Wireshark-bugs] [Bug 1763] IO Graphs: frames missing from the graph

Date: Fri, 24 Aug 2007 13:49:49 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1763


stig@xxxxxxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
    Attachment #839|review_for_checkin?         |
               Flag|                            |
 Attachment #839 is|0                           |1
           obsolete|                            |
    Attachment #842|                            |review_for_checkin?
               Flag|                            |




------- Comment #6 from stig@xxxxxxxxxxxxx  2007-08-24 13:49 GMT -------
Created an attachment (id=842)
 --> (http://bugs.wireshark.org/bugzilla/attachment.cgi?id=842&action=view)
New patch for 1, 3, 5 and 6

I do not understand what this code is supposed to do:

 if((last_interval-first_interval)*100 < io->max_interval){
    io->scrollbar_adjustment->page_size=(gfloat) (io->max_interval/100);
 } else {
    io->scrollbar_adjustment->page_size=(gfloat)
(last_interval-first_interval);
 }

, so I rewrote to only use the else section.  This fixes problem 3 and 6.
Does anyone else understand what this code is supposed to do?


8: When changing a filter or adding/removing a graph the scrollbar is always
moved to the end of the graph.

9: When the total number of items in the graph exceeds 100000 (NUM_IO_ITEMS)
they are cut of without any notice.  Should we add info about this somewhere?


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.