Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018117
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfacemajoralways2011-07-28 17:292011-08-08 00:52
ReporteradrianromeroView Statuspublic 
Assigned Tomtaal 
PriorityimmediateResolutionfixedFixed in Version3.0MP2
StatusclosedFix in branchFixed in SCM revisionaac26ae2e074
ProjectionnoneETAnoneTarget Version3.0MP2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018117: Typing a new value in an empty field the first character is deleted and needs to be retyped

DescriptionCreate a new record in any window. Put the focus in an emtpy and mandatory field like "Name" and start typing.

You can see that the first character is lost. This is because after typing the first character, the content of the field is selected, then when typing the second character the first character typed disapear. This behavior cannot be reproduced in non mandatory fields.

I am using Chromium 12.0.742.112 (90304) Ubuntu 10.10
Steps To ReproduceThis is one of the cases found

* Change the role to System Administrator - System.
* Go to the window "Reference"
* Press "Create a new record in a form"
* You will see that the focus will start in the empty field Name
* Click in the module combo box
* Press tab to go to the next field, which is the name field
* Start typing for example: 12345... You will notice that in the text field appears 2345... because the first character "1" has been selected after it has been typed and when "2" is typed the character "1" is removed.

This has been tested in Chromium 12.0.742.112 (90304) Ubuntu 10.10 . It also can be reproduced in Firefoc 3.6.18 (Not supported, I know)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00180723.0MP4 closedmtaal Focus handling in form and grid editing needs to be cleaned up, results in unpredictable behavior 
related to defect 00180863.0MP4 closedmtaal When pressing tab in suggestion box, field displayed through displaylogic is skipped 

-  Notes
(0039561)
psarobe (manager)
2011-08-01 11:45
edited on: 2011-08-01 11:47

I cannot reproduce in FF5.0 and Chrome 12.0.742.122 windows 7. Can you please update the steps to reproduce? that could help. I tested in product window

(0039567)
adrianromero (manager)
2011-08-01 12:30

Steps to reproduce updated.
(0039855)
hgbot (developer)
2011-08-04 08:52

Repository: erp/devel/pi
Changeset: aac26ae2e074080b38080220517b4e9637194a35
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Aug 04 08:51:06 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/aac26ae2e074080b38080220517b4e9637194a35 [^]

Fixes issue 18117: Typing a new value in an empty field the first character is deleted and needs to be retyped
Disabled usage of selectOnFocus as it has too many side effects and means that the whole value gets selected
also when redrawing the form or when clicking with the mouse in a field.
It means however that selection of values on user actions needs to be specifically coded, this is now done:
- when opening a form
- when selecting a value in a combo the next fields value needs to be selected

IE needed some specific attention as is visible in the issue.

Note that these changes ment that I had to re-open the 18086 issue, which still occurs for selector items.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-date.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
M modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
---
(0039959)
hudsonbot (developer)
2011-08-06 05:33

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/5744448753e7 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-07-28 17:29 adrianromero New Issue
2011-07-28 17:29 adrianromero Assigned To => iperdomo
2011-07-28 17:29 adrianromero Web browser => Google Chrome
2011-07-28 17:29 adrianromero Modules => Core
2011-08-01 11:45 psarobe Note Added: 0039561
2011-08-01 11:45 psarobe Status new => feedback
2011-08-01 11:47 psarobe Note Edited: 0039561 View Revisions
2011-08-01 12:30 adrianromero Web browser Google Chrome => Google Chrome
2011-08-01 12:30 adrianromero Status feedback => new
2011-08-01 12:30 adrianromero Steps to Reproduce Updated View Revisions
2011-08-01 12:30 adrianromero Note Added: 0039567
2011-08-01 17:55 mtaal Relationship added related to 0018072
2011-08-03 10:22 adrianromero Web browser Google Chrome => Google Chrome
2011-08-03 10:22 adrianromero Steps to Reproduce Updated View Revisions
2011-08-03 10:24 adrianromero Web browser Google Chrome => Google Chrome
2011-08-03 10:24 adrianromero Steps to Reproduce Updated View Revisions
2011-08-03 10:29 psarobe Web browser Google Chrome => Google Chrome
2011-08-03 10:29 psarobe Steps to Reproduce Updated View Revisions
2011-08-03 10:40 psarobe Web browser Google Chrome => Google Chrome
2011-08-03 10:40 psarobe Assigned To iperdomo => mtaal
2011-08-03 10:40 psarobe Priority normal => urgent
2011-08-03 10:40 psarobe Severity minor => major
2011-08-03 10:40 psarobe Status new => scheduled
2011-08-03 10:40 psarobe Target Version 3.0MP3 => 3.0MP2
2011-08-03 11:14 psarobe Web browser Google Chrome => Google Chrome
2011-08-03 11:14 psarobe Priority urgent => immediate
2011-08-04 08:42 mtaal Relationship added related to 0018086
2011-08-04 08:52 hgbot Checkin
2011-08-04 08:52 hgbot Note Added: 0039855
2011-08-04 08:52 hgbot Status scheduled => resolved
2011-08-04 08:52 hgbot Resolution open => fixed
2011-08-04 08:52 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/aac26ae2e074080b38080220517b4e9637194a35 [^]
2011-08-06 05:33 hudsonbot Checkin
2011-08-06 05:33 hudsonbot Note Added: 0039959
2011-08-08 00:52 dbaz Status resolved => closed
2011-08-08 00:52 dbaz Fixed in Version => 3.0MP2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker