portfolio-performance / portfolio

Track and evaluate the performance of your investment portfolio across stocks, cryptocurrencies, and other assets.
http://www.portfolio-performance.info
Eclipse Public License 1.0
2.77k stars 580 forks source link

Crash on MacOS when editing a label #3818

Open skorvek opened 4 months ago

skorvek commented 4 months ago

Describe the bug

I've experienced this crash multiple times over the past month or two. Double clicking to edit a label (taxonomy category, Security name, etc) in a list usually works just fine. However, seemingly randomly it will cause an immediate crash where I get the mac beachball. Other applications are fine, no errors reported but PP is just spinning, requiring a forced quit to recover (Which trashes all my work since last save).

It's not as if I'm entering invalid data- the beachball occurs immediately after double-clicking to activate edit mode for that text string. I have not experienced it any other time such as when adding a new item/taxonomy classification, or rearranging existing items.

I've not tied it to any repeatable action other than entering edit mode- it occurs at "random" times not as part of any specific sequence of events/actions.

To Reproduce

  1. Double click item to edit label
  2. Beachball

Expected behavior Editing without crash

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

starchaser01 commented 3 months ago

Verified and it seems to affect every TreeViewer with name changing functionality. At least on macOS.

Beachball is not visible in video due to screen recording limitations but the application stops responding permanently. https://github.com/portfolio-performance/portfolio/assets/13402320/9708250f-7768-4c18-89e4-3ba1c6f45e0e

OS: macOS 14.4.1 Version 0.68.3

edit:

Just tried it on an older mac without macOS Sonoma and everything is fine. I guess it is most likely a problem with Sonoma and the JRE.