TC 7.5 rc1 - Windows 7 progress bar for background transfer

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

j
Member
Member
Posts: 124
Joined: 2009-04-13, 19:49 UTC

Post by *j »

What about the TBPF_ERROR state?
It would be really nice to have it, so stalled operations can easily be spotted.

Thanks.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will consider it for a later release. Btw, any idea how Windows 7 determines which progress bar to show when there are multiple windows?

For example, when I start copying in background and foreground, the bar doesn't change when I activate the background copy window or main window.
Author of Total Commander
https://www.ghisler.com
j
Member
Member
Posts: 124
Joined: 2009-04-13, 19:49 UTC

Post by *j »

The basic algorithm is described on MSDN (see remarks):

First the priority is checked (INDETERMINATE/NORMAL/PAUSE/ERROR) and after that, the progress with the lowest value is shown.
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

Quite analog to the first message in this thread, but I think a little bit different.

Before reproducing be sure, that you have "don`t group" for taskbar activated.

1. Start to copy a very big file (some GBs) into nul
2. Pause process
3. Start process
4. Move process to the background
5. Pause process
6. Start process
7. Cancel process

You can have green and yellow on your taskbar from time to time for a foreground window and a background thread, which is not always matches to reality (look for example after cancelling before confirming "ok") . You can also have a progressbar of the main window close to 0, when cancelling a background copy. Try to variate a moment of cancelling the copy process. Try to break on pause and on process.
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

Seems to be fixed in TC7.5RC2 . Thanks.
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

I can see another problem.

1. Start to copy a very big file (some GBs) into nul
2. Move process to the background
3. Pause process
6. Start to copy the same file into nul in the main TC`s window.
7. Pause process.
8. You can see, that the progressbar of the main window in the taskbar want not to stay yellow. After some milliseconds it becames green!

TC7.5RC2 under Win7 X64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for confirming the fix!

2Postkutscher
It's a mystery to me how Windows 7 merges multiple active progress bars to one taskbar window...
Author of Total Commander
https://www.ghisler.com
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

2ghisler(Author)
It was observed under the condition, that the Windows was not allowed to merge progressbars of different windows (via taskbar options).
Post Reply