New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 592540 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 3
Type: Bug

Blocked on:
issue 267629



Sign in to add a comment

Cannot search the symbol "?" - "Question mark"

Reported by terentii...@gmail.com, Mar 7 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36

Steps to reproduce the problem:
1. Open new tab in Google Chrome and write in searching bar: ?
2. Press Enter
3. Searching doesn't start, doesn't nothing.

What is the expected behavior?
Should be find some information: definitions, pictures,...

What went wrong?
Searching doesn't start, doesn't make nothing.

Did this work before? N/A 

Chrome version: 48.0.2564.116  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 20.0 r0

If you access google.com , write in searching bar: ? , the issue does not reproduce.
 
Components: Blink>Forms>Search
Labels: M-51 OS-Linux
Status: Untriaged (was: Unconfirmed)
Tested the same on win8.1 chrome version 49.0.2623.87 and canary - ? in address bar and hitting enter does nothing

This can be seen from M20 builds to latest canary

Mac behavior : doesn't accept ? in address bar

Firefox/IE behavior : ? in address bar redirects to google.co.in

Comment 2 by tkent@chromium.org, Mar 16 2016

Cc: tkonch...@chromium.org
Components: -Blink>Forms>Search UI>Browser>Omnibox
This is not a web content handling issue.  Please don't use Component:Blink.

Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)
This is a sad, minor side effect of the fact that Chrome uses "?" in the omnibox to allow the user force the user to force a search.  In other words, it's an indication to Chrome that the user doesn't want any URL suggestions, only queries.

You can search for "?" by typing "??" in the omnibox.  Once you type the single question mark, Chrome thinks, "okay, tell me what you want to search for."  The second "?" tells Chrome what to search for.

It should be possible to fix this and keep the old behavior (force query) at the same time as allowing searches directly for "?".  I don't have time to do this myself however.
Blockedon: 267629
Fixing  bug 267629  would make this less ambiguous.
Cc: thomasanderson@google.com
Owner: dpranke@chromium.org
Status: Assigned (was: Available)
thomasanderson@ will work on this, but doesn't have an account yet so I can't assign this directly to him. Assigning to myself in the meantime as a placeholder.
Note that this bug may be mutually exclusive with  bug 267629 .  The only way it wouldn't be is if we implement that such that backspacing from the keyword search mode leaves the address bar containing a question mark (and maybe a space, a la how we handle backspacing out of keyword mode in other cases today).
Cc: -thomasanderson@google.com dpranke@chromium.org
Owner: thomasanderson@chromium.org
Project Member

Comment 8 by bugdroid1@chromium.org, Jun 8 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/00687d006b3b838d1274f52a2dee455ce988d2fd

commit 00687d006b3b838d1274f52a2dee455ce988d2fd
Author: thomasanderson <thomasanderson@google.com>
Date: Wed Jun 08 16:06:34 2016

Interpret '?' and Ctrl-K or Ctrl-E as putting omnibox in keyword search mode for Default Search Provider.

When the user presses Ctrl-K or Ctrl-E:
Transition the user into keyword mode using their default search provider.  Pressing Ctrl-K will give the omnibox focus, and will display "Search Google:" on the left.  If the user has already entered text into the omnibox and presses Ctrl-K, their text will be preserved, but they will be transitioned into keyword mode anyway.  If the user is already in keyword mode (even if it's with a non-default search provider), the text they have entered will become selected.  Upon pressing backspace, they will be left with an empty omnibox.

When the user types '?' into the omnibox:
If the user types or pastes a '?' at the beginning of their (possibly empty) input text, transition them into keyword mode with their default search provider.  Upon pressing backspace, the omnibox will be left '?' (and their input).

Remove forced queries.  We should be able to search for '?' directly.

BUG= 267629 , 592540 

Review-Url: https://codereview.chromium.org/1855423003
Cr-Commit-Position: refs/heads/master@{#398580}

[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/autocomplete/autocomplete_browsertest.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/autocomplete/search_provider_unittest.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac_unittest.mm
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac_browsertest.mm
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/ui/extensions/extension_message_bubble_browsertest.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/ui/location_bar/location_bar.h
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/ui/search/instant_extended_interactive_uitest.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/ui/search/instant_test_utils.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/ui/views/location_bar/location_bar_view.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/ui/views/location_bar/location_icon_view.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/browser/ui/views/omnibox/omnibox_view_views.h
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/chrome/test/base/ui_test_utils.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/metrics/proto/omnibox_input_type.proto
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/autocomplete_input.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/autocomplete_input.h
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/autocomplete_input_unittest.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/autocomplete_provider.h
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/autocomplete_result.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/base_search_provider.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/bookmark_provider.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/builtin_provider.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/history_quick_provider.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/history_url_provider.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/keyword_provider.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/omnibox_edit_model.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/omnibox_edit_model.h
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/omnibox_edit_unittest.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/omnibox_view.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/omnibox_view.h
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/search_provider.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/search_suggestion_parser.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/omnibox/browser/shortcuts_provider.cc
[modify] https://crrev.com/00687d006b3b838d1274f52a2dee455ce988d2fd/components/search_engines/template_url_unittest.cc

Project Member

Comment 9 by bugdroid1@chromium.org, Jun 9 2016

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chrome/ios_internal.git/+/e73e31840701e5d31e2361c0e958761175402ba5

commit e73e31840701e5d31e2361c0e958761175402ba5
Author: sdefresne <sdefresne@google.com>
Date: Thu Jun 09 10:24:56 2016

Fixed now?
Status: Fixed (was: Assigned)
Verified in 53.0.2767.0 canary iOS, iPhone 6 iOS 9.2.1, iPad mini 9.3.1
"Question mark" symbol is searchable.
Project Member

Comment 13 by bugdroid1@chromium.org, Jun 23 2016

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chrome/ios_internal.git/+/3e7e2596400321a7e71016807076c2e3cfad0d02

commit 3e7e2596400321a7e71016807076c2e3cfad0d02
Author: rohitrao <rohitrao@google.com>
Date: Thu Jun 23 05:19:57 2016

Sign in to add a comment