http://bugs.winehq.org/show_bug.cgi?id=22692
Summary: Total Commander: When copying a file the progress bar is not updated except at the end Product: Wine Version: 1.1.44 Platform: x86-64 URL: http://www.ghisler.com/amazons3.php OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: alexandru.balut@gmail.com
Press F5 to copy a large file (200MB), notice the progress bar looks empty and it shows "0 %" all the time; after a while, if you keep staring at it, right at the end it is updated and looks full.
I guess whatever library is doing the copying does not report back the progress, except at the end..
Total Commander 7.50a wine-1.1.44 Ubuntu 10.04 64
http://bugs.winehq.org/show_bug.cgi?id=22692
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #1 from Austin English austinenglish@gmail.com 2010-05-14 14:17:08 --- Terminal output?
http://bugs.winehq.org/show_bug.cgi?id=22692
--- Comment #2 from Alex Balut alexandru.balut@gmail.com 2010-05-15 08:49:29 --- Created an attachment (id=27982) --> (http://bugs.winehq.org/attachment.cgi?id=27982) Terminal output: started Total Commander, copied a file
http://bugs.winehq.org/show_bug.cgi?id=22692
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #3 from Wylda wylda@volny.cz 2010-06-09 21:08:09 ---
Confirming incorrect progress bar behavior. Consider UNCONFIRMED->NEW.
Tested under: * wine-1.2-rc2-250-g950919e * total commander v7.50a
http://bugs.winehq.org/show_bug.cgi?id=22692
--- Comment #4 from Wylda wylda@volny.cz 2010-06-09 21:18:10 ---
Probably never worked correctly. Happen is all the following versions: * 0.9.49, 1.0.1, 1.1.22, 1.2-rc2-250-g950919e
http://bugs.winehq.org/show_bug.cgi?id=22692
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #5 from Austin English austinenglish@gmail.com 2010-06-10 00:47:43 --- Confirming.
http://bugs.winehq.org/show_bug.cgi?id=22692
Rafal Stanilewicz washuu@eastnews.com.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |washuu@eastnews.com.pl
--- Comment #6 from Rafal Stanilewicz washuu@eastnews.com.pl 2012-01-23 04:32:56 CST --- Confirm as of wine-1.3.37.
http://bugs.winehq.org/show_bug.cgi?id=22692
guindous guindous@cardello.com.ar changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |guindous@cardello.com.ar
http://bugs.winehq.org/show_bug.cgi?id=22692
--- Comment #7 from Rafal Stanilewicz washuu@eastnews.com.pl 2012-12-14 06:13:03 CST --- The same in 1.5.18.
http://bugs.winehq.org/show_bug.cgi?id=22692
--- Comment #8 from Alex Balut alexandru.balut@gmail.com 2013-08-06 05:50:10 CDT --- Still happens in wine-1.6, Total Commander 8.01. Any idea what could cause this?
http://bugs.winehq.org/show_bug.cgi?id=22692
winehq.domain.gauner@spamgourmet.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq.domain.gauner@spamgo | |urmet.com
--- Comment #9 from winehq.domain.gauner@spamgourmet.com --- On my Ubuntu 13.10, Wine 1.4.1, Totalcommander 8.5b14 it works, if under "Configuration" -> "Options" -> "Copy/Delete" -> "use standard copy method" is unchecked and one of the first two entrys "Use default method only" or "Also use big file copy method" is selected.
http://bugs.winehq.org/show_bug.cgi?id=22692
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |kernel32 Summary|Total Commander: When |Multiple applications fail |copying a file the progress |to update progress bar |bar is not updated except |during lengthy copy |at the end |operations (missing | |CopyFileEx progress | |callback support)(Total | |Commander 8.x, SimCity 4 | |installer)
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
Total Commander 8.x uses CopyFileExW() and relies on supplied progress callback function being called. Wine doesn't implement callback based progress notification yet.
MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/aa363852%28v=vs.85%2...
--- quote --- CopyFileEx function
Copies an existing file to a new file, notifying the application of its progress through a callback function.
To perform this operation as a transacted operation, use the CopyFileTransacted function. Syntax C++
BOOL WINAPI CopyFileEx( _In_ LPCTSTR lpExistingFileName, _In_ LPCTSTR lpNewFileName, _In_opt_ LPPROGRESS_ROUTINE lpProgressRoutine, _In_opt_ LPVOID lpData, _In_opt_ LPBOOL pbCancel, _In_ DWORD dwCopyFlags );
... lpProgressRoutine [in, optional]
The address of a callback function of type LPPROGRESS_ROUTINE that is called each time another portion of the file has been copied. This parameter can be NULL. For more information on the progress callback function, see the CopyProgressRoutine function. --- quote ---
Source: http://source.winehq.org/git/wine.git/blob/eba2f4322169715b3672651a5427b718b...
$ sha1sum tcm801x32.exe 718b6111f8104d2071f77f240845d1d2be1ccfc6 tcm801x32.exe
$ du -sh tcm801x32.exe 3.3M tcm801x32.exe
$ wine --version wine-1.7.9-342-gc638552
Regards
http://bugs.winehq.org/show_bug.cgi?id=22692
--- Comment #11 from Anastasius Focht focht@gmx.net --- *** Bug 29232 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=22692
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |22690
https://bugs.winehq.org/show_bug.cgi?id=22692
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #12 from Sebastian Lackner sebastian@fds-team.de --- This is fixed by a bunch of Wine Staging patches (yes, you have to apply them all):
[1/3] https://github.com/wine-compholio/wine-staging/tree/master/patches/ntdll-Fil... [2/3] https://github.com/wine-compholio/wine-staging/tree/master/patches/kernel32-... [3/3] https://github.com/wine-compholio/wine-staging/tree/master/patches/ntdll-Cop...
Needs ./tools/make_requests.
https://bugs.winehq.org/show_bug.cgi?id=22692
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michael@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=22692
--- Comment #13 from Michael Müller michael@fds-team.de --- The urls posted in the last comment by Sebastian changed since CopyFileEx is part of kernel32 and not ntdll as it was suggested by the incorrect folder name.
[1/3] https://github.com/wine-compholio/wine-staging/tree/master/patches/ntdll-Fil... [2/3] https://github.com/wine-compholio/wine-staging/tree/master/patches/kernel32-... [3/3] https://github.com/wine-compholio/wine-staging/tree/master/patches/kernel32-...
Regards, Michael
https://bugs.winehq.org/show_bug.cgi?id=22692
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #14 from Anastasius Focht focht@gmx.net --- Hello folks,
obviously still present as of Wine 1.7.44
Regards
https://bugs.winehq.org/show_bug.cgi?id=22692
--- Comment #15 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Michael Müller from comment #13)
Hi, Michael.
I only looked at this one so far, and I think it could be improved by having a map of kernel32 class ids to ntdll class ids instead of having it unrolled like this. Also I don't think we need to forward everything to ntdll, a way GetFileInformationByHandleEx() does it is better in my opinion.
Do you think you can work on it to improve and send in?
https://bugs.winehq.org/show_bug.cgi?id=22692
--- Comment #16 from Anastasius Focht focht@gmx.net --- Hello folks,
a part of aforementioned patches was committed today:
https://source.winehq.org/git/wine.git/commit/fd8fae105b68a2af131b070adea0bf...
https://source.winehq.org/git/wine.git/commit/7fe0b56e15a278dbd3a9def388321a...
Thanks Michael for getting this upstream.
Regards
https://bugs.winehq.org/show_bug.cgi?id=22692
--- Comment #17 from Wylda wylda@volny.cz --- FWIW the patch named "kernel32: Add support for progress callback in CopyFileEx" fixes progres bar of SimCity4. Tested under 1.7.46-193-g8b566b1 + this patch.
Thank you Michael for your work!
https://bugs.winehq.org/show_bug.cgi?id=22692
--- Comment #18 from Anastasius Focht focht@gmx.net --- Hello Wylda,
--- quote --- FWIW the patch named "kernel32: Add support for progress callback in CopyFileEx" fixes progres bar of SimCity4. Tested under 1.7.46-193-g8b566b1 + this patch. --- quote ---
that was expected, see bug 29232 (https://bugs.winehq.org/show_bug.cgi?id=29232#c7) which was resolved as dupe here.
Regards
https://bugs.winehq.org/show_bug.cgi?id=22692
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/kernel32-CopyF | |ileEx
https://bugs.winehq.org/show_bug.cgi?id=22692
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/kernel32-CopyF |er/patches/kernel32-CopyFil |ileEx |eEx CC| |nerv@dawncrow.de
https://bugs.winehq.org/show_bug.cgi?id=22692
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.ghisler.com/amaz |https://web.archive.org/web |ons3.php |/20210207154744/http://tota | |lcommander.ch/win/old/tcm80 | |1x32_64.exe
https://bugs.winehq.org/show_bug.cgi?id=22692
temp82@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82@luukku.com
--- Comment #19 from temp82@luukku.com --- there is finally some work upstreamed since https://source.winehq.org/patches/data/232243 got merged but it seems it does not contain all the changes wine-staging patch does.
https://bugs.winehq.org/show_bug.cgi?id=22692
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |oleg.kuznetsov@metamint.ru
--- Comment #20 from Gijs Vermeulen gijsvrm@gmail.com --- *** Bug 48402 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=22692
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple applications fail |Multiple apps fail to |to update progress bar |update progress bar during |during lengthy copy |lengthy copy operations |operations (missing |(missing CopyFileEx |CopyFileEx progress |progress callback |callback support)(Total |support)(Total Commander |Commander 8.x, SimCity 4 |8.x, SimCity 4 installer, |installer) |Harry Potter: Quidditch | |World Cup installer)