https://bugs.kde.org/show_bug.cgi?id=528883
--- Comment #10 from Shehriyar Qureshi <[email protected]> --- (In reply to Chun-Chi Lin from comment #9) > (In reply to Shehriyar Qureshi from comment #8) > From what I can tell I think that `value.x` is the offset against the > leftmost of x-axis, in milliseconds. `aXe.min.getTime()` gets the date time > of the leftmost of x-axis and turns it into an offset against Unix epoch > (1970-01-01), in milliseconds. Thus adding these two should give us the date > time the cursor is currently hovering on. However I am not sure whether we > really need a rounding on it. Sounds like so, but in my case it ended up adding more to current datetime. We should stick to finding out why `value.x` is differing on our machines. > Also, I just reverted your fix locally, built from source and installed, > then the tooltip worked again, so the explanation above makes sense, at > least for me. I am actually more curious about why this won't work for you, > if you don't have any misconfiguration or something. Makes sense. It's now adding correctly to epoch. Let's wait and confirm if there are others that are getting this issue (or can replicate). Sharing my setup details. Operating System: Arch Linux KDE Plasma Version: 6.8.3 KDE Frameworks Version: 6.32.0 Qt Version: 6.12.0 Kernel Version: 7.3.4-arch1-2 (64-bit) I only see Qt being 6.12 rather than 6.11 on yours, but doubt it's related. I see some notes in changelog for locale and date but no direct notes regarding a behavior like this. -- You are receiving this mail because: You are watching all bug changes.
