Uploading gcode to repetier server freezes UI of RH
in Bug Reports
hi
Usually when you start printing to server it tooks about ~20-30sec for upload gcode to the server. I guess it performing in the main thread and during this time UI hangs and looks corrupted. This confuses a user because it looks like something wrong with the application. I think it woild be nice to add here some progress dialog to showing what's going on.
Usually when you start printing to server it tooks about ~20-30sec for upload gcode to the server. I guess it performing in the main thread and during this time UI hangs and looks corrupted. This confuses a user because it looks like something wrong with the application. I think it woild be nice to add here some progress dialog to showing what's going on.
Comments
https://docs.microsoft.com/en-us/dotnet/api/system.net.openwritecompletedeventhandler?view=netframework-4.7.2
this could be used for just simple background uploading
https://docs.microsoft.com/en-us/dotnet/api/system.net.uploaddatacompletedeventhandler?view=netframework-4.7.2
or you can spawn a new thread and push updates to main thread