https://bugs.kde.org/show_bug.cgi?id=528883

--- Comment #5 from Chun-Chi Lin <[email protected]> ---
(In reply to Shehriyar Qureshi from comment #4)
Thanks for your reply!
> Hi, could you please share your timezone? If it worked before, it's
> definitely from that commit.
My timezone is UTC+8, but I don't see any issue regarding my timezone
configuration for now.

> Does the behaviour change randomly between showing 1/1/70 and empty tooltip,
> or does it show empty in certain areas.
To add more to my description, sometimes when I open kinfocenter, it shows
empty tooltip, and sometimes it shows date like "1/1/70" instead. Also, while
it shows an empty tooltip under the "Last hour" duration, it might show
datetime and percentage under "Last 24 hours" duration, but still weird
"1/1/70", and "1/2/70" if you move the cursor toward the right. I think
"1/2/70" appears because the 24-hour duration is long enough. Also, when moving
the cursor, the time also changes, but the value still doesn't align with the
x-axis.

Also, I feel that the percentage on the tooltip (if any) is usually the y-value
of the leftmost point on the chart. I've looked a bit into the implementation
of `getYValue()`, and it seems that it implements a prune-and-search algorithm.
Thus, when given a very small `timeOffset`, it will keep search toward the left
and converge to the leftmost point.

In overall, I think that `timeOffset`, which is set to `x.value` now, somehow
becomes extremely small.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to