Use long names brings issue with double dots instead of file names

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Use long names brings issue with double dots instead of file names

Post by *User919 »

Configuration/Display/Use long names brings issue with double dots instead of file names.

Image: http://uzivatel919.sweb.cz/Double%20dots.png

Steps:
1. Set Configuration/Display/Use long names (recommended).
2. Set detail view.
3. Close TC.
4. Open TC.
5. Minimize the window.
Last edited by User919 on 2019-09-24, 22:22 UTC, edited 2 times in total.
User avatar
Dalai
Power Member
Power Member
Posts: 9352
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Upper folder double dot instead of all file names

Post by *Dalai »

Are you sure the Name column isn't too narrow? Are you sure these are the real file names? What are we looking at, a single directory or branch view? I'm asking because there can't be more than one file name with the same name per directory.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Re: Upper folder double dot instead of all file names

Post by *User919 »

Yes, I am. It is single directory view. I updated the image.

Narrowed column look like Image: http://uzivatel919.sweb.cz/Narrowed%20name%20column.png.

Further more if I change the column width, the names appear.
User avatar
Dalai
Power Member
Power Member
Posts: 9352
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Upper folder double dot instead of all file names

Post by *Dalai »

Can you reproduce it with a clean wincmd.ini, like this:

Code: Select all

totalcmd.exe /i="%temp%\fresh.ini
?

Which TC are we talking about, 32-bit or 64-bit?

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Re: Upper folder double dot instead of all file names

Post by *User919 »

Dalai wrote: 2019-09-24, 22:03 UTC Can you reproduce it with a clean wincmd.ini, like this:

Code: Select all

totalcmd.exe /i="%temp%\fresh.ini
?

Which TC are we talking about, 32-bit or 64-bit?

Regards
Dalai
With fresh.ini it is okay. It applies to 32 as well 64 bit v. but it seems it is somewhat configuration related.
Last edited by User919 on 2019-09-24, 22:41 UTC, edited 1 time in total.
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Re: Use long names brings issue with double dots instead of file names

Post by *User919 »

As I touched Configuration/Tabstops/Show file extensions setting issue got irreproducible.

If it is return, I will continue investigation and let you know.

I found that comments column view is simillar to what I was getting. Perhpas there was some issue I cannot truly understand for now.
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Use long names brings issue with double dots instead of file names

Post by *Usher »

2hugobruno
I don't understand why you hid column headers and folder names on your screenshots. It's not helpful.

1. There may be a problem when resizing TC window or columns with "Adjust Tabs to window width" option turned on. TC recalculates column sizes and rounds them to integer values before saving. When you restart TC, it recalculates sizes again, as rounded values don't keep previous proportions. After several such iterations you may get Name column narrow as in your case. There may be similar problems when you use view with custom columns.
It looks like there is no such problem when you change "Tabstops" option to show file extension directly after filename.

2. There may be also some unpredictable effects if you keep wincmd.ini saved in default ANSI codepage and navigate to any folder with name in some foreign (accented) characters outside of that codepage. What is more, such effects may be seen depending on display card drivers. In this case you should convert your wincmd.ini to Unicode UTF-16. However, I think it's not your case, but who knows…
Andrzej P. Wozniak
Polish subforum moderator
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Re: Use long names brings issue with double dots instead of file names

Post by *User919 »

I agree it had no benefit.

1. I agree the calculation of column witdth could be the reason. Perhpas also there was some failure interchange between comments, detail and custom columns view.
2. I’ll keep in mind that encoding issue. If the issue returns, I’ll try that.

Note. You can check in new image that column is not narrowed when having these dots.
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Use long names brings issue with double dots instead of file names

Post by *Usher »

2hugobruno
Now I can see the difference. It really may be a problem with broken wincmd.ini. If you can't see any strange characters in the file, you can play with your fresh.ini:
- Open wincmd.ini and copy the first section, it's [Configuration].
- Open fresh.ini in notepad, paste copied section and delete existing one. Save file as Unicode UTF-16.
- Close TC and open it again with fresh.ini, as described earlier.
If it's all OK, close TC, repeat copy-pasting for the next section, run TC once again with fresh.ini, etc.
If you can see the old problem, it's a problem with the last added section.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Use long names brings issue with double dots instead of file names

Post by *ghisler(Author) »

Could you send me a copy of your wincmd.ini to support at ghisler dot com, so I can try to reproduce the problem? Thanks!
Author of Total Commander
https://www.ghisler.com
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Re: Use long names brings issue with double dots instead of file names

Post by *User919 »

There were lot of changes on my side and issue is reproducible no longer. So sent will be useless, I guess. As it is come back, I will send you it.
Post Reply