2 parallel lister windows and ctrl+c
Moderators: Hacker, petermad, Stefan2, white
2 parallel lister windows and ctrl+c
Hello
I encountered the following reproducible problem with
TC 8.51a(x64) under Win7 SP1 64bit
and
TC 8.51a(32bit) under Win7 SP1 32bit
- open lister window with an ascii text file
- search for text which can NOT be found => not-found-msgbox appears
- do NOT close this lister window and the displayed msgbox
- open a second lister window with an ascii text file
- select (highlight) text
now comes the problem:
- press ctrl+c (using the keyboard) => not the selected text is copied into clipboard but the msgbox from the other lister window
whereas copying the selected text with right-mouse-click - "Copy as text" works fine
I think this is a bug, similar to the former (meanwhile fixed) problem in older tc-versions, that esc in lister window was not working while a msgbox was displayed in another lister window
I encountered the following reproducible problem with
TC 8.51a(x64) under Win7 SP1 64bit
and
TC 8.51a(32bit) under Win7 SP1 32bit
- open lister window with an ascii text file
- search for text which can NOT be found => not-found-msgbox appears
- do NOT close this lister window and the displayed msgbox
- open a second lister window with an ascii text file
- select (highlight) text
now comes the problem:
- press ctrl+c (using the keyboard) => not the selected text is copied into clipboard but the msgbox from the other lister window
whereas copying the selected text with right-mouse-click - "Copy as text" works fine
I think this is a bug, similar to the former (meanwhile fixed) problem in older tc-versions, that esc in lister window was not working while a msgbox was displayed in another lister window
Regards, Manfred
#293213
#293213
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately this cannot be avoided. A MessageBox or other modal dialog has its own message loop, and blocks the TC loop. The only way to avoid it is to start Lister always as a separate program. For this, go to Configuration - Options - Viewer/Editor, and change F3 to external viewer. Then set external viewer to:
c:\totalcmd\totalcmd.exe /S=L "%1"
c:\totalcmd\totalcmd.exe /S=L "%1"
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Ctrl+C is intercepted by the message queue of the message box before TC can see it. Right click menu is displayed by Lister and handled internally by Lister.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Can't really search right now, but i think there is/was an external lister.exe somewhere, isn't it?ManniS wrote:(of course it's a bit slower due to starting a second TC-instance)
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
What should be the benefit compared to the TC integrated version ?wanderer wrote:Can't really search right now, but i think there is/was an external lister.exe somewhere, isn't it?ManniS wrote:(of course it's a bit slower due to starting a second TC-instance)
Also the much older external one will not have the same plugins.
There is no significant load time for a 2nd TC copy on adequate hardware.
2 Author:
Thanks for the explanation.
2 Ovg:
Thanks for the links.
I have 64bit Win7 (at home), so i cannot use the 16bit lister version. Perhaps on my 32bit Win7 at work.
The 32bit lister is as fast as the internal lister, but like Horst.Epp said, has less plugins (e.g. jpg).
2 Horst.Epp:
In this context "a bit" means to me less than 1 second.
On my hardware (i7@3.7GHz 16GB Win7 Pro 64bit) i can see the difference: external lister (totalcmd64.exe /S=L) ~ 0.6 sec, internal lister not measurable (with an ascii text file < 512 byte).
One of the great advantages of the TC-lister to me is that it's much faster than any editor, e.g. when you want to take a quick look into an ascii text file. But 0.6 sec vs. 0.0 sec is no serious problem for me.
Thanks to all members for support
Thanks for the explanation.
2 Ovg:
Thanks for the links.
I have 64bit Win7 (at home), so i cannot use the 16bit lister version. Perhaps on my 32bit Win7 at work.
The 32bit lister is as fast as the internal lister, but like Horst.Epp said, has less plugins (e.g. jpg).
2 Horst.Epp:
In this context "a bit" means to me less than 1 second.
On my hardware (i7@3.7GHz 16GB Win7 Pro 64bit) i can see the difference: external lister (totalcmd64.exe /S=L) ~ 0.6 sec, internal lister not measurable (with an ascii text file < 512 byte).
One of the great advantages of the TC-lister to me is that it's much faster than any editor, e.g. when you want to take a quick look into an ascii text file. But 0.6 sec vs. 0.0 sec is no serious problem for me.
Thanks to all members for support
Regards, Manfred
#293213
#293213