Closed Bug 1196906 Opened 9 years ago Closed 3 years ago

Searching with keywords (when Shift is pressed): Either don't remove magnifier from location bar OR search for the whole string [keyword][space][search term] in default engine

Categories

(Firefox :: Address Bar, defect, P5)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox43 --- affected

People

(Reporter: arni2033, Unassigned)

References

Details

(Whiteboard: [unifiedcomplete][fxsearch])

Attachments

(1 file)

// I couldn't find a duplicate.

STR:   (Nightly 43.0a1 (2015-08-18))
0. Set Yahoo! as default search
1. Set "b" as keyword for Bing search engine (or any other search engine)
2. Type "b dolske@mozilla.com" into location bar
3. Press "Down" button then "Up" button (to focus the 1st autocomplete suggestion).
4. Press Shift (don't release Shift)
5. Press Enter.

Result:       After Step 2 there's no magnifier in urlbar. I guess there's bug for that, so [ok]
              After Step 3 magnifier icon appears in urlbar       [ok]
              After Step 4 magnifier disappears from urlbar       [??]
              After Step 5 you get search results for search term [??]

Expectations: Current behavior (Steps 4 vs 5) is inconsistent. It should be like (A) or (B):
              A) After Step 4 magnifier icon is still in urlbar, so user can see that after Step 5
                 it will search with engine associated with keyword (Bing)
              B) After Step 5 it searches with default engine (similar to "Switch to tab" mechanism)
shift is a way to bypass urlbar actions (for example on switch to tab it won't switch but open the url again).
I actually think the behavior is correct in spite of that, you are bypassing the keyword action and thus the location bar will pass the whole string to the default search engine. though I suspect the action row is still saying we are doing a keyword search, right?
(In reply to Marco Bonardo [::mak] (spotty available until 24 Aug) from comment #1)
> action row is still saying we are doing a keyword search, right?
Yes, AND if I press Shift+Enter, it still searches with keyword. The only glitch currently is that magnifier icon DOES go away when Shift is pressed. Result after Step 5 should be corrected:
>             After Step 5 you get results in search engine associated with the keyword [??]
See Also: → 1198832
Priority: -- → P4
Whiteboard: [unifiedcomplete][fxsearch]
Rank: 45
Blocks: 1262507
Priority: P4 → P5

Hi, I'm closing this bug as WFM since I can't reproduce the behavior. If I'm wrong, please do reopen it.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: