Plugins switch blocked between htm plugins

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14810
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Plugins switch blocked between htm plugins

Post by *petermad »

How to reproduce:

1. Install these two plugins:
http://www.totalcmd.net/download.php?id=htmlview
http://www.totalcmd.net/download.php?id=ieview
and make HtmlView the first of the two.

2. Open an html document in Lister - it is shown with HtmlView, press 4 and it is shown in IeView - so far so good.

3. Press Esc or 1 to 7 - nothing happens - allready reported here: http://ghisler.ch/board/viewtopic.php?p=171509#171509

4. Close Lister and open a second instance of TC.

5. Open any html file in Lister in instance 2 of TC and close it again.

6. Open any html file in instance 1 of TC - it should be shown in HtlmView as in step 2.

7. Press 4 to switch to IeView - nothing happens!

8. Close instance 2 of TC, and press 4 in Lister (from instance 1) again - now Lister switches to IeView.

Somehow the two instances of TC are affecting each other,
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

These plugins are doing things not supported by the plugins API (probably subclassing the main window). This doesn't work any more because the Lister class was renamed to TW_Lister to make it Unicode. Now that all windows are Unicode on NT-based systems, I can rename it back. This seems to make these plugins work again!
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14810
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Partly fixed in TC 7.50pb6

Esc and 1 to 7 now works in IEView, as long as only 1 instance of TC is running.
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for your feedback! Unfortunately this is all I can do myself, we will have to hope for the plugin writers for further fixes. I will therefore move this to "behaviour which will not be changed" now.
Author of Total Commander
https://www.ghisler.com
Post Reply