Ethereal-dev: [Ethereal-dev] IO Stats styles - bug in drawing order

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Jason House <jhouse@xxxxxxxxx>
Date: Thu, 08 Jan 2004 10:47:59 -0500
I was just playing around with 0.10's version of IO Stat and noticed the style feature for the first time.
(see attachment for a picture of the bug)

Styles other than "line" have the capability to completely overwrite the other loading info... I'll explain. Try leaving the first entry without a filter and set it to "fbar". Then use any of the other lines with either "impulse" or "fbar" - There will be no observable effect. The first entry gets drawn last and completely overwrites everything because it is the tallest (see _bug.jpg attachment). A better ordering makes everything much clearer (see _better_order.jpg).

When I think about this, I *think* that the proper fix would be to draw fbar entries first, then impulse entries, and then line entries. When doing passes for fbar or impulse, each value of the x axis should consider all y values, and render them in order from tallest to shortest.

JPEG image

JPEG image