Replies: 1 comment 2 replies
-
yeah, i think it's number two. It also explains another issue i'm having. I guess i thought there would be some hidden magic for the lazy or something... but execCmdEx is synchronous, so it's blocking my gui. I will leave this open, for now, in case anyone has any recommendations as to the best approach. Actually, rsync is usually getting called multiple times inside a loop, so maybe it's a chance for some performance optimization too. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm calling
rsync
after button click viaexecCmdEx
fromstd/osproc
. While these rsync processes are running, if i change focus to another desktop workspace (currently using xfce, but have seen this with gnome in the past) and go back to my owlkettle app, the window is corrupted with a black/dark grey color, or random artifacts until the rsync process(es) finish. Then, the gui returns to normal.Is this an owlkettle/gtk4/x11/wayland issue? or i'm supposed to use spawn, or async, or something for the rsync process(es) to avoid this issue?
thanks
Beta Was this translation helpful? Give feedback.
All reactions