portfolio icon indicating copy to clipboard operation
portfolio copied to clipboard

[BUG] Pie and Donut Chart under Asset Allocation aren't rendered under Debian 11

Open RequestPrivacy opened this issue 3 years ago • 3 comments

Describe the bug The Pie and Donut chart in the Asset Allocation Section in Taxonomies aren't rendered if revisited after once viewed.

To Reproduce Steps to reproduce the behavior:

  1. Open Portfolio Performance
  2. Click on Asset Allocation under section "Taxonomies" (if not existent follow steps to create an portfolio with an corresponding asset allocation)
  3. Go to pie chart (it renders)
  4. Go to donut chart (it doesn't render)
  5. Go back to pie chart (it does render again or remains in cache)
  6. Go to different section (e.g. Deposit Accounts)
  7. Go back to Asset Allocation
  8. Click on pie chart if not already selected
  9. Pie chart doesn't render + donut chart doesn't render

Behavior Donut chart in asset allocation isn't rendered at all and pie chart is rendered once, but if you leave for another section and come back it doesn't render again.

Desktop (please complete the following information):

  • Linux, Debian 11 bullseye
  • Version: 0.56.5 (Feb 2022)
  • Java: 16.0.1+9, AdoptOpenJDK

RequestPrivacy avatar Mar 02 '22 11:03 RequestPrivacy

Same here,

  • Linux, Ubuntu 20.04
  • PP Version: master (86e947d596dcc5d719973f1015725e4daf7fad00)
  • Java: openjdk 11.0.14.1 2022-02-08

When the chart is rendered for the first time, the following GTK error gets printed to stdout:

(Portfolio Performance:8358): Gtk-WARNING **: 00:59:21.859: Negative content width -4 (allocation 14, extents 9x9) while allocating gadget (node entry, owner GtkSearchEntry)
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


(Portfolio Performance:8358): Gtk-CRITICAL **: 00:59:22.193: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(Portfolio Performance:8358): Gtk-CRITICAL **: 00:59:22.233: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

fabtagon avatar Apr 01 '22 23:04 fabtagon

You can enable SWTChart rendering in the main settings as a workaround. This option has some limitations and minor rendering bugs, but the data is visible.

swenner avatar Apr 29 '22 18:04 swenner

Duplicate of https://github.com/buchen/portfolio/issues/2193 and https://github.com/buchen/portfolio/issues/1091

swenner avatar Apr 29 '22 18:04 swenner