Bug 858748

Summary: Searchbar oddities
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: Core UIAssignee: Mike Thompson <mithomps>
Status: NEW --- QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: hrupp, jshaughn, mithomps
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Heiko W. Rupp 2012-09-19 11:19:12 EDT
I've seen two issues in the handling.

1) try to insert characters

Start typing 'type=JBoAS'. Then realize that you misspelled JBossAS.
click between o and A and insert an 's' -> cursor jumps to the end
click again between o and A insert an 's' -> cursor jumps to the end

The same happens if you e.g. want to delete the oss part from above expression, as you realize that the type is 'JBAS'

Or try 'configuration[group]="main-server-group" and then try to insert at the start 'type="^Managed Server"' - for each char, the cursor will jump to the end

2) Start with 'type="^Managed Server"' and then continue with " config"
the searchbar will suggest in the drop down "configuration[". If you click on that, the "type=..." part is lost
Comment 1 Jay Shaughnessy 2013-01-31 15:17:59 EST
Other oddity:

Basically I can't escape the suggestion box very easily.  I would expect that when I select something by clicking or hit return when it is highlighted that I would be placed in the search bar focus and the suggestion box wouold disappear.  If I hit return at that point the search would execute. Only if I type more would the suggest box come back.

And one more from IRC:

mazz: so, I go to the search bar and type "service"
mazz: and the search bar won't let me hit enter and just search that string!
mazz: it constantly wants to pick from the drop down selections.
mazz: but I don't WANT one of the selections, I just want to search on what I typed.. "service"
mazz: I have to click out of the search bar, click back into it and quickly hit enter and if I try that enough times, it ends up working