View mode switch Thumbnail/Short: wrong column size

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
milo1012
Power Member
Power Member
Posts: 1158
Joined: 2012-02-02, 19:23 UTC

View mode switch Thumbnail/Short: wrong column size

Post by *milo1012 »

This seems to happen when you switch from thumbnail view to the default short view.
Quickest reproduce if you have just two view modes and two rules: default brief view for directories, thumbnail for archives (or some specific dir).
See
https://abload.de/img/tc9_bug_thumbmru79.png

Go to some dir with long filenames and with some archive in it.
It seems the dir (the file window) needs to be "filled" with files, i.e. all columns for the current view width must be occupied, or having a scrollbar.
Now open that archive (Return / Ctrl+PgDown) -> Thumbnail view correctly applied
Go go back with backspace or ".." -> the Brief view is applied, but the columns are messed up, making the filenames very short.
Additionally the selected/highlighted file is now a different one, and not the archive (like you would expect).


Tested with TC9 beta2, both 32/64
TC plugins: PCREsearch and RegXtract
User avatar
milo1012
Power Member
Power Member
Posts: 1158
Joined: 2012-02-02, 19:23 UTC

Post by *milo1012 »

The column size works as expected in beta3, but the selected/highlighted file is still a different one when going back to the short/brief view (not the archive, like you would expect).
Not sure if I should post another bug report for this, as I thought that both things are connected.
TC plugins: PCREsearch and RegXtract
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I couldn't find a solution for this so far. The problem is that in thumbs view, each line of the listbox is one item for Windows, but contains multiple thumbnails.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Please try again with beta 5 or 6, it should focus the correct file now.
Author of Total Commander
https://www.ghisler.com
User avatar
milo1012
Power Member
Power Member
Posts: 1158
Joined: 2012-02-02, 19:23 UTC

Post by *milo1012 »

Indeed, it's fixed and working as expected in beta 6!

I didn't bother checking until now because I didn't find a fitting entry in the history.txt.
Maybe this entry from beta 4 fits, but it doesn't mention thumbnail view:
history.txt wrote:06.07.16 Fixed: Going up in file list by one level (e.g. leaving zip file): The cursor wasn't placed on the directory/zip when the view mode was changed, e.g. from full to brief view (32/64)
TC plugins: PCREsearch and RegXtract
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, I must have forgotten to document the fix.
Author of Total Commander
https://www.ghisler.com
Post Reply