Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017478Openbravo ERPA. Platformpublic2011-06-02 15:552011-06-07 17:09
rgoris 
dbaz 
highmajoralways
closedfixed 
5
pi 
3.0MP0 
Core
No
0017478: Focus sits in column filter while a row is selected
By default when a tab is opened, the grid does not have selected rows. In this case it makes perfect sense to have the focus in the column filters.

However, when a row is selected the focus should also be on this row.


Example: When returning to a grid from form view, the row remains selected but the focus sits in the column filter. One of the problems is now that the keyboard shortcuts for the selected row stop working because the focus has moved to the column filters.

This occurs when a form view is closed (either using the mouse or pressing the ESC key). Now, the selected row in the grid, cannot be me moved anymore using up/down arrow keys, nor the F2 key, nor the Enter key work. You need to first click with the mouse on the row again to make the keyboard shortcuts work again.
Form view, close form view, press arrow up/down key, enter or F2. Nothing happens.
As a rule the focus should only be by default in the column filters when there is no row selected. This only occurs the first time when a tab is opened.
No tags attached.
Issue History
2011-06-02 15:55rgorisNew Issue
2011-06-02 15:55rgorisAssigned To => dbaz
2011-06-02 15:55rgorisModules => Core
2011-06-03 10:46rgorisStatusnew => scheduled
2011-06-03 10:46rgorisfix_in_branch => pi
2011-06-06 12:32rgorisTarget Version3.0MP1 => 3.0MP0
2011-06-06 12:32rgorisfix_in_branchpi =>
2011-06-06 15:23rgorisSummaryWhen returning to a grid the keyboard shortcuts for the selected row stop working => [KS] When returning to a grid the keyboard shortcuts for the selected row stop working
2011-06-06 18:22rgorisSummary[KS] When returning to a grid the keyboard shortcuts for the selected row stop working => Focus sits in column filter while a row is selected
2011-06-06 18:22rgorisDescription Updatedbug_revision_view_page.php?rev_id=2180#r2180
2011-06-06 19:11rgorisSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=2182#r2182
2011-06-06 19:11rgorisProposed Solution updated
2011-06-07 16:05hgbotCheckin
2011-06-07 16:05hgbotNote Added: 0038136
2011-06-07 16:05hgbotStatusscheduled => resolved
2011-06-07 16:05hgbotResolutionopen => fixed
2011-06-07 16:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/13a136d2ff2e7af8dc97f9ee3cd754b861e00f58 [^]
2011-06-07 17:09marvintmStatusresolved => closed

Notes
(0038136)
hgbot   
2011-06-07 16:05   
Repository: erp/devel/pi
Changeset: 13a136d2ff2e7af8dc97f9ee3cd754b861e00f58
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Tue Jun 07 16:05:28 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/13a136d2ff2e7af8dc97f9ee3cd754b861e00f58 [^]

Fixed issue 17478: Now focus is in the selected row when going from form to grid

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---