You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am the author of gtkmm-plplot and stumbled onto your repository just now.
I would just like to comment on the Known issues you reported on the README.md page:
At least in macOS Mojave, the main GUI window needs to called in the main thread. So, using multithreading requires the threads to not to be joined. Users need to stick to other measures to make sure that the program does not prematurely end once a single thread exits.
This is a constraint imposed by Gtk and has nothing to do with Gtkmm-PLplot. If you would like to update the GUI from a different thread, you will need to call gdk_threads_add_idle. This is true on all operating systems, not just macOS.
The app crashes randomly when the mouse is being moved over the drawing canvas area.
This is a bug and should be fixed: does it occur with the example in this repo?
Best,
Tom
The text was updated successfully, but these errors were encountered:
Thank you for looking into those issues. I do not have access to a Linux/Mac computer right now, I will definitely test it as soon as possible.
And yes, this occurs with the example in the repo. Specifically this happens only in the example where the plot is continuously updated. I also found out that if I keep adding the plots, instead of removing the current plot and re-drawing the next plot, this does not happen. I was assuming if the mouse hover happens in between the removal and re-drawing, the canvas goes to an undefined behavior. I tried to catch the mouse hover event to solve this, but I did not get that to work.
By the way, thank you so much for developing and maintaining the gtkmm-plplot. It is a great tool and really appreciate the effort you put into that! I have a small suggestion though, please consider adding dependency installation details to the Readme. I think it will save a lot of time of the people like me, who are new to C++ plotting.
Hi!
I am the author of gtkmm-plplot and stumbled onto your repository just now.
I would just like to comment on the Known issues you reported on the README.md page:
This is a constraint imposed by Gtk and has nothing to do with Gtkmm-PLplot. If you would like to update the GUI from a different thread, you will need to call gdk_threads_add_idle. This is true on all operating systems, not just macOS.
This is a bug and should be fixed: does it occur with the example in this repo?
Best,
Tom
The text was updated successfully, but these errors were encountered: