SeaDve / Delineate

View and edit graphs
GNU General Public License v3.0
71 stars 2 forks source link

Freeze during editing via text #14

Open TheJackiMonster opened 2 months ago

TheJackiMonster commented 2 months ago

Affected version

Bug summary

During editing the text, the interface seems to freeze sometimes for unknown reasons. As soon as I resize the window of the application though, all input is processed properly and it works again as expected. Not sure, maybe a starvation issue in synchronization?

Steps to reproduce

Editing the graph via text until the UI freezes...

Can't say exactly what's causing it. Sometimes when making new lines or entering tabs. To encounter this I simply tried to recreate the graph from the screenshot in the repository.

Expected behavior

The application shouldn't freeze, I assume. If it doesn't (which is most of the time) the experience is pretty smooth.

Relevant logs, screenshots, screencasts, etc.

I don't think the freeze appears in the logs but maybe this still helps.

2024-09-25T13:33:58.540103Z  INFO delineate::application: Delineate (io.github.seadve.Delineate)
2024-09-25T13:33:58.540127Z  INFO delineate::application: Version: 0.1.0 ()
2024-09-25T13:33:58.540131Z  INFO delineate::application: Datadir: /app/share/delineate
2024-09-25T13:33:58.584095Z DEBUG delineate::application::imp: Restoring session on activate
2024-09-25T13:33:58.824535Z DEBUG delineate::session: Session restored elapsed=240.422202ms
2024-09-25T13:33:58.834410Z DEBUG delineate::recent_list: Recents loaded elapsed=9.71158ms
Failed to create /home/thejackimonster/.var/app/io.github.seadve.Delineate/cache for shader cache (No such file or directory)---disabling.
Failed to create /home/thejackimonster/.var/app/io.github.seadve.Delineate/cache for shader cache (No such file or directory)---disabling.
2024-09-25T13:33:59.643960Z DEBUG delineate::graph_view: Loaded index.html from file:///app/src/delineate/graph_view/index.html
2024-09-25T13:33:59.779113Z DEBUG delineate::graph_view: Initialized Graphviz version=12.1.0
2024-09-25T13:34:01.624480Z DEBUG delineate::session: Saving session on auto save
2024-09-25T13:34:01.728065Z DEBUG delineate::recent_list: Recents saved elapsed=39.413333ms
2024-09-25T13:34:01.728080Z DEBUG delineate::session: Session saved elapsed=103.583357ms
2024-09-25T13:34:04.089056Z DEBUG delineate::window: Inhibited logout

(delineate:2): Gtk-WARNING **: 15:34:27.018: Trying to snapshot AdwBin 0x5be500f74040 without a current allocation
2024-09-25T13:35:00.188058Z DEBUG delineate::session: Saving session on last window
2024-09-25T13:35:00.260336Z DEBUG delineate::recent_list: Recents saved elapsed=33.583431ms
2024-09-25T13:35:00.260355Z DEBUG delineate::session: Session saved elapsed=72.278951ms