Visual bug, continued
by Igor Kuryatnikov · in Torsion · 02/04/2007 (10:46 pm) · 4 replies
From SickheadGames forum:
>Quote:
>a) sometimes. I can't switch tabs with the source files,
>That's a strange one... so far i cannot seem to reproduce it. Any additional info or steps to reproduce it would >be tremendously helpful.
Ok, here is some details:
v1.0.852 Final(EDIT: Demo version, indeed). Intel P660, 1 Gb RAM. WinXP Pro.
(ScriptSense is turned off)
The issue appear in usual developing process: edit script -> run(ctrl+f5) or debug(f5) -> edit script -> and so on. After about 1 hour torsion begin to slow down. I have 5 to 20 opened tabs usually. Tabs can't switch, sometimes icons (not all only some of them) in toolbar disappear or font of tabs name in bottom tab view(Output, watch etc.) changes size. But mouse click on them(toolbar, bottom tabview) restores normal view, except the main tab view with a script.
The problem is only a visual. It seems to be a memory leak in a tab view code.
>I went back reworked some ScriptSense stuff last night and i have a fix that tremendously reduces CPU usage >with minimal impact on ScriptSense database updates... in fact it's lower than it has ever been. I am going to >send a special build out to a few people to test... i'll include you as well.
Sounds great! Thanks Tom.
>Quote:
>a) sometimes. I can't switch tabs with the source files,
>That's a strange one... so far i cannot seem to reproduce it. Any additional info or steps to reproduce it would >be tremendously helpful.
Ok, here is some details:
v1.0.852 Final(EDIT: Demo version, indeed). Intel P660, 1 Gb RAM. WinXP Pro.
(ScriptSense is turned off)
The issue appear in usual developing process: edit script -> run(ctrl+f5) or debug(f5) -> edit script -> and so on. After about 1 hour torsion begin to slow down. I have 5 to 20 opened tabs usually. Tabs can't switch, sometimes icons (not all only some of them) in toolbar disappear or font of tabs name in bottom tab view(Output, watch etc.) changes size. But mouse click on them(toolbar, bottom tabview) restores normal view, except the main tab view with a script.
The problem is only a visual. It seems to be a memory leak in a tab view code.
>I went back reworked some ScriptSense stuff last night and i have a fix that tremendously reduces CPU usage >with minimal impact on ScriptSense database updates... in fact it's lower than it has ever been. I am going to >send a special build out to a few people to test... i'll include you as well.
Sounds great! Thanks Tom.
#2
The other bug I saw was while scrolling down in this new script file, the contents were not refreshing while using the scroll bar, I had use pgUp/pgDown instead.
02/05/2007 (7:04 am)
I can confirm this one, if you load up a new script file by double clicking in the tree structure, the tab appears in the open script list, but you cannot see the contents of the script file, the previously current script file is the content you see, unless you do some minimizing, maximizing, etc.The other bug I saw was while scrolling down in this new script file, the contents were not refreshing while using the scroll bar, I had use pgUp/pgDown instead.
#3
I haven't changed a single setting, and I never had any problems with the alphas which I've been using for months.
02/12/2007 (12:08 pm)
I get this alot also, both the tab stuff, and windows not refreshing. I even have right click menus not filling in at all. I get the underlines but no words, if I right click again, more of it fills in, and usually 3rd time is complete.I haven't changed a single setting, and I never had any problems with the alphas which I've been using for months.
#4
02/12/2007 (12:10 pm)
@Sebastien - Actually i've started checking out old Torsion builds and comparing GDI handle behavior to the current build. I hope to solve this mystery this week.
Associate Tom Spilman
Sickhead Games