Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028231 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] B. User interface | minor | always | 2014-11-19 19:17 | 2016-10-24 10:06 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0PR15Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | c523abe0e811 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028231: Focus is placed automatically on the last field under some circumnstances | |||||||
Description | Focus is placed automatically on the last field of a tab, if this tab has the scroll bar on the right and all its fields are in read-only. | |||||||
Steps To Reproduce | Login as F&B Admin 1) Go to the [Unit of Measure] tab and increase the Translation tab enough to have scrolling on the header (See attached) 2) Access on any register in form mode. Notice that the screen scrolls down automatically to the last field. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ScrolledDown.png [^] (51,518 bytes) 2014-11-19 19:18
| |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0072024) hgbot (developer) 2014-11-26 11:39 |
Repository: erp/devel/pi Changeset: a72704b89964c9dd369c422ccefeecca16e26551 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Wed Nov 26 11:38:42 2014 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/a72704b89964c9dd369c422ccefeecca16e26551 [^] Fixes issue 28231: Form is not scrolled if it does not have any editable fields The problem was that when switching from grid to form view, if the form view did not have any editable fields the focus would be placed in the first Audit field, and the scroll would be moved so that the Audit field is shown in the top of the screen. This would hide all the read only fields. To fix this, when the switchFormGridVisibility is invoked it is detected if the focused item is an Audit field, and in that case the scroll is moved to the top so that the first batch of form fields is visible. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js --- |
(0072191) alostale (manager) 2014-12-01 13:18 |
Reopening: Works fine when navigating from grid to form view. But while in form view navigating to next/prev record the scrolling still occurs. |
(0072217) hgbot (developer) 2014-12-01 18:37 |
Repository: erp/devel/pi Changeset: c523abe0e8115d406c7e2515be7aef9d5209ce73 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Mon Dec 01 18:32:17 2014 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/c523abe0e8115d406c7e2515be7aef9d5209ce73 [^] Fixes issue 28231: Form is not scrolled if it does not have any editable fields There was a problem with the previous fix: it worked when a record was opened from the grid view to the form view, but then it did not work if the user moved to the previous or next record while in form view. To fix this, the logic that handled the original problem has been moved from OBStandardView.switchFormGridVisibility function to the OBViewForm.setFocusInForm function. The flow goes through the latter function each time a new record is loaded. In particular the form has to be scrolled down only when the record in being initializaed in the form, that's why a flag has been added to ensure that the code is only executed when the setFocusInForm function is executed from within the retrieveInitialValues function. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js --- |
(0072222) alostale (manager) 2014-12-02 07:52 |
code reviewed tested navigating from grid to form and navigating to next/prev record in form |
(0073144) hudsonbot (developer) 2014-12-30 23:26 |
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/6525fe229e06 [^] Maturity status: Test |
(0073160) hudsonbot (developer) 2014-12-30 23:26 |
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/6525fe229e06 [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2014-11-19 19:17 | caristu | New Issue | |
2014-11-19 19:17 | caristu | Assigned To | => dbaz |
2014-11-19 19:17 | caristu | File Added: ScrolledDown.png | |
2014-11-19 19:17 | caristu | Modules | => Core |
2014-11-19 19:17 | caristu | Resolution time | => 1422831600 |
2014-11-19 19:17 | caristu | Triggers an Emergency Pack | => No |
2014-11-19 19:18 | caristu | File Deleted: ScrolledDown.png | |
2014-11-19 19:18 | caristu | File Added: ScrolledDown.png | |
2014-11-19 19:18 | caristu | version | => pi |
2014-11-19 19:18 | caristu | Target Version | => 3.0PR15Q1 |
2014-11-19 19:18 | caristu | Assigned To | dbaz => AugustoMauch |
2014-11-19 19:18 | caristu | Issue Monitored: networkb | |
2014-11-26 11:30 | AugustoMauch | Issue Monitored: alostale | |
2014-11-26 11:30 | AugustoMauch | Review Assigned To | => alostale |
2014-11-26 11:39 | hgbot | Checkin | |
2014-11-26 11:39 | hgbot | Note Added: 0072024 | |
2014-11-26 11:39 | hgbot | Status | new => resolved |
2014-11-26 11:39 | hgbot | Resolution | open => fixed |
2014-11-26 11:39 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a72704b89964c9dd369c422ccefeecca16e26551 [^] |
2014-12-01 13:18 | alostale | Note Added: 0072191 | |
2014-12-01 13:18 | alostale | Status | resolved => new |
2014-12-01 13:18 | alostale | Resolution | fixed => open |
2014-12-01 13:38 | egoitz | Target Version | 3.0PR15Q1 => 3.0PR15Q2 |
2014-12-01 18:37 | hgbot | Checkin | |
2014-12-01 18:37 | hgbot | Note Added: 0072217 | |
2014-12-01 18:37 | hgbot | Status | new => resolved |
2014-12-01 18:37 | hgbot | Resolution | open => fixed |
2014-12-01 18:37 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/a72704b89964c9dd369c422ccefeecca16e26551 [^] => http://code.openbravo.com/erp/devel/pi/rev/c523abe0e8115d406c7e2515be7aef9d5209ce73 [^] |
2014-12-02 07:52 | alostale | Note Added: 0072222 | |
2014-12-02 07:52 | alostale | Status | resolved => closed |
2014-12-02 07:53 | alostale | Fixed in Version | => 3.0PR15Q1 |
2014-12-12 09:30 | caristu | Relationship added | related to 0028396 |
2014-12-30 23:26 | hudsonbot | Checkin | |
2014-12-30 23:26 | hudsonbot | Note Added: 0073144 | |
2014-12-30 23:26 | hudsonbot | Checkin | |
2014-12-30 23:26 | hudsonbot | Note Added: 0073160 | |
2016-10-24 10:06 | NaroaIriarte | Relationship added | related to 0034057 |
Copyright © 2000 - 2009 MantisBT Group |