lister not responding with some html files

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
helloiac
Junior Member
Junior Member
Posts: 11
Joined: 2018-05-03, 13:45 UTC

lister not responding with some html files

Post by *helloiac »

Hi,
I'm running tc 9.51, there is a problem that has troubled me for a long time. When I use the lister to preview some html files, the lister window may not respond. I guess this happens because it takes time to download the the referenced resources like js, css, image, but after set the HTMLview configuration item ForceOffline to 1, the problem stay unresolved.
When the lister window shows not responding for neally a minute, it's on top of the main window, and I can't operate with the main window. If I click the lister window by mistake, the total commander main window will be not repond too. It's really annoying.
I wonder is this problem common, and how can I solve it? Thanks!
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7012
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: lister not responding with some html files

Post by *Horst.Epp »

Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
helloiac
Junior Member
Junior Member
Posts: 11
Joined: 2018-05-03, 13:45 UTC

Re: lister not responding with some html files

Post by *helloiac »

I'm using the HTMLView plugin, I can't view any htm/html file if disable it.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7012
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: lister not responding with some html files

Post by *Horst.Epp »

helloiac wrote: 2022-04-09, 04:40 UTC I'm using the HTMLView plugin, I can't view any htm/html file if disable it.
Why do you want to disable it ?
Check your lister settings for all plugins
or try with a fresh ini.
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
helloiac
Junior Member
Junior Member
Posts: 11
Joined: 2018-05-03, 13:45 UTC

Re: lister not responding with some html files

Post by *helloiac »

I disable it to find which one do html preview work for me, pure lister or HTMLView, and it's HTMLView, it seems without HTMLView, pure lister can't render html files.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7012
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: lister not responding with some html files

Post by *Horst.Epp »

helloiac wrote: 2022-04-09, 10:18 UTC I disable it to find which one do html preview work for me, pure lister or HTMLView, and it's HTMLView, it seems without HTMLView, pure lister can't render html files.
If HTMLview is registered for *.html lister will use it of course
but you can select Options 5 while its viewed to have a pure lister view.
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
helloiac
Junior Member
Junior Member
Posts: 11
Joined: 2018-05-03, 13:45 UTC

Re: lister not responding with some html files

Post by *helloiac »

Yes, I have been always using HTMLView to preview html, the problem is what I describe in first post: there is a great chance lister window and event tc window will not respond if the html file include some external resouces, and the config item forceoffline of HTMLView plugin does not work as expected. I don't know what's wrong, maybe others seldom preview html files with external resources?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7012
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: lister not responding with some html files

Post by *Horst.Epp »

I have ForceOffline=0 in the ini file and do not have any problems.
What version of HTMLview you are using ? (mine is 1.2.6.0 )
Do you have any example for testing ?
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
helloiac
Junior Member
Junior Member
Posts: 11
Joined: 2018-05-03, 13:45 UTC

Re: lister not responding with some html files

Post by *helloiac »

My HTMLview version is 1.2.6, same as yours, and I have ForceOffline=0 too, I thought ForceOffline=1 will ignore all external resources, but it doesn't.

I do some test and find url starts with "//" in src cause the problem, for example:
src="//a.com/b.js"
or
background: url(//icon.a.org/images/b.jpg) repeat;
in style tag.

maybe HTMLview need a update to fix this?
Post Reply