Comment #22 on issue 9225 by [email protected]: Linux Omnibox should
maintain state across tab switches
http://code.google.com/p/chromium/issues/detail?id=9225
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=19770
------------------------------------------------------------------------
r19770 | [email protected] | 2009-07-01 14:56:25 -0700 (Wed, 01 Jul 2009) |
20 lines
Changed paths:
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc?r1=19770&r2=19769
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h?r1=19770&r2=19769
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/gtk/location_bar_view_gtk.cc?r1=19770&r2=19769
Make Linux restore Omnibox contents on tab switch.
Tested as follows:
Create a new window with two tabs. Type a bunch of 'a' characters into tab
A's omnibox and a bunch of 'b's into tab B. Then,
1. Select tab A. Left-click in the omnibox and highlight a few characters
in the middle. Left-click in the empty space to the right of the text to
unhighlight it, then middle-click to make sure that the
previously-highlighted text still gets pasted.
2. Repeat 1, but hit a key to remove the selection instead of clicking the
mouse. The old highlighted text should still be available as the primary
selection.
3. Highlight A's text as in 1. Select tab B and see that the omnibox is
updated to B's string and highlighting is removed. Middle-click and
confirm that the previously-highlighted text from A is pasted.
4. Select A and left-click in the middle of its string to position the
cursor there. Click on tab B and then back on A to check that A's cursor
position is restored.
5. Highlight text in A. Select tab B and then highlight text from a
different window. Switch back to A and middle-click. The text from the
different window, rather than A's previously-highlighted text, should be
pasted.
BUG=9225
Review URL: http://codereview.chromium.org/151006
Patch from Dan Erat <[email protected]>.
------------------------------------------------------------------------
--
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
-~----------~----~----~----~------~----~------~--~---