D19857: [DownloadJob] Report total size only if known

2019-04-24 Thread Kai Uwe Broulik
This revision was automatically updated to reflect the committed changes. Closed by commit R856:3989f42ac5f0: [DownloadJob] Report total size only if known (authored by broulik). REPOSITORY R856 Plasma Browser Integration CHANGES SINCE LAST UPDATE

D19857: [DownloadJob] Report total size only if known

2019-04-15 Thread Kai Uwe Broulik
broulik updated this revision to Diff 56318. REPOSITORY R856 Plasma Browser Integration CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D19857?vs=54234=56318 REVISION DETAIL https://phabricator.kde.org/D19857 AFFECTED FILES host/downloadjob.cpp To: broulik, #plasma, fvogt Cc:

D19857: [DownloadJob] Report total size only if known

2019-04-02 Thread Fabian Vogt
fvogt requested changes to this revision. fvogt added a comment. This revision now requires changes to proceed. Additionally, the `bytesReceived > totalAmount` case is currently not handled at all, but I'm not sure whether that's something for `KJob` or here. INLINE COMMENTS >

D19857: [DownloadJob] Report total size only if known

2019-03-20 Thread Kai Uwe Broulik
broulik added a comment. It should just hide the total if unknown but that's an issue in the notification view REPOSITORY R856 Plasma Browser Integration REVISION DETAIL https://phabricator.kde.org/D19857 To: broulik, #plasma Cc: bshah, plasma-devel, jraleigh, GB_2, ragreen, Pitel,

D19857: [DownloadJob] Report total size only if known

2019-03-18 Thread Bhushan Shah
bshah added a comment. Other download managers show the downloaded amount as total amount, so it is e.g 25 MiB out of 25 MiB. REPOSITORY R856 Plasma Browser Integration REVISION DETAIL https://phabricator.kde.org/D19857 To: broulik, #plasma Cc: bshah, plasma-devel, jraleigh, GB_2,

D19857: [DownloadJob] Report total size only if known

2019-03-18 Thread Kai Uwe Broulik
broulik created this revision. broulik added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. broulik requested review of this revision. REVISION SUMMARY In case the download size isn't known, the browser reports `-1` TEST PLAN It now shows "xyz