[Bug 32130] Gecko and Mono downloaders should show the file size and allow user to abort

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 12 16:28:33 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=32130

--- Comment #1 from Vincent Povirk <madewokherd at gmail.com> 2012-11-12 16:28:33 CST ---
Created attachment 42484
  --> http://bugs.winehq.org/attachment.cgi?id=42484
patch using IBindStatusCallback to cancel

I tried writing a patch to allow an abort during the download, but I'm running
into the problem that there is no way to immediately abort the
UrlDownloadToFile call. (We can abort it the next time there's progress, but
that won't work if the download stalls and the user clicks Cancel.)

I think that the way this works now, we have to abort the download/install
thread cooperatively or add some complicated synchronization. Otherwise,
there's a race between disabling the Cancel button after the download finishes
and getting the notification of the user clicking Cancel on the main thread.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list