[TC 8.0ß12-17 x64] Strings in Full view have wrong size

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

Moderators: white, Hacker, petermad, Stefan2

Kevlar
Junior Member
Junior Member
Posts: 32
Joined: 2009-03-30, 13:11 UTC

[TC 8.0ß12-17 x64] Strings in Full view have wrong size

Post by *Kevlar »

Searched the forum but did not find exactly the same issue.

Screenshot for this bug is here.

Trigger: screen resolution manipulation.
Actions to reproduce:
1. Set screen resolution to 1366x768 (or else).
2. Start TC8 Beta16 x64 (TC8beta16 32 bit does not have this bug).
3. Minimize TC window (is necessary).
4. Change resolution to 1280x720 (or other than in step 1).
5. Restore TC window. Strings should be other width than its headers (as shown on screenshot).

Sometimes focusing from TC to desktop by clicking with a mouse causes strings to align at the moment.

This bug was noticed in earlier betas. (Later checked out the problem appeared in TC8(x64)beta12. See my post Sat Jan 21, 2012 in this thread)
Last edited by Kevlar on 2012-01-21, 12:51 UTC, edited 5 times in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will check it, thanks for your report. All I know is that TC is ignoring resize messages now while minimized.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I cannot reproduce the problem here on Windows 7. Which Windows version do you use? What theme?
Author of Total Commander
https://www.ghisler.com
Kevlar
Junior Member
Junior Member
Posts: 32
Joined: 2009-03-30, 13:11 UTC

Post by *Kevlar »

ghisler(Author) wrote:Unfortunately I cannot reproduce the problem here on Windows 7. Which Windows version do you use? What theme?
Now I have tried to change many things in OS but still the bug is 100% reproducible. OS is Win7x64Pro SP1. I tried:
-all other progs/antivirus closed/disabled
-Aero - ON, all beauties/animations are ON
-Aero is OFF (checked basic and classic with beauties/animations set to OFF)
-tried on monitor (via DVI) and on TV (via TV out)
-tried both on discrete and integrated graphics (both are Nvidia)
-in TC tried both minimize to taskbar and systray

Do not know what to try else.

Some things I've noticed so far:
-step 3 in 1st post (minimize TC window) is necessary for the bug to happen
-strings are aligned to their headers at the moment of clicking to minimize 'bugged' TC window
-the bug is absent if I change resolution from 1366x768 to 1360x768 and backward (how weird)

On another machine with WinXP SP3 32 bit (Intel graphics) there was no such bug found.

I hope I can try TC beta on other Win7 PC soon. But looks like this bug is a rare, as others are silent.
Last edited by Kevlar on 2012-01-20, 00:48 UTC, edited 1 time in total.
Kevlar
Junior Member
Junior Member
Posts: 32
Joined: 2009-03-30, 13:11 UTC

Post by *Kevlar »

Tried one more thing: installed TC8 beta 16 x32 bit. The bug is absent for 32 bit version of TC on the same PC (Win7 x64).
Kevlar
Junior Member
Junior Member
Posts: 32
Joined: 2009-03-30, 13:11 UTC

Post by *Kevlar »

New behavior in TC8 x64 beta 17: after restoring TC window (step 5 in 1st post) left panel is always ok, right panel still has the same problem no matter where the cursor was (on the left or on the right panel).
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can reproduce it too.

Here with a clean ini file going from 1355x768 to 1280x720, seen in both panels:
http://madsenworld.dk/tcmd/screenresize4.png

Here with my normal ini file going from 1355x768 to 1280x720 - only in the left side, notice remnant of the file panels under the drive buttons:
http://madsenworld.dk/tcmd/screenresize2.png

This one is only in the right side. Notice again remnants of file panel headers under drive butttons:
http://madsenworld.dk/tcmd/screenresize5.png

And this one where the file panels are both OK, but again with remnants of file panel headers under drive butttons:
http://madsenworld.dk/tcmd/screenresize.png

Here is how it should normally look:
http://madsenworld.dk/tcmd/screenresize3.png
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Kevlar
Junior Member
Junior Member
Posts: 32
Joined: 2009-03-30, 13:11 UTC

Post by *Kevlar »

petermad wrote:I can reproduce it too.
Hooray, I'm not crazy as I began to think so since others were silent.

Strange thing: today beta 17 has problem on both panel just like the beta 16 did.

P.S. My tests were run with clean ini too.

P.P.S. Have found TC8x64beta1 somewhere in internet, installed. It does not have this bug. This confirms my suspicion that this bug had appeared in beta 8...14 (can't remember exactly). Is there an archive of betas? I could determine the 1st one with this bug.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Is there an archive of betas?
Not that I know of, so I have put the 64bit betas here for you: http://madsenworld.dk/tcmd/betas
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Kevlar
Junior Member
Junior Member
Posts: 32
Joined: 2009-03-30, 13:11 UTC

Post by *Kevlar »

petermad wrote:
Is there an archive of betas?
Not that I know of, so I have put the 64bit betas here for you: http://madsenworld.dk/tcmd/betas
Thanks to you now I can say:
-beta 11 (x64) (and earlier versions) does not have this bug
-beta 12 (x64) has this bug

I think it would be good if you could check beta 11 with default ini and your ini, petermad.

Looks like its Lazarus problem (from TC history file):

09.12.11 Release Total Commander 8.0 public beta 12 (32/64)
04.12.11 Added: Switched to new Lazarus build with fpc 2.5.1 - may cause various incompatibility problems, please test thoroughly! (64)

but it's only my guess.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Kevlar


I can confirm that the bug is not present in TC 8.0b11 but occurs in TC 8.0b12.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I'm really sorry, but whatever I try, I cannot reproduce it. :(
Looks like its Lazarus problem (from TC history file):
The difference is that Lazarus does not resize the window any more while minimized. This was causing all kinds of problems, e.g. the cursor not remaining on the last line. However, the Window is resized when you restore it!

Therefore I guess that you do something different when minimizing/restoring, which causes TC to not get the resize notification message. Therefore I ask: How exactly do you minimize/restore TC? In my tests, I did it by clicking on the TC icon in the taskbar. Alternatively, I also clicked on the minimize button in the title bar, and restored it with Alt+Tab. In all cases, the columns were alligned correctly...
Author of Total Commander
https://www.ghisler.com
Kevlar
Junior Member
Junior Member
Posts: 32
Joined: 2009-03-30, 13:11 UTC

Post by *Kevlar »

ghisler(Author) wrote:Therefore I ask: How exactly do you minimize/restore TC?
Here is the video answer to your question, Mr. Ghisler.

P.S.
One more thing I've found out: bug is not present if I change resolution from 1280x960 to 1280x720. Just like I posted before, there is no bug when I change from 1366x768 to 1360x768.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

bug is not present if I change resolution from 1280x960 to 1280x720
The problem is the change of the screen WIDTH, which is relevant for the width of the name field if it causes the TC window size to change.

In th new beta 17a, I'm now explicitly calling a function which should adjust the column width when the size is changed while TC was minimized. Unfortunately I still cannot reproduce it, so I have no idea whether it helps or not. Please test it.
Author of Total Commander
https://www.ghisler.com
Kevlar
Junior Member
Junior Member
Posts: 32
Joined: 2009-03-30, 13:11 UTC

Post by *Kevlar »

ghisler(Author) wrote: In th new beta 17a, <...> Please test it.
Beta 17a works like Swiss watches now!

Petermad, your turn.
Post Reply