Skip to content
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

Show file upload/download progress #1491

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

XaviDCR92
Copy link
Contributor

@XaviDCR92 XaviDCR92 commented Oct 6, 2023

Fixes upstream issue #1350.

demo-na.mp4

Notes

Image uploads were incorrectly handled by Dino, as they were always reported as completed even if they were not, maybe so as to show the image preview from the start. Now, Dino shows the upload progress for all file types, and the image is only shown when completed.

Copy link
Member

@fiaxh fiaxh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR!

I added some review comments.

libdino/src/entity/file_transfer.vala Outdated Show resolved Hide resolved
main/src/ui/conversation_content_view/file_widget.vala Outdated Show resolved Hide resolved
plugins/http-files/src/file_sender.vala Show resolved Hide resolved
Fixes upstream issue dino#1350.

Notes:

Image uploads were incorrectly handled by Dino, as they were always
reported as completed even if they were not, maybe so as to show the
image preview from the start. Now, Dino shows the upload progress for
all file types, and the image is only shown when completed.
@XaviDCR92
Copy link
Contributor Author

@fiaxh all issues have been already addressed. Could you please review again?

@fiaxh
Copy link
Member

fiaxh commented Dec 10, 2023

In order to keep the discussions around this PR in one place:

There was an exchange on this topic in the Dino Channel a while back. mar-v-in suggested that it would be better to

do [the counting of transferred bytes] in file manager such that it applies to both [file transfer types] just like you did for receiving files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants