Bug: TC4A: Keyboard for QS fails after 2 panels disabled

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:

Bug: TC4A: Keyboard for QS fails after 2 panels disabled

Post by *DrShark »

To reproduce:
0) if not enabled yet, enable 2 panels side by side mode for your screen view (vertical or horizontal) in the settiongs of TC4A;
1) add a button with command 134 (Keyboard for quicksearch) to the button bar;
2) disable 2 panels side by side mode for your screen view (vertical or horizontal) in the settings of TC4A;
3) try your button of command 134: nothing will happen.
In 1-panel mode the current panel is active, so it's expected that keyboard will appear.

Note: after TC4A restart command 134 will work in 1-panel mode.

Reproduced in TC4A 2.81 beta 7 on Android 4.3.1.
Last edited by DrShark on 2017-08-23, 18:19 UTC, edited 2 times in total.
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) »

Maybe the cursor is still in the other panel?
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:Maybe the cursor is still in the other panel?
Indeed it isn't in other panel. I made additional checking: no matter what, left or right, panel was active in 2 panels side by side mode, TC always show the path of left panel after a switch to 1 panel mode. And after the setting to switch TC in that mode is applied, this panel isn't become "active". To make the button work manual activation of the panel (using e.g. vertical swipe on panel) is required, or like it mentioned it first post, restart of TC, which also makes panel active.

My suggestion is to make visible panel in 1-panel view active immediately after a setting to switch TC4A to 1-panel mode was used.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

history2.txt wrote:2017-08-25 Fixed: Show keyboard with button (command 134) for quick search didn't work immediately after switching from 2 panel to virtual 2 panel view
It solved the issue, thanks.
However I still have a question: a press on keyboard immediately after switch to virtual panel mode makes the .. item marked like when some key pressed to use the keyboard for quick search. It's different from the case when TC4A just launched in virtual panels mode: immediate press on keyboard after TC launch opens the keynoard but there is no mentioned marking of .. item. Why the difference exists in ways of opening keyboard for these cases? Is it possible to make it the same (I'd prefer the way it works on TC4A launch.)?
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) »

It's because TC switches explicitly to keyboard input mode now, so the user can see where the quick search starts.
Author of Total Commander
https://www.ghisler.com
Post Reply