Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0031274 | Openbravo ERP | A. Platform | public | 2015-10-27 16:45 | 2015-11-23 21:17 |
|
Reporter | mfuertes | |
Assigned To | caristu | |
Priority | immediate | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 3.0PR15Q1.4 | |
Target Version | | Fixed in Version | 3.0PR16Q1 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
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 | 0031274: 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. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0030507 | | closed | inigosanchez | When clicking on a field on edit mode on the grid the value is not selected | related to | defect | 0018739 | 3.0MP4 | closed | mtaal | Business Partner selector overwrites first typed letter | depends on | backport | 0031292 | 3.0PR15Q4 | closed | caristu | current combo value is not selected when opening drop down list with mouse in form view | depends on | backport | 0031293 | 3.0PR15Q3.4 | closed | caristu | current combo value is not selected when opening drop down list with mouse in form view | caused by | feature request | 0026267 | 3.0PR14Q3 | closed | shankarb | Re-implement combos (table and tableDir) to use datasources | related to | defect | 0031377 | 3.0PR16Q1 | closed | caristu | Current combo value is not selected when opening drop down list with the keyboard | related to | defect | 0031391 | | closed | caristu | Current combo value is not selected when opening drop down list with mouse in Edge |
|
Attached Files | 15q1.avi (1,070,592) 2015-10-27 16:45 https://issues.openbravo.com/file_download.php?file_id=8655&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2015-10-27 16:45 | mfuertes | New Issue | |
2015-10-27 16:45 | mfuertes | Assigned To | => platform |
2015-10-27 16:45 | mfuertes | File Added: 15q1.avi | |
2015-10-27 16:45 | mfuertes | Modules | => Core |
2015-10-27 16:45 | mfuertes | Resolution time | => 1450134000 |
2015-10-27 16:45 | mfuertes | Triggers an Emergency Pack | => No |
2015-10-27 17:40 | alostale | Note Added: 0081358 | |
2015-10-27 17:40 | alostale | Assigned To | platform => mfuertes |
2015-10-27 17:40 | alostale | Status | new => feedback |
2015-10-28 14:10 | mfuertes | Assigned To | mfuertes => platform |
2015-10-28 14:10 | mfuertes | Status | feedback => new |
2015-10-28 14:10 | mfuertes | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=9952#r9952 |
2015-10-29 10:20 | alostale | Relationship added | related to 0030507 |
2015-10-29 10:35 | alostale | Regression level | => Production - Confirmed Stable |
2015-10-29 10:35 | alostale | Regression date | => 2014-05-26 |
2015-10-29 10:35 | alostale | Regression introduced in release | => 3.0PR14Q3 |
2015-10-29 10:35 | alostale | Regression introduced by commit | => http://code.openbravo.com/erp/devel/pi/rev/402d7bca3f774737bf194cb7cbe41d2454a69326 [^] |
2015-10-29 10:36 | alostale | Relationship added | caused by 0026267 |
2015-10-29 10:58 | alostale | Summary | Field is not automatically selected (to delete) in selector-fields => current combo value is not selected when opening drop down list with mouse in form view |
2015-10-29 10:58 | alostale | Description Updated | bug_revision_view_page.php?rev_id=9955#r9955 |
2015-10-29 10:58 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=9956#r9956 |
2015-10-29 11:03 | alostale | Description Updated | bug_revision_view_page.php?rev_id=9957#r9957 |
2015-10-29 11:04 | alostale | Description Updated | bug_revision_view_page.php?rev_id=9958#r9958 |
2015-10-29 11:09 | alostale | Note Added: 0081387 | |
2015-10-29 11:10 | alostale | Status | new => acknowledged |
2015-10-29 11:10 | alostale | Status | acknowledged => scheduled |
2015-11-04 09:05 | alostale | Note Added: 0081462 | |
2015-11-04 09:40 | alostale | Assigned To | platform => caristu |
2015-11-04 13:38 | caristu | Relationship added | related to 0018739 |
2015-11-05 16:30 | hgbot | Checkin | |
2015-11-05 16:30 | hgbot | Note Added: 0081524 | |
2015-11-05 16:30 | hgbot | Status | scheduled => resolved |
2015-11-05 16:30 | hgbot | Resolution | open => fixed |
2015-11-05 16:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e8d3e7c131e94820cc47d7ad9a4601ecd87511a4 [^] |
2015-11-05 16:51 | caristu | Relationship added | related to 0031377 |
2015-11-05 17:30 | caristu | Note Added: 0081530 | |
2015-11-05 19:13 | caristu | Review Assigned To | => alostale |
2015-11-05 19:13 | caristu | Issue Monitored: alostale | |
2015-11-06 11:22 | caristu | Relationship added | related to 0031391 |
2015-11-09 09:47 | alostale | Note Added: 0081606 | |
2015-11-09 09:47 | alostale | Status | resolved => closed |
2015-11-09 09:47 | alostale | Fixed in Version | => 3.0PR16Q1 |
2015-11-23 21:17 | hudsonbot | Checkin | |
2015-11-23 21:17 | hudsonbot | Note Added: 0082181 | |
Notes |
|
|
Please report the issue properly.
Summary nor description are detailed enough to understand the issue (not even with the attached video). Include also steps to reproduce. |
|
|
|
|
|
|
After discussing it with UX expert: text should be selected in all cases (grid and form, opening drop down with keyboard and mouse). |
|
|
(0081524)
|
hgbot
|
2015-11-05 16:30
|
|
Repository: erp/devel/pi
Changeset: e8d3e7c131e94820cc47d7ad9a4601ecd87511a4
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Nov 05 16:19:46 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e8d3e7c131e94820cc47d7ad9a4601ecd87511a4 [^]
fixes issue 31274: 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
---
|
|
|
|
|
|
|
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. |
|
|
|
|