Comment #4 on issue 23514 by [email protected]: Command-enter in address bar should reset text + focus http://code.google.com/p/chromium/issues/detail?id=23514
I can think of two ways to fix this. One is to remove the if (disposition != NEW_BACKGROUND_TAB) check in OpenURL(). This check exists on Windows to prevent middle-clicks from reverting all. If we remove it on Mac, both middle click nor Cmd-Return will revert the omnibox text. The second idea is to manually call RevertAll() in the Cmd-Return branch of control:textView:doCommandBySelector:. This is less elegant, but has the benefit of leaving the current middle-click behavior untouched. I think I prefer the second. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
