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

Search bar not auto-selected when opening a new tab in window mode on macOS #1512

Open
0xkon1 opened this issue Sep 24, 2024 · 1 comment
Open
Labels
bug Something isn't working macos ui

Comments

@0xkon1
Copy link

0xkon1 commented Sep 24, 2024

When using the browser on macOS, opening a new tab in windowed mode (which is the default mode the browser starts in) does not automatically focus on the search bar. This requires the user to manually click on the search bar in order to type. However, when the browser is switched to fullscreen mode, opening a new tab does auto-select the search bar, allowing immediate typing.

Steps to Reproduce:

  1. Open Ladybird Browser on macOS.
  2. Ensure the browser is in windowed mode (not fullscreen).
  3. Open a new tab.
  4. Attempt to type in the search bar.

Expected Behavior:
The search bar should automatically be selected when a new tab is opened, allowing immediate typing without needing to manually click the search bar.

Actual Behavior:
In windowed mode, the search bar is not selected automatically, and the user must manually click into the search bar to begin typing. This behavior does not occur in fullscreen mode, where the search bar is auto-selected as expected.

Operating System:
macOS 14.6.1 (23G93)

Browser Chrome:
AppKit

I would like to try and fix this bug myself, however I am not sure of my skills so any support in pointing me in the right direction is appreciated.

@AtkinsSJ AtkinsSJ added bug Something isn't working ui macos labels Sep 24, 2024
@kostyafarber
Copy link
Contributor

This works for me with the latest build of ladybird

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macos ui
Projects
None yet
Development

No branches or pull requests

3 participants