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




Address Bar
3 years ago
7 months ago


(Reporter: arni2033, Unassigned)


(Blocks: 2 bugs)

Dependency tree / graph

Firefox Tracking Flags

(firefox43 affected)


(Whiteboard: [unifiedcomplete][fxsearch])


(1 attachment)



3 years ago
Created attachment 8650657 [details]
Searching with keywords (when Shift is pressed).webm

// 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" 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?
Comment hidden (obsolete)

Comment 3

3 years ago
(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 [??]


3 years ago
See Also: → bug 1198832
Priority: -- → P4
Whiteboard: [unifiedcomplete][fxsearch]


3 years ago
Rank: 45


2 years ago
Blocks: 1262507
Priority: P4 → P5
You need to log in before you can comment on or make changes to this bug.