2ghisler(Author)
This issue we also discussed by email last year.
The problem is that due to bugs of stock Google's virtual keyboard, it doesn't send a key code for BackSpace key (this one, not to be confused with another key with similar name, Android BACK key/button near HOME key/button.) on some Android versions (including Android 4.3.1 I use). Detailed description of a problem, with code sample with possible solution, available here. In Total commander for Android BackSpace key should call Go Up action in file list, but because of above Android bug, it doesn't work with virtual keyboard used for QuickSearch (commands 134, 154.) You wrote then that hotkeys for actions in filelist meant mainly for hardware keyboard, so the fix for such a minor issue with virtual keyboard may be too complex to implement (at least in TC4A 2.x) Please consider to try to fix it in TC4A 3.x.
(different problem existed with BackSpace key of BlackBerry's hardware keyboard - there this key also didn't work in TC's filelist because it sent KEYCODE_DEL code, so since v.2.91 TC4A reacts to KEYCODE_DEL, but only in ListView onKeyDOWN, not in onKeyUP, and that solved the problem.)
Not working virtual keyboard's BackSpace in filelist
Moderators: Hacker, petermad, Stefan2, white
Not working virtual keyboard's BackSpace in filelist
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: Not working virtual keyboard's BackSpace in filelist
Where is this issue? In the text editor not able to delete last type character?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Not working virtual keyboard's BackSpace in filelist
Not editor (or other input fields), there BackSpace space works fine. I mean filelist, to which the BackSpace of the stock soft keyboard, called by QuickSearch (commands 134, 154,) doesn't send a key code (the test version you sent me last year that logs keypresses in filelist didn't log anything for BackSpace). So since Android somehow recognizes BackSpace keypress in input fields, maybe there is a way to catch BackSpace keypresses in TC's filelist ListView too... That's why in first post there's a link to sample code which may help in this case.ghisler(Author) wrote: 2019-03-21, 09:14 UTC Where is this issue? In the text editor not able to delete last type character?
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: Not working virtual keyboard's BackSpace in filelist
But why? For going up one level? There is already the "go back" button for that on Android.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Not working virtual keyboard's BackSpace in filelist
I'd like to have Go Up action for BackSpace button, and Go Back action - for Back Android button, please see my post in another topic for more details.ghisler(Author) wrote: 2019-03-21, 11:29 UTC But why? For going up one level? There is already the "go back" button for that on Android.
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: Not working virtual keyboard's BackSpace in filelist
The back button is used for "go up" in TC, not for the directory history.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Not working virtual keyboard's BackSpace in filelist
It was a topic with a suggestion (to have a choice for action of Android Back button: Go Up or Go Back)ghisler(Author) wrote: 2019-03-22, 10:32 UTC The back button is used for "go up" in TC, not for the directory history.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708