GNOME Bugzilla – Bug 550114
Task tooltips are off by one
Last modified: 2009-04-02 19:55:25 UTC
When hovering over a list of tasks, the tooltip that popups up shows information for the task in the row _above_ where the mouse is pointing. (Also, didn't we ever implement tooltips for memos?)
Created attachment 123322 [details] Screenshot
Created attachment 123367 [details] [review] proposed evo patch for evolution; I do not like ETable hacking much, really. Anyway, I found out the computation of mouse over is a bit redundant and thus I changed it. It's not so perfect, but it's same bad as the other parts, so good enough, I believe. With tooltips over memos, hmm, it's working probably only in the calendar view, if at all. I added to EMemoTable too.
Oh, I forgot, the problem was with grouping columns. Should be better now.
Matt, this looks fine to me, but haven't tesded it, would you flag this to commit once you test it?
*** Bug 554148 has been marked as a duplicate of this bug. ***
ping Matt.
Created attachment 128587 [details] Screencast API is cleaner now but I'm still seeing the off-by-one problem. But I noticed something new: the bug only happens when using grouping. Tooltips over a flat list work fine. Here's a screencast so you can see exactly what I'm seeing. In the first part I mouse over a flat list, and the tooltip is accurate down to the pixel. Then I group by "Completed", and you can see the tooltips are off by one save for a few pixel rows at the bottom of the cell. So it must be the group header height being miscalculated.
Are you sure you compiled widgets/table part too? Because when I apply patch to trunk of revision 37237, go to widgets/table and do make && make install, and the same in a calendar subdirectory, and doing the same steps as you in your video, it works fine.
Let me try it again. I've been working on kill-bonobo for so long that I keep forgetting to reset bonobo-activation-server when I build from trunk.
You're right, it's working fine now after I reset b-a-s. Please commit.
Committed to trunk. Committed revision 37275.
I confirm that it is working in nightly builds.
*** Bug 559788 has been marked as a duplicate of this bug. ***
*** Bug 577743 has been marked as a duplicate of this bug. ***