-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
[BUG]Copying ... (Not Responding) #19
Comments
the dialog only updates when whole file finishes, the progress bar doesnt move depending on part of file being copied and folder acts as 1 "file" during copying, so that the progress bar gets updated when the whole folder finishes copying |
I understood, only the dialog seems frozen, it doesn't behave intuitively... at the first run I forcibly stopped the task, I didn't know what was happening! I don't know how the "underground" routine works, maybe the file names should be extracted from the folders (recursively) and then copied, or maybe some kind of hook in the windows api. Honestly, I don't know exactly, I haven't made Windows applications for almost 20 years, at that time I was using Delphi, Pascal and Assembler, memories from long gone times! maibe possibly simulating an action, something animated, a gradient bar, a small "robot" doing something :)) ... P.S. The program works as it should, just a few "hiccups"! I wish you a happy life. |
nah under the hood the application just calls adb commands in cmd :DDD but yeah unwrapping the list theoretically should work. i thought that i could go through the list, and unwrap each folder. and then do that again until it stops unwrapping folder |
Thanks for the reply. The adb command seems to already have the ability to view progress. Variant 1 = This can be done using subprocesses in many programming languages: Python and variant 2:, redirect the output of the adb pull command to a log file and then read that file periodically to update your progress bar:
Remember, I don't know Python, the code in the images is not functionally tested or checked for syntax, it may have errors or not work as expected.But as an idea, it can be a starting point for inspiration! |
but this application is in C# not Python :| and i added option for "unwrapping" the folders, so when you select large folder(s), it replaces the folder with the contents of that folder, and it does that recursively for all the folders. so the progress bar is smoother and doesnt just show "0 files from 1 copied" |
Added this in v1.7 release |
Issue 1: When start copying ... the dialog is blocked, no refresh appears.
The copying takes place correctly, in a few minutes it copied 7Gb of files, but no update appears in the dialog window.
Issue 2: When installing Windows 10, it tries to discourage you from installing this application, being unknown.
Issue 3: Avast antivirus quarantines the launcher, suspected with IDP.generic - is it a false positive !?
The text was updated successfully, but these errors were encountered: