Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drawing tool hangs after clicking on a nuclide whose graph is empty #12

Open
ferdymercury opened this issue Jun 12, 2023 · 4 comments
Open
Labels

Comments

@ferdymercury
Copy link
Collaborator

I can usually click on some elements and view the decay scheme. But sometimes, when I enter on some line, a blank screen appears, and all the subsequent attempts on different nuclei, even those that worked well before, fail.

I get the warning:

Pd-93 LEVEL  Spins=(45/2+) comment=A
      Gamma: Pd-93 GAMMA  Intensity(phot)=8±2
QGraphicsItemGroup::addToGroup: cannot add null item
QGraphicsItemGroup::addToGroup: cannot add null item
QGraphicsItemGroup::addToGroup: cannot add null item
@ferdymercury
Copy link
Collaborator Author

If I then close and restart the app, the graph appears

@ferdymercury
Copy link
Collaborator Author

Reproducer with current master and Ubu 22.04:

unfold A12
unfold C12
click on N-12 beta+ --> graph and comments are shown
click on N-16 beta- --> only comments are shown
click on N-12 beta+ --> only comments are shown, graph is no longer visible

@php1ic @martukas could you verify on your side if the same happens to you?

Thanks in advance!

@ferdymercury ferdymercury changed the title Sometimes drawing tool hangs Drawing tool hangs after clicking on a nuclide whose graph is empty Mar 19, 2024
@php1ic
Copy link
Contributor

php1ic commented Mar 19, 2024

I don't have this issue with latest commit and Fedora 39.

I clicked on lots of different levels many times in the C-12 tree and the graph and comments always show. I also clicked a few other isotopes and had no issues seeing both graph and comment.

@ferdymercury
Copy link
Collaborator Author

Very weird. Not sure how to debug. And it's a big issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants