Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0031293 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | minor | always | 2015-10-27 16:45 | 2015-11-09 09:46 | |||
Reporter | mfuertes | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 239c6606f978 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q3.4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 3.0PR15Q1.4 | SCM revision | ||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2014-05-26 | |||||||
Regression introduced in release | 3.0PR14Q3 | |||||||
Regression introduced by commit | http://code.openbravo.com/erp/devel/pi/rev/402d7bca3f774737bf194cb7cbe41d2454a69326 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0031293: current combo value is not selected when opening drop down list with mouse in form view | |||||||
Description | When editing in form view and a combo's drop down is opened by clicking with the mouse the picker down arrow icon (in the right of the field's text box), the current value of the field does not get automatically selected in the field's text box. This behavior forces the user to have to select the field value in order to start typing a different one. In previous releases (<=3.0PR14Q2), the value got selected for Table, TableDir and List references, but not for Selectors. Starting from 3.0PR14Q2 it is not selected for any of them. Notes: * When editing in grid view, the behavior is different, being the text selected for the 3 references mentioned above. * When drop down is opened use keyboard (alt+key down), text never gets selected. | |||||||
Steps To Reproduce | Do the same for both versions: - Go to Sales Order (or any other window with a drop-down field) - Create a new Order in form view - Click on the dropdown arrow for "Organization" field (for example) For Version 14Q2.5 (Version from livebuilds tested) the text "F&B España - Región Norte" for example will be selected so that the user can start typing to select another value. For Version 15Q1.4 and PI (PI tested in livebuilds), the text "F&B España - Región Norte" will not be selected and the user will need to select the text in order to start typing another value. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0081527) hgbot (developer) 2015-11-05 16:45 |
Repository: erp/backports/3.0PR15Q3.4 Changeset: 239c6606f9788f6964f19df73377c5545a0de7d8 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Thu Nov 05 16:44:29 2015 +0100 URL: http://code.openbravo.com/erp/backports/3.0PR15Q3.4/rev/239c6606f9788f6964f19df73377c5545a0de7d8 [^] fixes issue 31293: current combo value is not selected when opening drop down The problem is caused because after the combo refactor project table and tabledir references make use of a class with different behavior (OBFKComboItem). Together with this, currently in the FormItem class there is a logic on the _shouldSelectOnFocus method which performs the selection just when tabbing through the form, or on programmatic focus, but not on mouse click. This is the main reason why the text is not being selected when clicking on the drop-down in form view for any reference. In order to have a common behavior for all the combos in both grid and form view, we are overriding the showPicker() method of OBComboBoxItem to ensure that we select the text after clicking on the drop-down --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-combo.js --- |
(0081605) alostale (manager) 2015-11-09 09:46 |
code reviewed tested: Value is selected when drop down is opened in with mouse both in grid and form view for table, tableDir and list references. |
Issue History | |||
Date Modified | Username | Field | Change |
2015-10-29 11:10 | alostale | Type | defect => backport |
2015-10-29 11:10 | alostale | Target Version | => 3.0PR15Q3.4 |
2015-11-05 16:45 | hgbot | Checkin | |
2015-11-05 16:45 | hgbot | Note Added: 0081527 | |
2015-11-05 16:45 | hgbot | Status | scheduled => resolved |
2015-11-05 16:45 | hgbot | Resolution | open => fixed |
2015-11-05 16:45 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR15Q3.4/rev/239c6606f9788f6964f19df73377c5545a0de7d8 [^] |
2015-11-05 19:14 | caristu | Review Assigned To | => alostale |
2015-11-05 19:14 | caristu | Issue Monitored: alostale | |
2015-11-06 14:40 | alostale | Assigned To | platform => caristu |
2015-11-09 09:46 | alostale | Note Added: 0081605 | |
2015-11-09 09:46 | alostale | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |