Folder's 'sort by size' canceled when TC loses focus
Moderators: Hacker, petermad, Stefan2, white
Folder's 'sort by size' canceled when TC loses focus
First, similar bug was reported in "Selected folder status dissappears on changing focus" thread in "TC7.5 Fixed bugs" subforum (board doesn't allow me to add link in thread...).
I posted this bug report in that thread (they confirmed it there) but it seems that I have to make new thread because it's different bug.
Steps to reproduce:
1. Go to Configuration -> Display
2. Set "Sorting directories" to "Like files (also by time)"
3. Click OK
4. Browse to folder with many subfolders
5. Press Alt+Shift+Enter
6. Sort by Size
7. (optional step) Select some folders
8. Focus another application
9. Focus T.C.
Folders are deselected and their size is no longer displayed (they are sorted by name now)
T.C. 7.50 pb5 and Windows 7 RC 32-bit.
I posted this bug report in that thread (they confirmed it there) but it seems that I have to make new thread because it's different bug.
Steps to reproduce:
1. Go to Configuration -> Display
2. Set "Sorting directories" to "Like files (also by time)"
3. Click OK
4. Browse to folder with many subfolders
5. Press Alt+Shift+Enter
6. Sort by Size
7. (optional step) Select some folders
8. Focus another application
9. Focus T.C.
Folders are deselected and their size is no longer displayed (they are sorted by name now)
T.C. 7.50 pb5 and Windows 7 RC 32-bit.
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
Hi, Kole.
As has been confirmed in the Fixed Bugs thread, the reported behaviour is not new in T.C. 7.50 pb5, it can be observed in T.C. 7.04a as well.
Karl
As has been confirmed in the Fixed Bugs thread, the reported behaviour is not new in T.C. 7.50 pb5, it can be observed in T.C. 7.04a as well.
Kind regards,Confirmed.
It can be reproduced e.g. on Windows XP Prof SP2, 32bit, too, by following the steps you have given (steps 5. and 6. should be swapped I assume in order to sort the folders by their sizes - first calculate, next sort, not vice versa - at least this is what I did)
[...]
Note:
No changes occur inside the folders while switching away from and back to T.C. So the folder sizes do not change.
Environment:
+ Windows XP Prof, SP2, 32bit
+ Total Commander 7.50 PB5
+ Total Commander 7.04a
Karl
Hi, MVV.
Yet, as the other thread, Selected folder status dissappears on changing focus, shows T.C. 7.50 PB5 will still display the calculated folder sizes and preserve the status "selected" in case folders are always sorted by name, although T.C. looses the focuse and gets it back.
It only looses the folder sizes and the select satus in case folders are sorted like files, in this case by their sizes.
So T.C. can preserve the foldersizes and the selected status even though it looses the focus and gets it back, i.e. although the file panels get refreshed.
The difference really only is that in Kole's case folders have been sorted by their sizes and not by their names.
Kind regards,
Karl
T.C. will update its file panels whenever it gets back the focus.I think this happens because TC updates window and loses dirs sizes (cm_CountDirContent doesn't calls automatically).
Yet, as the other thread, Selected folder status dissappears on changing focus, shows T.C. 7.50 PB5 will still display the calculated folder sizes and preserve the status "selected" in case folders are always sorted by name, although T.C. looses the focuse and gets it back.
It only looses the folder sizes and the select satus in case folders are sorted like files, in this case by their sizes.
So T.C. can preserve the foldersizes and the selected status even though it looses the focus and gets it back, i.e. although the file panels get refreshed.
The difference really only is that in Kole's case folders have been sorted by their sizes and not by their names.
Kind regards,
Karl
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes, it happens when TC thinks that the file list has changed and requires an update, probably because the checksum is different due to the different sort order. I will check whether there is a solution or not.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: