Visual disposition problem with DriveBar in to many rows

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Tass
Junior Member
Junior Member
Posts: 28
Joined: 2014-11-04, 15:20 UTC

Visual disposition problem with DriveBar in to many rows

Post by *Tass »

Hi.

I'm having some strange issue with visual config of TC.

I have some saved disposition TC elements, but when I plug a new drive and it adds another row to the drive file, it causes this:

First image, normal TC.

Image: https://i.imgur.com/SeGsH5g.jpg

Second image, I plug in my mobile phone and shows as U1, causing TC to add a new row to show the size as it doesn't fit in the row above.

Image: https://i.imgur.com/E9WedCf.jpg

Third image, here is the problem, the TC window in 2nd image is the one active when I plugged the phone and it works well, but any other TC instance I run after that, with my phone plugged in, shows as 3rd image, it keeps the 3 rows for drives, but uses the normal 2 rows height and causes what you can see in the image.

Image: https://i.imgur.com/SdRTOl8.jpg

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

Re: Visual disposition problem

Post by *ghisler(Author) »

That's very strange, the screen elements should be arranged automatically to the available space. What happens when you resize the window a bit?
Author of Total Commander
https://www.ghisler.com
Tass
Junior Member
Junior Member
Posts: 28
Joined: 2014-11-04, 15:20 UTC

Re: Visual disposition problem

Post by *Tass »

ghisler(Author) wrote: 2020-03-30, 10:26 UTC That's very strange, the screen elements should be arranged automatically to the available space. What happens when you resize the window a bit?
Nothing happens, it keeps the error.

Is there any config here that could cause it?
Spoiler
[1920x1080 (8x16)]
ConnectX=717
ConnectY=378
ConnectDX=485
ConnectDY=369
ConnectMax=0
RenameX=163
RenameY=179
RenameDX=1454
RenameDY=578
RenameMax=0
RenameTabs=115,382,1016,1076,1196
CompareX=356
CompareY=362
CompareDX=673
CompareDY=447
CompareMax=0
CompareDivider=481
SearchX=29
SearchY=100
SearchDX=889
SearchDY=598
SearchMax=0
CmdSelX=638
CmdSelY=327
CmdSelDX=955
CmdSelDY=371
CmdSelMax=0
maximized=0
x=764
y=6
dx=1001
dy=592
Divider=500
DividerQuickView=500
DividerComments=500
Tabstops=203,207,268,139,572,93
CustColumnX=179
CustColumnY=240
CustColumnDX=1440
CustColumnDY=787
CustColumnMax=0
MenuChangeX=26
MenuChangeY=26
MenuChangeDX=1440
MenuChangeDY=789
MenuChangeMax=0
SyncX=62
SyncY=109
SyncDX=736
SyncDY=886
SyncMax=1
SyncTabs=231,291,386,409,601,661
Iconsize32=16
FontSize=8
FontName=Microsoft Sans Serif
FontSizeWindow=8
FontNameWindow=Microsoft Sans Serif
FontCharsetWindow=1
FontWeight=700
FontWeightWindow=700
FontNameDialog=Microsoft Sans Serif
DriveSelX=244
DriveSelY=106
DriveSelDX=320
DriveSelDY=212
DriveSelMax=0
PrintX=191
PrintY=30
PrintDX=644
PrintDY=640
PrintMax=0
PluginSelX=511
PluginSelY=165
PluginSelDX=480
PluginSelDY=480
PluginSelMax=0
monitor(0,0,1920,1080;96)=764,6,1001,592
Please ask me if you need a video or log of the issue.

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

Re: Visual disposition problem

Post by *ghisler(Author) »

I was able to reproduce it twice now with the 64-bit version. It seems to happen because the buttons for the USB devices are loaded in a background thread, and added to the drive bars once they are found. Now if the timing is bad, they are added just while TC is resizing its controls to show the drive bar without USB icons, so the space below isn't adjusted. I will try to fix it.

To avoid the problem, make the window a bit larger or smaller so adding a single USB icon doesn't change the number of lines taken by the drive buttonbar.

It's also possible to hide removable drives with no medium inside, e.g. from a card reader with multiple slots:

wincmd.ini
[Configuration]
HideRemovableNoMedia=7
Author of Total Commander
https://www.ghisler.com
Tass
Junior Member
Junior Member
Posts: 28
Joined: 2014-11-04, 15:20 UTC

Re: Visual disposition problem with DriveBar in to many rows

Post by *Tass »

Oki thanks :)
Post Reply