Closed dessalines closed 5 months ago
👋 Thanks for reporting!
We will get back to you soon about this issue.
Take a look at #474 this is already some what requested
@dessalines if you are willing to do testing ill gladly take a look into your request a bit more along side #474
Sure, just let me know branches or builds to try out.
@flobere an @dessalines could you test this for me and give me feed back?
Typing with physical keyboard right away didn't work, still needed to pull up to the app list. Enabled auto_show_keyboard
and behavior was the same.
Does the menu key work for you to bring up the apps?
Once I work that out I can enable it for any letter.
@dessalines the latest release the menu key should be working if you want i can add other keys to allow that menu to show when pressed.
if i was to add all letters then it would open when clicking a letter but you would need to click it twice to have it start typing as i can't seem to find a way to open and type first letter
I don't have the menu key on my tablet, only full screen gestures, with a physical keyboard connected.
If your keyboard has one, it should be near your right ctl. Easy to miss. When I tried the app with a keyboard, ctl+esc also worked (replicates the android menu key).
Would something like this or a meta key press be efficient enough? Or are you hoping to filter all installed apps from homescreen without an extra keypress?
I don't see why an extra keypress is necessary for a physical keyboard. KISS launcher / monocles can start filtering immediately on any keypress.
KISS Launcher is a bad example as it does not even work the same. it has the search from the main fragment not as a 2nd fragment where as mLauncher you swipe to get into a different fragment then search that not just searching from the home fragment.
Monocles being a fork of KISS this is the same issue they don't use a different fragment for the appList and the Search you just search and view apps in the same fragment
i would need to have the key presses launch to the allApps fragment then search in that fragment ill have a look to see if i can farward from home to appApps and have it auto input the first letter after you enter the applist
@dessalines and @flobere do you both want to test this please?
Works for me on android 12 with a keyboard plugged in. Admittedly haven't tested very thoroughly, I don't use a keyboard. makes the already existing search filtering really useful imo.
Only thing i'd suggest from a user perspective is maybe being able to escape the app drawer/ filtered app list with the Esc key
EDIT the only unexpected behaviour: opening app drawer with menu key press pre-fills the app search with "null". opening the app drawer with swipe gesture has the usual empty field.
@HeCodes2Much That's mostly working, nice!
Only thing i'd suggest from a user perspective is maybe being able to escape the app drawer/ filtered app list with the Esc key
Agreed, that'd be nice to have.
Only thing i'd suggest from a user perspective is maybe being able to escape the app drawer/ filtered app list with the Esc key
Does this not already happen. it does when testing on android studio. with a keyboard.
1x ESC closes keybard 2x ESC goes to homescreen
EDIT the only unexpected behaviour: opening app drawer with menu key press pre-fills the app search with "null". opening the app drawer with swipe gesture has the usual empty field.
ya sorry i forgot to check for null ill fix that before release
With my physical keyboard at least, the escape key doesn't do anything. It could be a case of the difference between the escape keycode, and the action.
With my physical keyboard at least, the escape key doesn't do anything. It could be a case of the difference between the escape keycode, and the action.
maybe ill have to look into why maybe ESC on android studio is the same as pressing the back button?
I could see why it might be like that, but you might just need to use the https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_ESCAPE keyEvent.
@dessalines does this work now? i think i got it working but im not 100% sure
Yup that worked! Thx.
Yup that worked! Thx.
Sweet just need to commit it then i will be doing a release soon.
Checklist
Feature description
My main machine is an android tablet, with a physical keyboard. One feature from KISS / monocles launcer that I really miss, is that as soon as I type a letter on the physical keyboard, it starts filtering.
In mLauncher, I have to swipe up to get to the app list first, then I can start typing letters. Keys typed before that are ignored.
I'd love for keyboard presses to immediately start filtering, rather than having to swipe down first.
Additional information
NA
Terms and Conditions