Bug 599687
Summary: | repositioning the cursor in the SearchBar does not refresh suggestions | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Joseph Marques <jmarques> |
Component: | Core UI | Assignee: | Joseph Marques <jmarques> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Sunil Kondkar <skondkar> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 3.0.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-08-12 16:47:01 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Joseph Marques
2010-06-03 18:37:24 UTC
commit ea38307cc914df400665f0af13a1fa3a1b200096 Author: Joseph Marques <joseph> Date: Thu Jun 3 14:42:26 2010 -0400 BZ-599652 / BZ-599687 - more robust support for keyboard/mouse events as applied to search suggestions ----- BZ-599652 - prevent IndexOutOfBoundsException when mouse-clicking to select a search suggestion * a mouse-click will move the focus off of the textbox * an unfocused textbox has a cursor position of -1 * suggestion selection algorithm requires a valid cursor position * fix is to manually manage the last known position of the cursor BZ-599687 - support refreshing suggestions in more circumstances * left-arrow/right-arrow in the textbox will show correct suggestions based on cursor position * mouse-click events in the textbox will show correct suggestions based on cursor position Verified on 'jon-server-2.4.0.Beta1' build. Using the mouse or left-arrow/right-arrow keys, repositioning the cursor displays available suggestions and selecting the suggestion replaces with the selection. (Ex: when user repositions the cursor after type= in expression "type=cpu category=server" , it displays available types and if user selects a type such as 'Apache HTTP Server', the suggestion gets selected. Mass-closure of verified bugs against JON. |