Some jobs only set a processed amount and no total. This patch ensures when the job finishes, the total amount at least matches the processed amount.
The UI handles 1 out of 0 gracefully (only shows "1 file") but only if there is 1 total file will it offer to open the file.
Details
Details
- Reviewers
nicolasfella - Group Reviewers
Plasma
5.17
The job should probably be fixed but I've seen others (I think trash job) also not doing it properly
- Sent a file from KDE Connect to my PC, got "Open" offered for that file
One issue it seems to bring:
- When I delete a file it now offers to "open" that when the job is done :/
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Comment Actions
Given the trash issue and the fact that fixing KDE Connect was easy, let's abandon this: https://invent.kde.org/kde/kdeconnect-kde/merge_requests/188/diffs