Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022123Openbravo ERPB. User interfacepublic2012-10-28 15:162016-10-24 09:31
pjuvara 
AugustoMauch 
normalminoralways
closedfixed 
5
pi 
3.0MP203.0MP20 
dbaz
Core
No
0022123: UI looses focus when entering filter in grid mode
When you are in a window in grid mode and you want to look for a specific record using the filters and you start typing, the grid automatically perform queries as you type.

The first time that the query is fired, the focus is lost from the grid. This means that if you had typed a partial value and you want to continue typing, you need to move the focus back in the grid.

Subsequent queries do not have this problem.

This is a very significant annoyance and productivity loss for users (that is why I report this as Major issue).
The behavior can be experienced in any grid. For example:
1) Login as system administrator
2) Navigates to the Tables and Columns window
3) Let's suppose you want to search for table with Name "ADUser".
4) In the filter for column Name, type - without hesitation - "AD" and stop there to simulate a hesitation
5) The query fires and you can see that the focus is lost.
6) Put the focus back and add "u"
7) The query fires and the focus is now preserved.
The focus should not be lost after the first query.
Coworking
related to defect 0034057 closed NaroaIriarte Wrong Tabulation Order in form fields in Organization window 
Issue History
2012-10-28 15:16pjuvaraNew Issue
2012-10-28 15:16pjuvaraAssigned To => dbaz
2012-10-28 15:16pjuvaraModules => Core
2012-10-28 15:16pjuvaraTag Attached: Coworking
2012-12-10 12:09jonalegriaesarteTriggers an Emergency Pack => No
2012-12-10 12:09jonalegriaesarteSeveritymajor => minor
2012-12-10 12:09jonalegriaesarteTarget Version => 3.0MP19
2012-12-10 13:27dbazAssigned Todbaz => AugustoMauch
2012-12-13 10:05AugustoMauchNote Added: 0054910
2013-01-09 09:30AugustoMauchNote Added: 0055403
2013-01-09 09:30AugustoMauchTarget Version3.0MP19 => 3.0MP20
2013-01-31 16:05AugustoMauchIssue Monitored: dbaz
2013-01-31 16:06AugustoMauchReview Assigned To => dbaz
2013-01-31 16:11hgbotCheckin
2013-01-31 16:11hgbotNote Added: 0056017
2013-01-31 16:11hgbotStatusnew => resolved
2013-01-31 16:11hgbotResolutionopen => fixed
2013-01-31 16:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8e1a1a70be0dd8a06c5dfa60553a0e4115143e42 [^]
2013-01-31 17:15dbazNote Added: 0056023
2013-01-31 17:15dbazStatusresolved => closed
2013-01-31 17:15dbazFixed in Version => 3.0MP20
2013-02-01 12:28AugustoMauchRelationship addedduplicate of 0022766
2013-02-01 22:28hudsonbotCheckin
2013-02-01 22:28hudsonbotNote Added: 0056099
2013-02-12 13:14AugustoMauchRelationship deleted0022766
2016-10-24 09:31NaroaIriarteRelationship addedrelated to 0034057

Notes
(0054910)
AugustoMauch   
2012-12-13 10:05   
This issue can be reproduced in Linux (Firefox and Chrome), but not in Windows (IE and Chrome).
(0055403)
AugustoMauch   
2013-01-09 09:30   
Postponed to MP20 because a proper fix has not been found yet.
(0056017)
hgbot   
2013-01-31 16:11   
Repository: erp/devel/pi
Changeset: 8e1a1a70be0dd8a06c5dfa60553a0e4115143e42
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Jan 31 16:10:28 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8e1a1a70be0dd8a06c5dfa60553a0e4115143e42 [^]

Fixes issue 22123: UI doesnt lose the focus when entering filter in grid mode

At some point, the whole grid (filters included) were being redrawn, when only the body of the grid needed to be redrawn. If the focus was in the grid filter, it got lost. This issue has been fixed by redrawing only the body of the grid.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0056023)
dbaz   
2013-01-31 17:15   
Reviewed @ changeset: 19533 @ 8e1a1a70be0d
(0056099)
hudsonbot   
2013-02-01 22:28   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b070aa80fc76 [^]

Maturity status: Test