Red Hat Bugzilla – Bug 598625
suggestion selection fails when performing mid-token expression replacement
Last modified: 2010-08-12 12:50:07 EDT
Description of problem:
A search expression is made up of several search tokens. Frequently, a user will be asking for completions with the cursor naturally positioned at the end of a token. However, sometimes a user will reposition the cursor in the middle of a token and ask for suggestions from that point on. If the user selects one of the suggestions, it should replace the entire token properly, not just the part before the cursor.
Steps to Reproduce:
1. Enter "cod" into the SearchBar for resources
2. Suggestion should be "Code Cache"
3. Use the mouse to position the cursor between 'o' and 'd'
4. You'll see suggestions like configuration, connection, agent plugin container, etc etc
5. Select "connection["
The expression is replaced as "connection[d"
The expression should be replaced as "connection["
Author: Joseph Marques <email@example.com>
Date: Tue Jun 1 14:30:27 2010 -0400
BZ-598625: properly replace entire current search token with provided suggestion
Grabbing this bz since I was actually making use of search functionality this AM. That said, we should still have a test case for this if we don't already -- i.e., it should exist in a test run.
QA Verified - when relocating cursor to middle of string, the suggestion appears correctly and when selected, the appropriate information is chosen for search box.
Mass-closure of verified bugs against JON.