HTML files opening is not working

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

HTML files opening is not working

Post by *User919 »

For some reason HTML files do not open from TC. :(

I am not sure what information I should provide regard this. (Video?)

Steps to reproduce:
  1. Double click some .html file.
  2. Hit enter on some .html file.
  3. Right click file \ open with – chose another browser.
TC 9.22a 64 bit (2019-03-29) (Also 32 bit the same.)
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: HTML files opening is not working

Post by *petermad »

Right click file \ open with – chose another browser.
If this doesn't work it must be something in your system - the "Open With" in the right click menu is a Windows function, not TC's.

Can you open html files from Windows Explorer?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: HTML files opening is not working

Post by *Usher »

2hugobruno
Can you see text content of your files in Lister? You may have gzipped files: https://en.wikipedia.org/wiki/HTTP_compression
Andrzej P. Wozniak
Polish subforum moderator
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Re: HTML files opening is not working

Post by *User919 »

petermad wrote: 2020-01-07, 23:27 UTC
Right click file \ open with – chose another browser.
If this doesn't work it must be something in your system - the "Open With" in the right click menu is a Windows function, not TC's.

Can you open html files from Windows Explorer?
Yes, of course, I can. Otherwise I would not post the issue. :)
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Re: HTML files opening is not working

Post by *User919 »

Usher wrote: 2020-01-08, 00:43 UTC 2hugobruno
Can you see text content of your files in Lister? You may have gzipped files: https://en.wikipedia.org/wiki/HTTP_compression
These links normally open from Explorer in any case so bug relates to TC.
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: HTML files opening is not working

Post by *petermad »

2hugobruno
1. Has it always been like that for you with TC 9.22a?

2. Maybe you have accidently set an internal association for html files that is invalid. Check "Files" -> "Internal Associations (Total Commander Only)..." to see if you have *.html in the list of associations.

3. Maybe you need to reenable/update the system association for *.html files - what Windows version are you using (how to do it depends on that)?

4. Have you tried starting TC with a clean ini file - run this from TC's command line:

Code: Select all

"%COMMANDER_EXE%" /i="%COMMANDER_INI%\..\clean.ini"
to see if it works then.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: HTML files opening is not working

Post by *Usher »

hugobruno wrote: 2020-01-08, 23:36 UTC
Usher wrote: 2020-01-08, 00:43 UTC 2hugobruno
Can you see text content of your files in Lister? You may have gzipped files: https://en.wikipedia.org/wiki/HTTP_compression
These links normally open from Explorer in any case so bug relates to TC.
It's not an answer to my question.
And here are more questions: In what browser they are opened that way? IE, Edge, other browser set as default?
Andrzej P. Wozniak
Polish subforum moderator
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Re: HTML files opening is not working

Post by *User919 »

petermad wrote: 2020-01-08, 23:56 UTC 2hugobruno
1. Has it always been like that …
1. I do not think so.

2. If internal association is set (to otherwise default browser) it works.

3. Why? It works in other places.

4. Clean ini does not help.
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Re: HTML files opening is not working

Post by *User919 »

Usher wrote: 2020-01-09, 01:24 UTC
hugobruno wrote: 2020-01-08, 23:36 UTC
Usher wrote: 2020-01-08, 00:43 UTC 2hugobruno
Can you see text content of your files in Lister? You may have gzipped files: https://en.wikipedia.org/wiki/HTTP_compression
These links normally open from Explorer in any case so bug relates to TC.
It's not an answer to my question.
And here are more questions: In what browser they are opened that way? IE, Edge, other browser set as default?
In all I have.
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: HTML files opening is not working

Post by *petermad »

3. Why? It works in other places.
Because associations can be set in Windows in numerous ways - TC doesn't support all of them.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Re: HTML files opening is not working

Post by *User919 »

petermad wrote: 2020-01-09, 01:54 UTC
3. Why? It works in other places.
Because associations can be set in Windows in numerous ways - TC doesn't support all of them.
I did using Windows 10 interface but bug persists.
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: HTML files opening is not working

Post by *petermad »

2User919
If you open "Files" -> "Associate With..." while the cursor is on a html file, then what does it show?

Does it work from TC if you change the extension of the file to .htm ?

Suggestions
1. You could try (using the Windows 10 interface) to associate html file to something else - tetst that in TC - and then change it back again.

2. Or you could associate by file type - in Windows Settings - "Default Apps" - click on "Choose default apps by file type" - then scroll down to .html, click and choose your preferred browser.

3. Or you could do it by the right click menu - right click on a html file - choose "Open with" - then click on "Choose another app" - click in the box "Always use this app to open .html files" and the choose your browser.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Re: HTML files opening is not working

Post by *User919 »

petermad wrote: 2020-01-10, 00:30 UTC If you open "Files" -> "Associate With..." while the cursor is on a html file, then what does it show?
Associate browser run command. For instance Firefox HTML Document ("C:\Program Files\Mozilla Firefox\firefox.exe" -osint -url "%1").
petermad wrote: 2020-01-10, 00:30 UTC Does it work from TC if you change the extension of the file to .htm ?
Yes, it does work.
petermad wrote: 2020-01-10, 00:30 UTC 1. You could try (using the Windows 10 interface) to associate html file to something else - tetst that in TC - and then change it back again.
I did associate Visual Studio 2019 in Windows 10 associate default app by file extension interface. It does not work in TC.
petermad wrote: 2020-01-10, 00:30 UTC 3. Or you could do it by the right click menu - right click on a html file - choose "Open with" - then click on "Choose another app" - click in the box "Always use this app to open .html files" and the choose your browser.
This point is interesting. When opened via "Choose another app" it works no matter if application used is set as default. This dialog is Windows 10 type. I suppose it relates to it.
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: HTML files opening is not working

Post by *petermad »

This point is interesting. When opened via "Choose another app" it works no matter if application used is set as default. This dialog is Windows 10 type. I suppose it relates to it.
Yest but did you: click in the box "Always use this app to open .html files" and the choose your browser. - and can that fix the problem with double clicking file in TC (this another way of changing default association)?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Re: HTML files opening is not working

Post by *User919 »

petermad wrote: 2020-01-10, 20:25 UTC Yest but did you: click in the box "Always use this app to open .html files" and the choose your browser. - and can that fix the problem with double clicking file in TC (this another way of changing default association)?
No.
Post Reply