Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-empty search field should have focus #165

Closed
ghost opened this issue Sep 1, 2023 · 4 comments
Closed

Non-empty search field should have focus #165

ghost opened this issue Sep 1, 2023 · 4 comments

Comments

@ghost
Copy link

ghost commented Sep 1, 2023

Hello,

First of all, thank you for the hard work on Aard 2.

I noticed, however, a behavior of Aard 2 that is making me lose time pretty regularly: You can’t directly start typing a word. In other words, the search field doesn’t have focus, neither when you launch the app, nor when go back to the LOOKUP screen after being on another Aard 2 screen.

What’s even more frustrating is the search field has a relatively compact height, and immediately under it, there are 5 buttons that are easy to misclick, 4 of which (BOOKMARKS, HISTORY, DICTIONARY MANAGEMENT, etc.) will hide the search bar. Maybe I have clumsy fingers, but I swear that 30% of the time when I am clicking the search field, desperately trying to make it get focus (which it should have on its own!!!), the search field goes away inadvertently.

@itkach
Copy link
Owner

itkach commented Sep 3, 2023

I am unable to reproduce this on a Samsung Galaxy with One UI 4.1/Android 12. Lookup input field is automatically focused and keyboard pops up in all cases you describe, as well as when clearing previous input using x button. The height of the input field appears to be consistent with input fields in other applications.

@itkach itkach closed this as not planned Won't fix, can't repro, duplicate, stale Sep 3, 2023
@ghost
Copy link
Author

ghost commented Sep 3, 2023

I use Aard 2 on Android 11 almost daily, so it's not like I am hallucinating the behavior I am reporting. However, one thing struck me in your reply: you were “clearing previous input using x button.” In my use cases, the search field always contained a previous word, i.e., it was non-empty. My guess is that you are testing with the search field empty, which indeed does get focus automatically. So, I will rename my issue to:

“Non-empty search field should have focus”

and it is unresolved.

@ghost ghost changed the title Search field should have focus Non-empty search field should have focus Sep 3, 2023
@francwalter
Copy link

francwalter commented Sep 4, 2023

I cannot reproduce it neither. I open Aard2, the search input is already filled with my last search, so not empty, and the keyboard opens and the focus is in the search input.
So even when not empty it has the focus.
What phone do you use?
It could be OS (manufacturer) related.

But I have to say that I use the fork of Aard2 compiled by @sklart with the buttons at the bottom from @MuntashirAkon. I don't know if there is different behavior in this matter.
frank

@MHBraun
Copy link
Contributor

MHBraun commented Sep 5, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants