Page 1 of 2
b1: F9 GDI Leak
Posted: Sun Dec 18, 2005 8:12 am
by marsh
When changing views using F9, the GDI object count permanently increases. I don't really know what that means, but I believe it can cause minor annoyances. Several days ago, I saw information text disappear while scrolling picture- the object count was 350 at the time.
Posted: Sun Dec 18, 2005 9:04 am
by ckit
Using Process Explorer 9.25, I can confirm this leak.
Posted: Sun Dec 18, 2005 11:09 am
by ckv
Confirmed (only in beta)! Memory leak while changing browser view mode. Marsh you are doing very valuable job for XnView by detecting memory leaks.

Keep up the good job.
marsh wrote:I don't really know what that means, but I believe it can cause minor annoyances.
Marsh check this out:
http://msdn.microsoft.com/msdnmag/issue ... fault.aspx
Basically it's just graphics interface objects what are not released when they are no longer needed.
These leaks can cause lot of problems, especially in Windows 98 what haves limited resource memory.
Re: b1: F9 GDI Leak
Posted: Sun Dec 18, 2005 2:29 pm
by xnview
marsh wrote:When changing views using F9, the GDI object count permanently increases. I don't really know what that means, but I believe it can cause minor annoyances. Several days ago, I saw information text disappear while scrolling picture- the object count was 350 at the time.
Right, dangerous!
Posted: Sun Dec 18, 2005 4:30 pm
by helmut
ckv wrote:... Marsh you are doing very valuable job for XnView by detecting memory leaks.

Keep up the good job.
I strongly agree, very helpful and important. Thank you, marsh!
Just yesterday I have received a mail which reports several people experiencing problems on Windows 98 SE. Perhaps this is the reason for the problem.
Posted: Sun Dec 18, 2005 4:50 pm
by xnview
helmut wrote:ckv wrote:... Marsh you are doing very valuable job for XnView by detecting memory leaks.

Keep up the good job.
I strongly agree, very helpful and important. Thank you, marsh!

THANKS too
Just yesterday I have received a mail which reports several people experiencing problems on Windows 98 SE. Perhaps this is the reason for the problem.
Do you know more?
Posted: Sun Dec 18, 2005 5:29 pm
by helmut
xnview wrote:helmut wrote:Just yesterday I have received a mail which reports several people experiencing problems on Windows 98 SE. Perhaps this is the reason for the problem.
Do you know more?
Sometimes XnView 1.80 is completely blocked and has to be killed when browsing on Windows 98 SE. According to Mr. Roentz who has reported the problem this did not happen in XnView 1.74 or before. I'll send you a mail with some more details. I've asked Mr. Roentz to check with Beta2 (once the new Beta is available).
Posted: Sun Dec 18, 2005 8:50 pm
by ckv
helmut wrote:Just yesterday I have received a mail which reports several people experiencing problems on Windows 98 SE. Perhaps this is the reason for the problem.
Hmm good to know. I have currently possibility to test XnView in windows 98, windows 2000 and windows XP

Posted: Mon Dec 19, 2005 12:45 pm
by ckit
The GDI Handles counter goes up slower with XnView 1.82 beta 2 so I'm not sure if this is fixed or not.
Posted: Mon Dec 19, 2005 1:36 pm
by ckv
ckit wrote:The GDI Handles counter goes up slower with XnView 1.82 beta 2 so I'm not sure if this is fixed or not.
Confirmed. Still leaking GDI objects.
Posted: Mon Dec 19, 2005 2:19 pm
by xnview
ckv wrote:ckit wrote:The GDI Handles counter goes up slower with XnView 1.82 beta 2 so I'm not sure if this is fixed or not.
Confirmed. Still leaking GDI objects.
With F9?
Posted: Mon Dec 19, 2005 6:49 pm
by ckv
xnview wrote:With F9?
Yeah. Does it matter? It leaks when the browser view mode is changed with F9 or using the menu or what ever means possible.
Edit: I made some testing and it seems that the leak is in the folder thumbnails. If folders are disabled in thumbnail view mode, it doesn't leak GDI objects. Can someone confirm?
By the way. Where did the option to disable the 4in1 folder thumbnails go? I can't find it.
Invisible---
Posted: Mon Dec 19, 2005 7:27 pm
by Clo
ckv

Hello !
By the way. Where did the option to disable the 4in1 folder thumbnails go? I can't find it.
- Same here, I couldn't discover where such an option is located…
- I didn't find out a new "hidden" INI entry instead (that should do the trick, though…)

KR
Claude
Clo
Posted: Mon Dec 19, 2005 7:47 pm
by helmut
ckv wrote:xnview wrote:With F9?
Yeah. Does it matter? It leaks when the browser view mode is changed with F9 or using the menu or what ever means possible.
Edit: I made some testing and it seems that the leak is in the folder thumbnails. If folders are disabled in thumbnail view mode, it doesn't leak GDI objects. Can someone confirm?
By the way. Where did the option to disable the 4in1 folder thumbnails go? I can't find it.
In category "Browser > Files displayed" of options you can enable/disable thumbnail creation for folders.
Posted: Tue Dec 20, 2005 6:40 am
by marsh
xnview wrote:ckv wrote:ckit wrote:The GDI Handles counter goes up slower with XnView 1.82 beta 2 so I'm not sure if this is fixed or not.
Confirmed. Still leaking GDI objects.
With F9?
Beta2 F9 GDI Leak is caused by "Use Shadow". Also you must have a picture previewed in browser window at the time.