Long folder name looks out of the edit box.

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
gora
Junior Member
Junior Member
Posts: 87
Joined: 2010-12-17, 10:37 UTC
Location: Russian

Long folder name looks out of the edit box.

Post by *gora »

Long folder name looks out of the edit box.

Image: http://gora.7zsfx.info/test/nelezet.png

TC8b9 x64, Win7 x64.
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, gora.

I can reproduce the situation which your screenshot illustrates.
The relevant factors are the fonts which you have configured inside T.C. for the file panel and for the main window.
The font configured for the file panel must be bigger (occupy more space) than the font configured for the main window.
E.g. the following pair will have the reported effect:
+ File panel: Tahoma 9b
+ Main window: Tahoma 8b

This is on
+ Windows 2003 Std SP2, 64-bit, classic theme
+ Total Commander 8.0ß9 64-bit
+ Total Commander 8.0ß9 32-bit
I.e. the behaviour is independent of 32-bit vs 64-bit.

This also happens on
+ Windows 2003 Std SP2, 64-bit, classic theme
+ Total Commander 7.56a
I.e. this behaviour has not been introduced by the current beta versions, but has existed before.

Moreover it hardly qualifies for the term bug. No functionality is affected negatively. It is a visual glitch.

Kind regards,
Karl
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48097
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The problem is actually not a font problem - it's caused by the wrong assumption that the size field always shows the size in bytes. Therefore the width is calculared incorrectly.
Author of Total Commander
https://www.ghisler.com
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, Christian.

Hm, on the testing machines, the filesizes are displayed in bytes. So the problem should not be reproducible on them, according to your explanation, should they?

Anyway, the problem has been solved in Total Commander 8.0ß10 32-bit / 64-bit. The width of the edit box always equals the sum of width name column plus width ext column (in full view mode). Moreover, now you attach a little square OK button at the right edge of the inline rename edit box. This little OK box covers a part of the size column anyway. So the original unmodified filename has got no chance of being partially visible on the right side of the inline rename edit box any longer.

Case closed, I guess.

Kind regards,
Karl
--
P.S.:
Bad luck, case re-opened, it seems, see gora's post below.
Last edited by karlchen on 2011-11-26, 09:02 UTC, edited 1 time in total.
User avatar
gora
Junior Member
Junior Member
Posts: 87
Joined: 2010-12-17, 10:37 UTC
Location: Russian

Post by *gora »

karlchen wrote:Anyway, the problem has been solved in Total Commander 8.0ß10 32-bit / 64-bit anyway.
No, the problem isn't solved.

TC 8b10 with clear ini a file. The line InplaceOkButton=0 only is added.
Problems aren't present on the English interface, but the problem is on the Russian interface.
http://gora.7zsfx.info/test/en.png
http://gora.7zsfx.info/test/ru.png
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, gora.

Hm, well, bad luck. Case re-opened, I guess.

Yet, so far, the worst result which I could get telling T.C. to talk German to me, was this:
  • I used almost the same folder as you, i.e. [Program Files] (no [Program Files (x86)] on 32-bit systems by default, though I might create it).
  • In full view, the width of name plus ext has been set to be exactly the same as the string length of [Program Files].
  • The InlineOKButton has been switched off.
  • I press shift-f6.
  • => In this situation the right square bracket ] will be visible outside the right edge of the inline rename edit box.
Kind regards,
Karl
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48097
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I can confirm the problem with Russian, thanks!
Author of Total Commander
https://www.ghisler.com
User avatar
gora
Junior Member
Junior Member
Posts: 87
Joined: 2010-12-17, 10:37 UTC
Location: Russian

Post by *gora »

2ghisler(Author)
The problem is solved in b11.
Thanks for the fix.
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, Christian.

Should this thread not be moved to the "Fixed Bugs" section. The O.P., gora, has confirmed the fix in beta 11, and no-one has disagreed for the past few weeks.

Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48097
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I agree, thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply