Whenever displaying a dialog requesting text (such as renaming a file, creating a directory, entering an address for a share, etc.), the virtual keyboard does not appear so I can type anything. In fact, if the virtual keyboard was open when the dialog appears, the keyboard actually disappears.
This is the opposite of what should happen. If the app is expecting me to enter text on a device without a physical keyboard hooked up, it obviously should allow the on-screen keyboard to appear so I can actually enter text. ;-) The keyboard does come up if I tap the (already focused) text field, but I shouldn't have to do that every time. There is no point in not having the keyboard show by default in a text entry field. Notice how virtually every other Android app handles this.
Issue observed on a Samsung SM-J727U with Ghost Commander 1.56.4, and on Samsung SM-P580.
Never saw such behavior an any devices I tried. What is the OS version and the keyboard application you use?
The tablet (SM-P580) reports Android version 7.0 (there's an Oreo update out but I haven't updated yet), and the SM-J727U phone has 8.1.0 (“Samsung Experience version 9.5”). This seems to affect any of the keyboard apps I have (GBoard, Hacker's Keyboard, built-in Samsung keyboard are all affected). I also tried rebooting both devices, but the behavior did not change.
Please think what else can differ your systems from others. Any installed software or mods?
No idea. It's a stock system; no mods nor rooting, and a factory reset doesn't change the situation either (I had to factory reset both devices lately for an unrelated reason.) Most apps don't have this problem, but there are a few specific dialogs in the system and in some apps that behave this way. Maybe Samsung ships buggy firmware? I don't know.
I tested on Samsung galaxy S6 and S8. You're saing "Most apps don't have this problem", so some other applications still share the same misbehavior?
Yes, I see it in a few occasional places (it's consistent where it happens; one example is the password dialog when doing an ADB backup), but most apps I use don't have the problem. I don't have a non-Samsung device to test, so I'm not sure if it's Samsung-specific or not.
I have the same behavior on Android 7.1 and Android 10, both from Samsung. On Android 10, the text field is not focused by default. I tried rename, new directory, make zip. I am not seeing this behavior in other apps.
Do you have any custom keyboard app installed? Whatever I tried, I cannot reproduce that.