[TC 8.0b17 x32]Lister doesn't show all jpegs

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

Moderators: white, Hacker, petermad, Stefan2

Klaus S
Junior Member
Junior Member
Posts: 7
Joined: 2012-01-31, 15:05 UTC

[TC 8.0b17 x32]Lister doesn't show all jpegs

Post by *Klaus S »

OK then:
I replaced the gdiplus.dll in C:\Windows\system32 by the downloaded one for my system: nothing changed.
As it seems to concern this particular file only (and as the file displays correctly in Lister after pressing F2) I think it is a waist of time to bother with it any longer. Stands to reason, why IrfanView and XnView open the file without the necessity to refresh the display, and I don't know, if in earlier versions of TC the effect has been present, but I don't really mind... :wink:
Kind regards
Klaus
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

TC looks for the gdiplus dll first in the System directory (GetSystemDirectory), then in the Windows directory (GetWindowsDirectory).
Well, I don't have a gdiplus.dll in neither the system directory nor the windows directory only in the windows\winsxs directory on both my Windows XP and my Windows 7 x64 computers - yet gdi+ works exept for this bug under Windows XP.

On my Windows 7 computer I have noticed that some programs have their own gdiplus.dll in their program folder under "c:\Program Files (x86)".

Maybe TC should be shipped with it's own gdiplus.dll too.

I have noticed that I don't have to use F2 to view the image with gdi+ under Win XP 32. If I move any window in front of lister and then refocus lister then the part of the image that was covered by the window is now shown.

If I have image viewing plugins installed in ny TC and I press 4 to switch from the plugin viewer to Lister's internal viewer the image is shown immediately.

If I load the image in a separate Lister by using %COMMANDER_EXE% /S=L:P path\83120.jpg then the image is also shown immediately.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I have checked it in the debugger now - the GDI+ dll is loaded without problems, and the image is loaded too, but doesn't display although I use InvalidateRect to force a refresh - very mysterious. Anyway, setting a timer with a 50 ms delay which then triggers an InvalidateRect call seems to fix the XP bug...
Author of Total Commander
https://www.ghisler.com
Klaus S
Junior Member
Junior Member
Posts: 7
Joined: 2012-01-31, 15:05 UTC

[TC 8.0b17 x32]Lister doesn't show all jpegs

Post by *Klaus S »

Confirming: :) Fixed in TC 8.0b18 x32
for Windows XP Professional SP3

Kind regards
Klaus
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed fixed in TC 8.0b18 under Windows XP SP3 32bit.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Post by *Usher »

Fixed for sure now. Tested with different versions of gdiplus.dll under Win2000 and WinXP. Thanks.
Andrzej P. Wozniak
Polish subforum moderator
Post Reply