Page 1 of 1

TC4A: quick search cursor lost after focus on panel

Posted: 2017-08-30, 08:48 UTC
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.)

Posted: 2017-08-31, 08:24 UTC
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.

Posted: 2017-09-04, 09:23 UTC
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.)

Posted: 2017-09-04, 12:49 UTC
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.

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

Posted: 2021-09-11, 11:36 UTC
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.

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

Posted: 2021-09-15, 10:13 UTC
by ghisler(Author)
No, because there is no focused item in touch mode.

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

Posted: 2021-09-15, 10:56 UTC
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.