[8.0ß15-x64] Hotkeys in some dialogs not working again
Moderators: Hacker, petermad, Stefan2, white
[8.0ß15-x64] Hotkeys in some dialogs not working again
I discovered that hotkeys like "a", "r", "h" do not work anymore in the Change Attributes dialog in 64-bit TC. Tested older versions — it stopped working in 8.0β12 (in 8.0β11 worked fine). Hotkeys Alt+letter (like Alt+C for "Change date/time") also do not work in this dialog.
I tested some other dialogs and found they had problems too. For example, if you open Pack Files dialog and press Alt+Y, then the Encrypt checkbox will check, but if you press Alt+Y again it does nothing; all other Alt+letter hotkeys will not work either. However, if you move focus into the editbox with the file name, the next Alt+letter keypress will work again.
I tested some other dialogs and found they had problems too. For example, if you open Pack Files dialog and press Alt+Y, then the Encrypt checkbox will check, but if you press Alt+Y again it does nothing; all other Alt+letter hotkeys will not work either. However, if you move focus into the editbox with the file name, the next Alt+letter keypress will work again.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
Tried already, no difference. 32-bit versions of TC work flawlessly, only 64-bit ones show this problem.Valentino wrote:Try clean INI, maybe it's configuration dependent?
OS is Win7 x64 SP1 Pro, maybe this matters…
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
Sure, I checked that first when discovered that pressing "h" did not trigger the checkbox.Valentino wrote:Sorry for the question, is keyboard layout English when dialog is open?
Yes.Valentino wrote:When dialog is just open, where is focus? On "Recurse subdirectories"?
Theoretically, it might be, but then it's very strange that a) it's working in β11 and earlier, b) it's working in 32-bit versions, c) it's working in other dialogs. When I have time I'll try to reboot without these "helpers" and test.Valentino wrote:Maybe you have some "helper" applications installed that try to "help" you?
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50861
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Hm… It happens to be PuntoSwitcher: when I exit it, hotkeys start to work fine. Very strange that it works so selectively though.
OK, I'll write to its developers. Sorry for the false alarm.
OK, I'll write to its developers. Sorry for the false alarm.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50861
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2Flint
Thanks for your feedback! Some tools install system-wide message hooks and modify the messages they get. Apparently TC isn't getting the messages it expects.
Thanks for your feedback! Some tools install system-wide message hooks and modify the messages they get. Apparently TC isn't getting the messages it expects.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
ghisler(Author)
Since there are more similar reports appeared (one, two) — and with different third-party apps, it seems that the problem actually might be located in TC. Christian, could you take a look at this problem once again, please?
History file tells that it was exactly in β12 that you switched to fpc 2.5.1, so it could be that this is the cause of the changed behaviour.
Since there are more similar reports appeared (one, two) — and with different third-party apps, it seems that the problem actually might be located in TC. Christian, could you take a look at this problem once again, please?
History file tells that it was exactly in β12 that you switched to fpc 2.5.1, so it could be that this is the cause of the changed behaviour.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50861
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortuantely that doesn't help me - there are thousands of changes in the new FPC version, impossible to find any problems this way, especially if I cannot reproduce them. 

Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
ghisler(Author)
Could you please try to install Punto Switcher in a virtual machine? Unfortunately, it has Russian-only interface, but you don't need to do anything with it, just install and launch (I would only recommend to turn off all the checkboxes in the installer, because they do all those marketing advertising tricks like changing the browser homepage, installing Yandex-Bar, etc.). Of course if you need any assistance with it you can count on me.
Could you please try to install Punto Switcher in a virtual machine? Unfortunately, it has Russian-only interface, but you don't need to do anything with it, just install and launch (I would only recommend to turn off all the checkboxes in the installer, because they do all those marketing advertising tricks like changing the browser homepage, installing Yandex-Bar, etc.). Of course if you need any assistance with it you can count on me.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50861
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50861
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I could indeed reproduce it with Punto Switcher! After several hours of debugging, I finally found the bug in the Lazarus file win32callback.inc! In one function, it sets the value of LMChar.CharCode, but further down it checks for LMKey.CharCode<>0. Strangely this only happens with free pascal 2.5.1 or newer, not 2.4.4! I guess that in 2.4.4 the structure is not cleared, so it's filled with some random data. When Punto Switcher is active, the key message order seems to be slightly different.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com