[TC 9.10 RC3] GDI-Leak(inverted Cursor+ alternate Backcolor)

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

Moderators: white, sheep, Hacker, Stefan2

Post Reply
User avatar
HolgerK
Power Member
Power Member
Posts: 4973
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

[TC 9.10 RC3] GDI-Leak(inverted Cursor+ alternate Backcolor)

Post by *HolgerK » 2017-10-19, 15:29 UTC

TC9.10RC3 x64 on Windows 7
:arrow: activate "Configuration -> Colors -> [x] Use inverted cursor"
:arrow: create a "new view mode" with alternate background colors (Background/Background2)
:arrow: every time you move the cursor in the filepanel up or down 2 additional GDI-Objects are created but never released (Task Manager-> Processes : Columns "GDI objects")

-> If the limit of 10000 GDI-Objects is reached, the complete drawing of TCs UI get broken.
wincmd.ini wrote:[Configuration]
UseNewDefFont=1
SetEncoding=äö.do.not.remove
firstmnu=2618
FirstTimeIconLib=0
FirstTime=0
test=147
SeparateTree=0
PanelsVertical=0
[FileSystemPlugins64]
$checksum$=3014672
[ButtonbarCache]
IconDll_default.bar=
IconDll_vertical.bar=
[ViewModes]
0_name=<default>
0_icon=
0_options=-1|-1|0||-1|-1|-1
1_name=AlternateBackGround
1_options=-1|-1|0||-1|16777215|16316664
[Colors]
InverseCursor=1
ThemedCursor=1
InverseSelection=0
BackColor=-1
BackColor2=-1
ForeColor=-1
MarkColor=-1
CursorColor=-1
CursorText=-1
[left]
path=c:\
ViewMode=1
activepanelcolor=16777215
activepanelcolor2=16316664
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0
[right]
path=c:\
ViewMode=10001
activepanelcolor=-1
activepanelcolor2=-1
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0
[lefttabs]
0_path=c:\_TESTDATA\
0_options=1|0|0|0|0|0|0|
activetab=0
[RightHistory]
0=c:\
[LeftHistory]
0=c:\
Regards
Holger
Make our planet great again

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

Post by *ghisler(Author) » 2017-10-19, 19:56 UTC

Confirmed, thanks. It looks like the 32-bit version isn't affected.
Author of Total Commander
http://www.ghisler.com

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

Post by *ghisler(Author) » 2017-10-20, 13:24 UTC

This should be fixed in TC 9.10. final, please test it!
Author of Total Commander
http://www.ghisler.com

User avatar
HolgerK
Power Member
Power Member
Posts: 4973
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK » 2017-10-20, 13:24 UTC

History.txt wrote:19.10.17 Fixed: GDI memory leak when using inverted cursor, and alternating background colors via a view mode (64)
I can confirm the fix.

Thanks
Holger
Make our planet great again

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

Post by *ghisler(Author) » 2017-10-20, 13:26 UTC

Great, thanks! Please report similar problems if you find them, I will fix them in the next minor version which will come out in a few days or weeks.
Author of Total Commander
http://www.ghisler.com

Post Reply