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

When QtPass starts, focus search input box #89

Closed
rafi opened this issue Aug 8, 2015 · 2 comments
Closed

When QtPass starts, focus search input box #89

rafi opened this issue Aug 8, 2015 · 2 comments

Comments

@rafi
Copy link

rafi commented Aug 8, 2015

Currently when QtPass starts, the [X] button is focused.
Instead, please auto-focus the search input box for quicker usage.

@annejan
Copy link
Member

annejan commented Aug 9, 2015

The weird thing is that in the code I set focus to the lineEdit.
Unfortunately it does in effect focus on the next widget (the clear button) .. which is utterly weird.
If I remove that line it seems that nothing gets focused . . "playing" with this some more until I find a solution, because indeed it should just focus on the input . .

Thanks for noting this (confession I barely use QtPass myself, just for user management, for the rest I use command-line pass) it's a weird bug :)

@annejan
Copy link
Member

annejan commented Aug 9, 2015

Apparently focussing only works correctly after the app is initialised.
So I made a 10 millisecond one-shot timer to do so. . Works. Will be in 1.0.1

@annejan annejan closed this as completed in 4464e14 Aug 9, 2015
annejan added a commit that referenced this issue Jun 1, 2016
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

2 participants