TC4A: quick search cursor lost after focus on panel

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

TC4A: quick search cursor lost after focus on panel

Post by *DrShark »

To reproduce:
1. Use a keyboard for quicksearch to set a focus/cursor on some file.
2. Hide a keyboard using Android Back button/key
3. Performe some action on a file panel that causes panel activation, like:
* screen rotation
* swipe on panel
* pressing a copy/move button and then closing the copy/move dialog by pressing Back button

The cursor disappears while the file is still foused and further action may be parformed on it.

Reproduced on Android 4.3.1 with TC4A 2.81 beta 8.

I suggest, if posible, either not to hide a cursor or restore it if such actions happen, or apply a permanent selection marker to such file icon (like it happens when a button with command 121 executed in step 3.)
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is out of my control: Android only shows a cursor while in keyboard mode. As soon as you use the touch screen, Android switches to touch mode and hides the cursor.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

ghisler(Author) wrote:This is out of my control: Android only shows a cursor while in keyboard mode. As soon as you use the touch screen, Android switches to touch mode and hides the cursor.
Yes, but you can show the cursor if keyboard is showed again:
1) open a keyboard for quick search;
2) focus on a file using quick search;
3) hide a keyboard using Android Back button;
4) open keyboard again.
Currently in step 4 TC4A doesn't show a cursor.

Or, like I suggested in previous post, once user focused on a file with quick search for a first time, you can apply a permanent selection to it ( mark.)
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC always requests non-touch mode when you turn on the keyboard. If it doesn't show up, then it's not in my control either.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: TC4A: quick search cursor lost after focus on panel

Post by *DrShark »

ghisler(Author) wrote: 2017-08-31, 08:24 UTC This is out of my control: Android only shows a cursor while in keyboard mode. As soon as you use the touch screen, Android switches to touch mode and hides the cursor.
Can you try to indicate the focused item also in other way? For example, with top+bottom lines (drawn with the same method as icon checkmarks) on/around top/bottom edges of focused file's/dir's icon (or thumbnail)? This "focus" icon overlay can be combined with "checkmark" overlay when the file is both focused and selected.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC4A: quick search cursor lost after focus on panel

Post by *ghisler(Author) »

No, because there is no focused item in touch mode.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: TC4A: quick search cursor lost after focus on panel

Post by *DrShark »

ghisler(Author) wrote: 2021-09-15, 10:13 UTC No, because there is no focused item in touch mode.
Try this:
1. Type some letter using Keyboard for QuickSearch to set a focus on some file in the middle of filelist.
2. Switch from TC.
3. Switch back to TC. Now TC is in that so-called "touch mode" and doesn't show which file is actually focused.
4. Press "Copy/Move/Send via Bluetooth" button.
You'll see the checkmark on the icon of file which had focus in step 1.
Then TC's copy dialog will show up and now you can even copy that file.

So even in "touch mode" the focus actually stays on file, Android listbox just doesn't indicate it.

My suggestion is so TC itself would indicate it by showing a special checkmark icon on its icon.
You can even literally simulate "Copy/Move/Send via Bluetooth" command without showing its dialog to get that checkmark set on focused file.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply