desktop icon indicating copy to clipboard operation
desktop copied to clipboard

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

Open hueypov opened this issue 1 year ago • 4 comments

Captchas

  • [x] I have read the instructions.
  • [x] I have searched existing issues and avoided creating duplicates.
  • [x] 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.

https://github.com/user-attachments/assets/aa3a3c1f-0e59-4c54-961a-85c030447e55

Reproducible?

  • [x] 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


hueypov avatar Feb 12 '25 16:02 hueypov

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[bot] avatar Mar 15 '25 16:03 dosubot[bot]

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

hueypov avatar Mar 15 '25 18:03 hueypov

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 avatar Mar 16 '25 20:03 wrongsyntax

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.

hueypov avatar Mar 19 '25 20:03 hueypov