b1: F9 GDI Leak

Bugs and Issues in 1.82 Test versions which have been fixed and verified as resolved.

Moderators: XnTriq, xnview

marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

b1: F9 GDI Leak

Post by marsh » Sun Dec 18, 2005 8:12 am

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.

ckit
XnThusiast
Posts: 2445
Joined: Tue Feb 17, 2004 1:11 am

Post by ckit » Sun Dec 18, 2005 9:04 am

Using Process Explorer 9.25, I can confirm this leak.
Windows 10 Pro x64 1909
XnViewMP and Classic and PhotoFiltre Studio X

User avatar
ckv
Posts: 779
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Post by ckv » Sun Dec 18, 2005 11:09 am

Confirmed (only in beta)! Memory leak while changing browser view mode. Marsh you are doing very valuable job for XnView by detecting memory leaks. :D 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.
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.

User avatar
xnview
Author of XnView
Posts: 32081
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: b1: F9 GDI Leak

Post by xnview » Sun Dec 18, 2005 2:29 pm

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!
Pierre.

User avatar
helmut
Posts: 8175
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut » Sun Dec 18, 2005 4:30 pm

ckv wrote:... Marsh you are doing very valuable job for XnView by detecting memory leaks. :D 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.

User avatar
xnview
Author of XnView
Posts: 32081
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview » Sun Dec 18, 2005 4:50 pm

helmut wrote:
ckv wrote:... Marsh you are doing very valuable job for XnView by detecting memory leaks. :D 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?
Pierre.

User avatar
helmut
Posts: 8175
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut » Sun Dec 18, 2005 5:29 pm

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).
Last edited by helmut on Sun Dec 18, 2005 9:16 pm, edited 1 time in total.

User avatar
ckv
Posts: 779
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Post by ckv » Sun Dec 18, 2005 8:50 pm

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 :D
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.

ckit
XnThusiast
Posts: 2445
Joined: Tue Feb 17, 2004 1:11 am

Post by ckit » Mon Dec 19, 2005 12:45 pm

The GDI Handles counter goes up slower with XnView 1.82 beta 2 so I'm not sure if this is fixed or not.
Windows 10 Pro x64 1909
XnViewMP and Classic and PhotoFiltre Studio X

User avatar
ckv
Posts: 779
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Post by ckv » Mon Dec 19, 2005 1:36 pm

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.
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.

User avatar
xnview
Author of XnView
Posts: 32081
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview » Mon Dec 19, 2005 2:19 pm

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?
Pierre.

User avatar
ckv
Posts: 779
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Post by ckv » Mon Dec 19, 2005 6:49 pm

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.
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.

User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Invisible---

Post by Clo » Mon Dec 19, 2005 7:27 pm

:arrow: 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…)

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice

User avatar
helmut
Posts: 8175
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut » Mon Dec 19, 2005 7:47 pm

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.

marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh » Tue Dec 20, 2005 6:40 am

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.

Locked