in search not work CTRL+A

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

User avatar
white
Power Member
Power Member
Posts: 4615
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: in search not work CTRL+A

Post by *white »

AntonyD wrote: 2022-10-23, 12:17 UTC Fixing what?
This fix:
AntonyD wrote: 2022-10-21, 13:17 UTC 27.09.22 Fixed: Ctrl+A not working any more in quick search with search dialog (64)
was declared for History of Release Total Commander 10.52 release candidate 1
User avatar
AntonyD
Power Member
Power Member
Posts: 1246
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: in search not work CTRL+A

Post by *AntonyD »

2petermad
btw - why on your server when I follow the link https://madsenworld.dk/tcmd/betas/
I do not see anything after tc1050x64_rc4a.zip from 2022-07-04 15:56?
Where are all betas,RCs from this one current testing and testing 10.51?

And also maybe it make sense to upload a some bat|cmd|ps script which will be able to unpack
any of these "exe" into the self-made, portable TC "setup" folder?
Has anyone posted anything like this anywhere else? Don't know?
Of course, I understand that I can do everything with my own hands with the help of Total - but I do it when once,
and if you need to test, then you need to process more than 2/3/4... installers. And it is better to do it automatically.
Last edited by AntonyD on 2022-10-23, 16:25 UTC, edited 1 time in total.
#146217 personal license
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: in search not work CTRL+A

Post by *Horst.Epp »

2AntonyD
I don't understand how petermads private download links
are related to the problem discussed here ?
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
white
Power Member
Power Member
Posts: 4615
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: in search not work CTRL+A

Post by *white »

Moderator message from: white » 2022-10-23, 15:55 UTC

Horst.Epp wrote: 2022-10-23, 15:11 UTC I don't understand how petermads private download links
are related to the problem discussed here ?
Horst.Epp, if you have nothing meaningful to say on the subject then please don't post.

Edit:
Comment by Horst.Epp removed.
Please follow forum rules including Guidelines for Moderators.
Forum rules, Wiki, Guidelines for Moderators wrote:8. If you want to comment on a moderator's comment or action please send him an email.
User avatar
petermad
Power Member
Power Member
Posts: 14791
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: in search not work CTRL+A

Post by *petermad »

2petermad
btw - why on your server when I follow the link https://madsenworld.dk/tcmd/betas/
I do not see anything after tc1050x64_rc4a.zip from 2022-07-04 15:56?
Where are all betas,RCs from this one current testing and testing 10.51?
I now have updated the beta folder.
And also maybe it make sense to upload a some bat|cmd|ps script which will be able to unpack
any of these "exe" into the self-made, portable TC "setup" folder?
Just press Ctrl+PgDn on the .exe files to unpack the installers manually.
Last edited by petermad on 2022-10-24, 11:03 UTC, edited 1 time in total.
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: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: in search not work CTRL+A

Post by *ghisler(Author) »

Unfortunately it works so only with a fresh ini.
Interesting, so we need to find out what settings breaks it.
Are you perhaps using quick search extended?
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: in search not work CTRL+A

Post by *Horst.Epp »

ghisler(Author) wrote: 2022-10-24, 07:40 UTC
Unfortunately it works so only with a fresh ini.
Interesting, so we need to find out what settings breaks it.
Are you perhaps using quick search extended?
Yes, I run Quick search extended but this isn't the culprit.
I removed it completely and Ctrl-A is still working like the Home key.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: in search not work CTRL+A

Post by *ghisler(Author) »

Let me explain why Ctrl+A is a problem in Quick search:

There are two messages involved:
1. The keyboard message WM_KEYDOWN with character 'A' and CTRL down flag set.
2. The message EM_SETSEL, which is sent to the control to set the selection.

With some input method editors (e.g. for Asian languages or Emojis), Windows was sending an EM_SETSEL message to the control immediately before sending the entered character, so it was overwriting the quick search text. Therefore I blocked the EM_SETSEL message sent by Windows to select all text, and handled Ctrl+A myself. That's why "select all" in the right click menu does nothing.

When I receive a Ctrl+A message, I send a slightly different EM_SETSEL message to the edit control to select the text. Now when some OTHER program intercepts the Ctrl+A message before Total Commander can see it and sends the standard EM_SETSEL message, the control will ignore it. That could be some third party tool which tries to enable Ctrl+A in all standard edit controls, or maybe quick search extended, or a plugin etc.

Can you send me your ini with which it doesn't work? There must be a clue in there if it works with a fresh ini.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4615
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: in search not work CTRL+A

Post by *white »

AntonyD seems to have a problem even with fresh ini.
AntonyD wrote: 2022-10-23, 10:01 UTC
also try with a fresh wincmd.ini
I already did this - when tried to check all final versions of TC from 9.22a and till the latest RC5..
9.22a+10.00 - do work. All other after - do not. Tested with clean.ini.
P.S. correction - 64 bit among "all others" does NOT work. 32 bit - still does work ;)
2AntonyD
Can you check TC 10.52rc5 again with fresh ini? Just to make absolutely sure.
User avatar
AntonyD
Power Member
Power Member
Posts: 1246
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: in search not work CTRL+A

Post by *AntonyD »

Can you check TC 10.52rc5 again with fresh ini? Just to make absolutely sure.
No problems)) Done. And all is the same. 64 bit does not work, 32 - does work.

To be honest - I would rather try out a new test build of a 64-bit application with great interest, but not built in Lazarus.
IMHO all problems are from this one "element".
#146217 personal license
User avatar
white
Power Member
Power Member
Posts: 4615
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: in search not work CTRL+A

Post by *white »

2AntonyD
Does it work when you use on screen keyboard (Ctrl+Win+O)?
Do you have Windows Pro? If so, can you enable Windows Sandbox and test in there? (That would use default English language.)
User avatar
petermad
Power Member
Power Member
Posts: 14791
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: in search not work CTRL+A

Post by *petermad »

a new test build of a 64-bit application with great interest, but not built in Lazarus
My guess is that it would take a least 6 month to port TC form Lazarus to something else... A period with no other development.
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
white
Power Member
Power Member
Posts: 4615
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: in search not work CTRL+A

Post by *white »

Galajas wrote: 2022-10-21, 12:38 UTC In the new version 10.62 in search (CTRL + S) not working CTRL+A.
In the 10.0 version, everything was good.
How about you, Galajas? Do you still have a problem if you use a clean ini?
User avatar
AntonyD
Power Member
Power Member
Posts: 1246
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: in search not work CTRL+A

Post by *AntonyD »

Does it work when you use on screen keyboard (Ctrl+Win+O)?
Nope(( - just the same "jump in the beginning" like after HOME key
Do you have Windows Pro? If so, can you enable Windows Sandbox
Nope, sorry...
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: in search not work CTRL+A

Post by *ghisler(Author) »

Unfortunately I don't see a good solution here. Either I break input for Asian characters, or Ctrl+A for some users.
I could allow EM_SETSEL when there is no input method editor (IME), but I couldn't find a way to detect whether the current input method uses an IME or not. ImmIsIME(GetKeyboardLayout(0)) always seems to return true even for e.g. German keyboards, maybe because of the Emoji IME, even when it's not active.
Author of Total Commander
https://www.ghisler.com
Post Reply