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

Toggle to remove focus of the search bar at startup #2920

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

bon-sai-tree
Copy link

@bon-sai-tree bon-sai-tree commented Nov 11, 2024

When the browser launches, the urlbar is always focused, instead of the homepage. This behavior doesn't happen on Firefox and doesn't work for users that have a homepage with a searchbar.

This PR uses a toggle to disable the focusing of the urlbar: zen.urlbar.disable-initial-focus
The default value is false so it doesn't change anything for existing users.

There was already an PR without an toggle: #1742
Also an issue: #973
And a discussion: #1169

I'm not really familiar with the codebase and would appreciate feedback :)

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. Feature labels Nov 11, 2024
@bon-sai-tree bon-sai-tree force-pushed the toggle-startup-focus branch from 67a4a20 to 996f042 Compare March 5, 2025 18:54
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Mar 5, 2025
@bon-sai-tree
Copy link
Author

Hey @mauro-balades,

I've just merged the upstream changes back into the branch, so it should be ready to merge once again. :)
Have you had a chance to review it?

@bon-sai-tree bon-sai-tree reopened this Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant