Find App Bar text box not changing red when pressing "Enter" and field is empty

RESOLVED INCOMPLETE

Status

defect
RESOLVED INCOMPLETE
6 years ago
2 years ago

People

(Reporter: kjozwiak, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [defect] p=0)

Reporter

Description

6 years ago
When pressing "Enter" while the content of the text box under the Find App Bar is empty, the text box won't change the background to red indicating that there's an error (content missing). This seems to be working with "Shift + Enter" but not when with "Enter".

This happens ONLY after you searched for a valid word and then removed the contents of the text box. I can reproduce this 100% of the time and listed the STR below.

Steps to reproduce the issue:

1) Open Firefox Metro
2) Go to wikipedia.org
3) Slide in the Navigation App Bar and select "Settings -> Find in Page"
4) Type a valid word in the text box and select the down arrow (should find the next instance of the word)
5) Now remove the contents of the text box by either backspace or taping on the "X" in the text box
5) Press "Enter" and you'll notice that the background is not being changed to red despite attempting to search while the field is empty
6) If you repeat Step #5 but use "Shift + Enter", you'll notice that the background of the text box changes to red when trying to search for something while the text box contents is empty

Current Behaviour:

- Removing the contents from the text box under the Find App Bar and then press "Enter" to search. The text box background will not change to red indicating that there's an error (blank text box)

Expected Behaviour:

- The text box should be changing red if a user is attempting to search for something but the content of the text box is completely blank

Found the issue using the following bug:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2013-12-22-03-02-04-mozilla-central/
Reporter

Updated

6 years ago
Summary: Defect - Find App Bar text box not changing red when pressing "Enter" and field is empty → Find App Bar text box not changing red when pressing "Enter" and field is empty
Reporter

Updated

6 years ago
Whiteboard: feature=defect c=Find_in_page_app_bar u=metro_firefox_user p=0 → [triage] [defect] p=0
Blocks: metrobacklog
No longer blocks: metrov1backlog
Whiteboard: [triage] [defect] p=0 → [defect] p=0
Mass close of bugs in obsolete product https://bugzilla.mozilla.org/show_bug.cgi?id=1350354
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.