[TC8.0B7] - MRT dialog layout different in 32 and 64

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
fleggy
Junior Member
Junior Member
Posts: 97
Joined: 2011-10-20, 07:00 UTC

[TC8.0B7] - MRT dialog layout different in 32 and 64

Post by *fleggy »

Hello,

MRT dialog in 32b and 64b looks differently if Aero is off. I have W7 64b with all visual effects off.

Thanks
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, fleggy.

The differences are absolutely minimal and they have the same source as all the other minor display differences between T.C. 8.0 32-bit and T.C. 8.0 64-bit which have been reported and fixed (most of them):
If you pass the same screen co-ordinates and same height and width to Delphi on the one hand (32-bit development system) and Lazarus on the other hand (64-bit development system) they are pretty likely to calculate screen objects which differ in size and position by 1 or 2 dots.

Kind regards,
Karl
fleggy
Junior Member
Junior Member
Posts: 97
Joined: 2011-10-20, 07:00 UTC

Post by *fleggy »

The differences are minimal if Aero is on. If Aero is off then all controls in 32bit MRT are bigger with more free space between them. It is just a cosmetic issue - 64bit MRT layout is same in both cases (aero on/off).

Thanks
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, fleggy.

Please, have a look at the two screenshots which have been created on Server 2008 R2, classic theme, Total Commander 8.0ß7 32-bit / 64-bit, both using the same wincmd.ini: tc8.0beta7-mrt-diffsx7np.png
There are a few minor differences, but except for our dedicated pixel hunters (no offence meant :wink:) most readers will have a hard time telling the two screenshots apart and find more than 3 or 4 differences.
In case the MRTs look quite different on your Windows 7 64-bit system, a screenshot illustrating it might be quite helpful.

Kind regards,
Karl
fleggy
Junior Member
Junior Member
Posts: 97
Joined: 2011-10-20, 07:00 UTC

Post by *fleggy »

Sob
Power Member
Power Member
Posts: 945
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

That is one ugly dialog at the right! But it doesn't happen here, so it probably depends on some settings. Did you try with clean ini?

totalcmd.exe /i=c:\path\to\some\new.ini
fleggy
Junior Member
Junior Member
Posts: 97
Joined: 2011-10-20, 07:00 UTC

Post by *fleggy »

Yes, I did. 32bit still looks oddly. Normally I use one INI for both versions.
fleggy
Junior Member
Junior Member
Posts: 97
Joined: 2011-10-20, 07:00 UTC

Post by *fleggy »

The previous link is suddenly invalid. I have no idea why.
Try this new one pls. Pwd = mrt
http://www.nahraj.cz/content/view/50d5de9f-7fe5-47a7-ac7c-e485d973346c
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Well, I dont see the big differencies either - everything is moved a couple of pixels to the right in the x64 version, and the "Load names from file"-button is a little lower in the x64 version. But I dont see that vertical change in button sizes that fleggy shows.

See: http://madsenworld.dk/tcmd/mrt64-32c.png and http://madsenworld.dk/tcmd/mrt64-32.png

2fleggy
What is your Windows setting for font size (run control.exe /name Microsoft.display) ??
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
fleggy
Junior Member
Junior Member
Posts: 97
Joined: 2011-10-20, 07:00 UTC

Post by *fleggy »

This difference is shown on my Dell Latitude E6510, nVidia NVS 3100M, 1920x1080

Font size 100%
Performance Options/Visual Effects - everything off except
- Show shadows under mouse pointer
- Show translucent selection rectangle
- Show window contents while dragging

Visual Scheme - Windows Classic
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Font size 100%
Same here - but I thought that could have been the culprit.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No problem here - looks indeed like a high dpi problem?!

Any ideas how to reproduce it?
Author of Total Commander
https://www.ghisler.com
fleggy
Junior Member
Junior Member
Posts: 97
Joined: 2011-10-20, 07:00 UTC

Post by *fleggy »

I only can confirm that both dialogs look same if font size is 125% or 150%. Moreover controls in 32bit MRT have same size for 100% and 125% font size.
I think this must have something to do with font/control physical size - if some part of TC/Delphi "thinks" that font/control is too small then it recalculates its size as if font size 125% had selected. Just an idea...
Post Reply