-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Copy/move progress between qubes in the UI copy dialog does not work properly #8723
Comments
On the sender side: What's the TemplateVM and qubes-core-agent version? Also, are both With both
The Filecopy fails right away, but the progress bar window (showing an uninitialized progress bar) remains open. |
I have The problem still persists, when I copy 3GiB file, the progress in the KDialog dialog is zero for all the time and then the dialog closes after file successfully copied. |
If you can uninstall |
Not possible. Removing any of So, I will have to wait when the bug(s) is fixed in Qubes OS. In my case the moving/copying files works, just progress is not properly shown. Maybe the code should be modified to always use |
This seems to be related to the usage of Dolphin: When copying with Nautilus (under XFCE as well as under KDE), the progress bar advances as it should. |
@rustybird @GWeck on my fedora-38-minimal based system |
I commented out
To force using |
@rustybird I see that you are the person who was last modifying upstream bash scripts find_paths=( )
for path; do
case "$path" in
(-*) find_paths+=( ./"$path" ) ;;
(*) find_paths+=( "$path" ) ;;
esac
done You break arguments adding './' to avoid passing it as a flag and make an array out of it. I do not understand, why the usual approach with passing If possible I would like to ask you to avoid using |
https://www.gnu.org/software/findutils/manual/html_mono/find.html#Starting-points
Eh, leaving out https://www.gnu.org/software/bash/manual/bash.html#index-for |
I see, so you had to fight some kind of broken call convention of GNU find . Got it.
Yeah, I know. Just every time I read bash with such |
I checked On the other hand, I managed to add percentage and/or bytes count to the dialog, and time remaining estimation (flag |
% and byte count might be worth it too? Maybe break that out into a separate commit in the pull request. It's up to @marmarek whether it will be merged. |
I can do that, and maybe will. The question is, though, should it be added if it is implemented only for What I do know, implementing python script instead of this bash script with some small but more advanced UI (including checkbox I mentioned, including % progress in the title, maybe speed and etc.) would be interesting for me. It can be done with glade + python to keep the source consistent with the Qubes OS base. |
@marmarek @DemiMarie what do you guys think of it? |
@jamke Using a Python script would be a good idea, unless there is a compelling reason to not use Python (I don’t think there is). |
To be clear, the issue is completely not fixed, the progress is not shown properly when |
The estimated total size in bytes can be too large to use as kdialog's maximum. Use the default 100 instead and calculate the a percentage for the current position, like in progress_zenity(). Fixes QubesOS/qubes-issues#8723
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The component
|
Qubes OS release
R4.1 (R4.2, too?)
Brief summary
When I copy files from Dolphin with the qubes os service menu, it shows dialog in the process or copying, but the progress bar never properly reflects the progress. Probably it is based on files, not file data transfered (unlike terminal
qvm-copy
tool).Steps to reproduce
Copy a large file from one qube to another.
Expected behavior
The progress slowly grows from 0 to 100% (full) with the almost constant speed.
Maybe, in case of
move
, the removing progress should be also reflected.Actual behavior
Progress is wrong, e.g. always zero for the whole time.
The text was updated successfully, but these errors were encountered: