Lister: hotkeys don't work in Explorer Preview for text files
Moderators: Hacker, petermad, Stefan2, white
Lister: hotkeys don't work in Explorer Preview for text files
If to open a some file with text (like *.txt, *.htm, *.mht) in Lister and switch to Explorer preview mode, Lister's keyboard shortcuts don't work anymore, so there is no way to switch to other mode with keyboard or close it with Esc key.
This behavior is present in TC 9.50 beta 1 on Vista 32-bit.
This behavior is present in TC 9.50 beta 1 on Vista 32-bit.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Re: Lister: hotkeys don't work in Explorer Preview for text files
Confirmed - but only for file types that Explorer knows. For example TC's .mnu files are shown in Listers mode 1 even if you choose mode 8.
Last edited by petermad on 2019-10-19, 21:15 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Lister: hotkeys don't work in Explorer Preview for text files
In Windows XP Explorer preview doesn't work for text files listed above (Lister mode 1 is forced even for html files or Unicode text), and for pictures I can use hotkeys when switch to Explore preview.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Lister: hotkeys don't work in Explorer Preview for text files
Yes, it's the same here. Maybe it's because pictures are handled by different handler/provider, which may define different TC behavior:Usher wrote: 2019-10-19, 14:53 UTCand for pictures I can use hotkeys when switch to Explore preview.
(here on Vista 32-bit for *.jpg when I press '8', Lister shows Explorer Preview method as active in Options menu).18.02.19 Added: Lister: Press '8' to use IPreviewHandler to show preview as the Explorer, or use IThumbnailProvider when there is no preview handler (shows as '4') (32/64)
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Lister: hotkeys don't work in Explorer Preview for text files
Unfortunately it depends on the preview handler - some work, some don't.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Lister: hotkeys don't work in Explorer Preview for text files
So can't catch Lister's keys if preview handler catches them? Since Explorer Preview mode is built-in now, maybe there is a need to describe the situation with keys in Help? E.g. that user should press Alt to activate Lister's File menu and use arrows to navigate there. Also, it seems currently in TC Help there is no description of possibility to switch between Lister modes with keys 1 ... 8, so if it will be added, you can also add a note that a switch from Explorer Preview mode and other actions with keyboard may not work because of used handler (the same may happen in Image/Multimedia mode if some plugins, like IEView, are used).ghisler(Author) wrote: 2019-10-21, 15:46 UTC Unfortunately it depends on the preview handler - some work, some don't.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Lister: hotkeys don't work in Explorer Preview for text files
That's right, I get similar problems with some preview handlers in the Explorer too. I have tried to subclass the window, but this doesn't work when it uses multiple nested windows.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Lister: hotkeys don't work in Explorer Preview for text files
I can confirm in TC 9.51 RC3 Esc now closes Lister in Explorer Preview view (tested with *.txt, *.htm, *.mht on Windows 7 32-bit). But keys 1...7 to switch from Explorer Preview still don't work. Maybe it's worth to make all the the keys used by Lister to be cached by TC with hook in Explorer Preview by default, and to make the list of keys catched with hook configurable?history951.txt wrote:24.02.20 Fixed: ESC and TAB didn't work in Lister with Explorer preview, use tckeyhandler.dll/tckeyhandler64.dll for temporary WH_KEYBOARD hook. A global hook is used only when the preview is loaded in a separate process (32/64)
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Re: Lister: hotkeys don't work in Explorer Preview for text files
I can confirm the fix in TC 9.51 rc3 32/64 bit.
(testet with Windows 7 and 10 (1909))

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar