Quick-view + Irfanview = Timeout problem

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
pjotrb
Junior Member
Junior Member
Posts: 46
Joined: 2006-11-02, 13:11 UTC
Location: The Netherlands

Quick-view + Irfanview = Timeout problem

Post by *pjotrb »

Situation:
- Irfanview 4.00 is installed + configured in TC 7 Viewer Options.
- I have not used Irfanview for a few minutes (or not at all since booting).

When pressing Ctrl-Q on a JPG or GIF image, the image should be shown in the opposite panel.

This used to work fine.
However since v7.0 this frequently leads to some sort of "timeout" on my system. I get no error, but after a forced wait of exactly 20 sec, the panel shows a text version of the file instead of the graphic version.

Next, if I press Ctrl-Q two more times, the same image file is always shown just fine, as a graphic, with less than 1/2 sec delay (rendering time).
It does not matter which image I use; the timeout at the first try can happen with all of them.

It might be an Irfanview 4 problem, or TC 7, or both (the combination).

Maybe IrfanView is still "starting up" when TC sends it a "render" message for the first time, so IrfanView misses it or ignores it? And at the next try, IV loads faster so it now it can respond?

My system is not overloaded (1 GB Ram total, 100 MB Ram free, 10 GB disk free, 5 - 10% CPU) and the images are not very big (1024x768 JPG/GIF or less, < 200kb). Using WinXP-SP2.

I just tried it using F3 instead of Ctrl-Q, after not using TC+Irfanview for a few minutes while typing this. Similar result: Lister made me wait 20 sec, then a text version is shown; I press key N for Next, and then the graphic version is shown immediately.

Bye,
Peter
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

Best thing to try in such situations is to start TC with a clean ini. After that just add IrfanView in Lister options and check the issue. I suspect a bad plugin.
TC for Linux please!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

How long does Irfanview take to start? If there is no response from Irfanview for 20 seconds, TC will assume that it failed to start, and revert to text view. Btw, this hasn't been changed between TC 6.56 and TC 7. Maybe a problem with a virus scanner slowing down the start of Irfanview?
Author of Total Commander
https://www.ghisler.com
pjotrb
Junior Member
Junior Member
Posts: 46
Joined: 2006-11-02, 13:11 UTC
Location: The Netherlands

Post by *pjotrb »

After restarting TotalCmd (with no changes in my ini file) the problem seems to have gone away.
Quickview and View now work fine and fast again; also after half an hour of not using it.

I will respond again if there are new developments.

Bye,
Peter
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2pjotrb
I reccomend you using Imagine plugin. I've been always using IrfanView for lister but I've reaslised that this is slow solution. IV now stays just for Enter key.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

After restarting TotalCmd...
Hmm, some of us switch computers before reporting "bugs" :wink:.
TC for Linux please!
pjotrb
Junior Member
Junior Member
Posts: 46
Joined: 2006-11-02, 13:11 UTC
Location: The Netherlands

Post by *pjotrb »

There are also bugs that go away after a program restart... they are still worth reporting! 8)

And as a programmer, I can tell you that sometimes these are the hardest to solve, because the symptom may be the result of a series of small things over a long period of time.
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

2pjotrb
Ghisler doesn't solve the ones that persist even after system restart :wink:
TC for Linux please!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2roentgen
I'm resolving all problems which I can reproduce, or find the reason. However, I cannot fix bugs which are caused by other programs, or which are specific to a certain PC, so no one else can reproduce it. Nobody can solve such problems. :(
Author of Total Commander
https://www.ghisler.com
User avatar
FrankCH
Junior Member
Junior Member
Posts: 10
Joined: 2007-03-22, 12:39 UTC

Post by *FrankCH »

ghisler(Author) wrote:2roentgen
I'm resolving all problems which I can reproduce, or find the reason. However, I cannot fix bugs which are caused by other programs, or which are specific to a certain PC, so no one else can reproduce it. Nobody can solve such problems. :(
2ghisler
I've found a critical limit of 'Current Memory Size' (as it is called in IrfanView). So, if the picture (e.g. a JPG) takes 10.96MB or more then Lister will present the Picture as raw text data.
Maybee somebody can confirm this behaviour. I am running TC V7.55A and IView V4.27 on WinXP SP3
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Which method do you use to show JPG images in Lister? Are you going via Irfanview, or are you using a Lister plugin like Imagine?

When going via Irfanview, the entire decoded image goes (as a BMP) via WM_COPYDATA to TC. Maybe there is a size limit. You may try to use a plugin instead.
Author of Total Commander
https://www.ghisler.com
User avatar
FrankCH
Junior Member
Junior Member
Posts: 10
Joined: 2007-03-22, 12:39 UTC

Post by *FrankCH »

ghisler(Author) wrote:Which method do you use to show JPG images in Lister? Are you going via Irfanview, or are you using a Lister plugin like Imagine?

When going via Irfanview, the entire decoded image goes (as a BMP) via WM_COPYDATA to TC. Maybe there is a size limit. You may try to use a plugin instead.
2ghisler
If there is nothing to bugfix in TC I'll try out the ImgView-plugin. Thanks for your reply - TC is my everyday mule, and I like it a lot.
Post Reply