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

New Tab's Search Bar Doesn't Reset the Input Field When Losing Focus #5306

Closed
4 tasks done
huseyingulec opened this issue Feb 12, 2025 · 4 comments
Closed
4 tasks done
Labels
Bug twilight This issue occurs in the twilight branch!

Comments

@huseyingulec
Copy link

Captchas

  • I have read the instructions.
  • I have searched existing issues and avoided creating duplicates.
  • I am not filing an enhancement request.

What happened?

When using the new tab search bar, the input field doesn't reset its value when it loses focus. This results in the last entered search query remaining in the input field even if the user navigates away from the search bar or clicks outside of it.

Steps to Reproduce:

  1. Click the new tab button.
  2. Enter a search query in the input field.
  3. Click outside the search bar or press Esc.
  4. Click again the new tab button.
  5. Observe that the search query still appears in the input field.

Expected Behavior: The input field should reset to an empty state when it loses focus or when the user navigates away from it.

Actual Behavior: The input field retains the last entered value after losing focus or when navigating away.

Screen.Recording.2025-02-12.at.16.59.28.mp4

Reproducible?

  • I have checked that this issue cannot be reproduced on Mozilla Firefox.

Version

1.7.7t twilight

What platform are you seeing the problem on?

macOS - aarch64

Relevant log output if applicable

@dosubot dosubot bot added Bug twilight This issue occurs in the twilight branch! labels Feb 12, 2025
Copy link

dosubot bot commented Mar 15, 2025

Hi, @huseyingulec. I'm Dosu, and I'm helping the desktop team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • The issue involves the new tab search bar in version 1.7.7t twilight on macOS - aarch64.
  • The input field retains the last entered search query even after losing focus.
  • Expected behavior is for the input field to clear when the user clicks outside or navigates away.
  • This issue does not occur on Mozilla Firefox, suggesting it may be specific to this version or platform.
  • There have been no comments or further activity on the issue yet.

Next Steps:

  • Please let me know if this issue is still relevant to the latest version of the desktop repository by commenting here.
  • If there is no further activity, the issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Mar 15, 2025
@huseyingulec
Copy link
Author

the issue is still relevant to the latest version of twilight 1.10t.

@dosubot dosubot bot removed the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Mar 15, 2025
@wrongsyntax
Copy link

This is a setting that is set by default to 45 seconds before clearing it. If you go to about:config and search for zen.urlbar.wait-to-clear, you can set it to whatever value you prefer.

@huseyingulec
Copy link
Author

This is a setting that is set by default to 45 seconds before clearing it. If you go to about:config and search for zen.urlbar.wait-to-clear, you can set it to whatever value you prefer.

@wrongsyntax thank you, i just realized that. Closing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug twilight This issue occurs in the twilight branch!
Projects
Status: Done
Development

No branches or pull requests

2 participants