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

Focus in "Window's name" form field when having clicked the icon #22

Closed
celemon opened this issue Dec 6, 2017 · 3 comments
Closed

Focus in "Window's name" form field when having clicked the icon #22

celemon opened this issue Dec 6, 2017 · 3 comments
Assignees

Comments

@celemon
Copy link

celemon commented Dec 6, 2017

It would be useful if the form field "Window's name" was in focus (with any preexisting form field text preselected) when the popup window opens on clicking the icon in the top bar. Entering a new title will be much quicker, with the user just having to click the icon and write.

@captnfab
Copy link
Owner

captnfab commented Dec 6, 2017

Indeed. I'm not exactly sure how to do that, but I'll try to add this behavior for the next release.

@celemon
Copy link
Author

celemon commented Dec 6, 2017

Maybe example 5 in https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Tutorial/Focus_and_Selection (?)

Sorry that I am sitting here and just sending pages: have to work and have not yet tried to download and compile any code (just added a user to input on your add on which I love).

@captnfab
Copy link
Owner

I had to use a hack for the focus to be set properly on the current window's name input field.
But hopefully, it now works (version 0.1.11, just released.)

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

No branches or pull requests

2 participants