GNOME Bugzilla – Bug 343607
Clicking on slices in pie charts has no effect anymore
Last modified: 2018-06-29 21:06:30 UTC
Please describe the problem: In the previous release of gnucash (1.8), when viewing a piechart, one could double-click a slice of the chart and have a new view of it displayed, with the double-clicked account as the new root. Steps to reproduce: 1. Run a pie-chart report, such as "Expense Piechart". 2. Double-click on a slice of the pie representing an account that has subaccounts. Actual results: Nothing. Expected results: A new chart should be displayed, as described above. Does this happen every time? Yes; this is repeatable. Other information: This is a consequence of migrating to the new reporting engine. It is a regression with respect to gnucash 1.8.
This wasn't readily available in goffice graphing, at least with 0.0.4 or 0.1.0. I wouldn't expect this to come back...
In other words: Yes, we know this is a regression with respect to gnucash-1.8.x. However, it was difficult enough to get a different (gnome2-enabled) charting engine integrated and running again (namely the goffice library). First of all, goffice would need to provide slice-specific callback functions, and (according to comment#1 ) this is not the case currently. So first someone needs to implement this in goffice. Then we might re-enable this again in gnucash. But for the time being this feature is simply not available in any gnome2-enable charting engine.
*** This bug has been marked as a duplicate of 359224 ***
goffice does not need to provide callbacks. gnucash shoud provide the callback, evalutate to which element the event refers, and do what is needed with it. The find_element callback in gog-pie.c might be a good start.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=343607. Please update any external references or bookmarks.