CocoCR300 / flauncher

Fork of https://gitlab.com/flauncher/flauncher
GNU General Public License v3.0
14 stars 1 forks source link

Can't configure hour format or select format specifiers #8

Open ptlambert opened 3 months ago

ptlambert commented 3 months ago

The "Date and time format" screen is not fully accessible using an Android TV remote. I can press the Down key on the remote to move the cursor into the date format field, but at that point the virtual keyboard obscures the hour format field and the format specifier drop-down menu. There seems to be no way to move past that date field into the hour format field, nor move past the hour field to select a format specifier? But maybe I'm missing something here...

I managed to get the date & time format set to my liking by using a ScrCpy session from within adbLink. (Even that was painful due to the non-standard key layout of the adbLink virtual Keypad, but that's somebody else's problem.)

Not sure how to improve this interface... Maybe put the date and hour format fields side-by-side and allow movement between the two fields via the Left and Right keys on the remote, and the arrow keys on the virtual keyboard?

ptlambert commented 3 months ago

I took another look at this and to be more accurate: The hour format field is not actually obscured by the virtual keyboard; only the format specifier menu is obscured (at least on my TV screen). But there's simply no way to navigate into the hour format field.

The virtual keyboard only has left and right arrows. If it had up and down arrows then it might be possible to use that keyboard to jump from the date field into the hour field?

ptlambert commented 3 months ago

I just noticed after entering something into the date format field: Pressing Enter in the virtual keyboard, or pressing the Back key on the physical remote, closes the virtual keyboard and also exits the entire "Date and time format" screen.

Perhaps you can change this behavior to just close the virtual keyboard? At that point we should be able to press the Down key on the physical remote to get into the next field (either the hour format field or the select format specifier menu).

ptlambert commented 3 months ago

I just stumbled across a workaround: On opening the "Date and time format" screen, press the Up key on the Android TV remote. This lands focus on the format specifier menu. Select a format from the menu if desired. Then press the Left key on the remote, followed by the Up key on the remote, to land focus on the hour format field. Press the Select button on the remote to enter the format specifier (if selected), or open the virtual keyboard (if no format specifier selected).

(Not sure how to select and apply a format specifier to the date format field?)

ptlambert commented 3 months ago

I just noticed after entering something into the date format field: Pressing Enter in the virtual keyboard, or pressing the Back key on the physical remote, closes the virtual keyboard and also exits the entire "Date and time format" screen.

Apparently this behavior (Enter key in virtual keyboard or Back key on remote closing the entire "Date and time format" screen) only happens when using an Infrared remote control. The Bluetooth remote that came with this TV box is not exhibiting the same behavior.

The workaround in my previous post still works with the original Bluetooth remote. Still not sure how to select and apply a format specifier to the date format field?