Bug 341571 - Budgeting report could show an hover tooltip on every item, indicating the category/account name
Summary: Budgeting report could show an hover tooltip on every item, indicating the ca...
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.7.1
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-05 09:29 UTC by Alejandro
Modified: 2014-12-17 06:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch to make pivottable show account name as an tooltip of every cell (4.05 KB, patch)
2014-12-11 20:00 UTC, Alejandro
Details
Patch to make pivottable show account name as an tooltip of every cell (3.87 KB, patch)
2014-12-11 20:35 UTC, Alejandro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro 2014-12-05 09:29:24 UTC
When you have a budgeting report which extends several columns, sometimes its difficult to know to which account correspond a particular number you are showing. For instance, you scroll vertically to the right to the December details, and you see there a $-2000. You need to scroll vertically left to the account list, to know that it corresponds to "Expenses:Car:Gas", for instance. 

It would be great if that was shown as a tooltip when you hover on top of the $-2000.

Reproducible: Always
Comment 1 Alejandro 2014-12-11 20:00:15 UTC
Created attachment 89924 [details]
Patch to make pivottable show account name as an tooltip of every cell

This is an incomplete patch. Please, feel free to complete (for instance, this does not apply to Totals rows).
Comment 2 Alejandro 2014-12-11 20:23:26 UTC
Forget the previous patch, it is buggy. I'm preparing a new one.
Comment 3 Alejandro 2014-12-11 20:35:50 UTC
Created attachment 89927 [details]
Patch to make pivottable show account name as an tooltip of every cell

New version of the patch
Comment 4 Alvaro Soliverez 2014-12-16 21:46:48 UTC
The patch seems to do the work. It does however add extra spaces where it shouldn't.

Did you base this on the latest master?
Comment 5 Alejandro 2014-12-17 06:24:31 UTC
Yes I did base it on version 4.7.1. 

Regarding the spaces... well, I said the patch is incomplete. The extra spaces are the result of me playing around with printf for debugging :). The patch needs extra work to make it adjust to your coding style, for showing the tooltip for "total" rows as well, etc. I submitted it just as an example of the final expected result and the simplicity of its implementation.

For me, it has made a great difference when using reports.

Regards