Crash when viewing folder with .icl file

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
Dmitry D._

Crash when viewing folder with .icl file

Post by Dmitry D._ »

If in folder is *.icl file (Icon Library) XnView exits with error
on any operation — Browse folder or view any other file or Shell extension.
Please, correct this as soon as possible — I use these file often.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Works here

Post by Clo »

:arrow: Dmitry D.

:) Hello !

• Here that works with 1.93.4 (and previous versions).
I've a folder containing 23 *.ICLs, various sizes :  28 KIB up to 1.3 MiB, no problem. win XP-Pro SP1.

- The "bug" you describe occured in very old versions, when browsing the contents of ICLs via Next¦Prevous Page buttons…

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

XnView crash

Post by Dmitry D. »

I have Windows XP SP2. Try XnView 1.93.4 and some previous versions.
On Windows XP SP2 installed on VmWare I can open image
from ShellExtension. But on attempt browse folder (Enter or Double click) XnView crash.
On *.icl file Explorer context menu does not work.
Attempt to delete *.icl file does nothing and file became locked by Explorer process.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Still no problem…

Post by Clo »

:arrow: Dmitry D.

:) Hello !

• That works here still, I even changed the *.ICL association to 1.93.4…
- No problem from the local menu (in Total Commander), the ICL is shown and opened alright in the associated XnView,
I can browse the pages…
- Please, could you test with THIS SAMPLE ?

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

icl problem

Post by Dmitry D. »

Hello, Claude.
Thank you for your assistance.
With your sample I have no problems.
After some modifications with IconLover from AhaSoft all still works fine.
But on files I made XnView and Explorer have a crash.
In which program do you made your icl?

In turn can you work with my sample http://dejd.ru/dda_icl_sample.rar ?
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Several softs…

Post by Clo »

:arrow: Dimitry D.

:) Again…

• I used @Icon Sushi (AIcon) from THAT WEB PAGE.
- However, it made 16-bit ICLs only… So, I made some almost empty structures with a trial version of Microangelo…
…and filled them later with simply a resource editor (Resource Hacker) :D

- An ICL is no more than a DLL which contains icons only…
- The gratis softs to create 32-bit ICLs are rare… We'll have that feature planned in Greenfish Icon Editor, I hope,
when the author has time to code it (that isn't a piece of cake, I assume…).

• I download your recalcitrant file, and test with it a.s.a.p.

EDIT ::: Your ICL crashes almost all softs I tried to open it with, XnView and ShellExt ! Except … Resource Hacher
(so, it's really a 32-bit structure, ResourceHacker doesn't support the 16-bit one)
- It crashes the TC plugin ICLView, but it works in the "Imagine" one, I can browse the page and see it contains three icons…
- IMHO, whether you need only a few formats, you could make a multipage *.ICO in XnView instead, at least temporarily.

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Dmitry D.
Posts: 5
Joined: Fri Apr 11, 2008 2:15 am

icl and XnView

Post by Dmitry D. »

Well...

I understand — there are 16-bit ICL and 32-bit ICL.
In any case XnView should not crash and installed Shell Extension
should not affect Windows Explorer to crash with these files.

What will Author XnView say?

With best regards
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Several softs…

Post by XnTriq »

Clo wrote:The gratis softs to create 32-bit ICLs are rare…
Starting with version 1.6 IcoFX can create icon libraries (32-bit).
It comes with a DLL (library.dll) which is 528 bytes in size and seems to serve as a template for the ICLs produced by the program.

IcoFX doesn't crash, but it cannot extract/view the icons in Perfomance.icl (“No icons in the file”).
I had no luck with IconShop or WinModules, either.
Dmitry D.
Posts: 5
Joined: Fri Apr 11, 2008 2:15 am

32/16 bit ICL

Post by Dmitry D. »

I use AhaSoft IconLover. This program works finу whith ICL files.
And I solved crash problem by exporting files to 16-bit ICL files.
But I hope Pierre will correct this bug with 32-bit ICL.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: icl and XnView

Post by xnview »

Dmitry D. wrote: In any case XnView should not crash and installed Shell Extension
should not affect Windows Explorer to crash with these files.
Right, i'll fix it
Pierre.
Dmitry D.
Posts: 5
Joined: Fri Apr 11, 2008 2:15 am

32bit ICL

Post by Dmitry D. »

Thanks in advance.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

It no longer crashes browser for me in v.1.93.6 ß-2.
Post Reply