Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042277Retail ModulesWeb POSpublic2019-11-12 16:452019-11-28 12:22
salvador_campanella 
javierRodriguez 
normalmajorhave not tried
closedfixed 
5
 
RR19Q3.2RR19Q3.2 
marvintm
No
0042277: Focuskeeper is lost in IOS 13.2.2
web/org.openbravo.mobile.core/source/component/ob-terminal-component.js

In the mentioned file exist the folowing conditional.
// This shouldn't be done in iOS, if done the focuskeeper loses the focus
if (me.scanMode && navigator.userAgent.match(/iPhone|iPad|iPod/i)) {
OB.debug('scanningfocus. iOS. Focused');
keeper = document.getElementById('_focusKeeper');
keeper.disabled = false;
me.setFocusOnFocusKeeper();
}

In iOS version 13.2.2 the userAgent, not contains "/iPhone|iPad|iPod"

You could see the userAgent in the attached Img
- Using an Ipad with 13.2.2 version
- Open the WebPos
- Connect a Bluetooth keyboard or a bar code scanner
- Try to do a ticket

Result: the focuskeeper is lost
No tags attached.
blocks defect 0042262 closed javierRodriguez Focuskeeper is lost in IOS 13.2.2 
Issue History
2019-11-14 11:48javierRodriguezTypedefect => backport
2019-11-14 11:48javierRodriguezTarget Version => RR19Q3.2
2019-11-14 12:28hgbotCheckin
2019-11-14 12:28hgbotNote Added: 0115602
2019-11-14 12:28hgbotStatusscheduled => resolved
2019-11-14 12:28hgbotResolutionopen => fixed
2019-11-14 12:28hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q3.2/org.openbravo.mobile.core/rev/8b9665a511b5327c4527b02bc0b6c340d8ca66c6 [^]
2019-11-28 12:22marvintmReview Assigned To => marvintm
2019-11-28 12:22marvintmStatusresolved => closed
2019-11-28 12:22marvintmFixed in Version => RR19Q3.2

Notes
(0115602)
hgbot   
2019-11-14 12:28   
Repository: retail/backports/3.0RR19Q3.2/org.openbravo.mobile.core
Changeset: 8b9665a511b5327c4527b02bc0b6c340d8ca66c6
Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com>
Date: Thu Nov 14 12:05:25 2019 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR19Q3.2/org.openbravo.mobile.core/rev/8b9665a511b5327c4527b02bc0b6c340d8ca66c6 [^]

Fixed issue 42277: Focuskeeper is lost in IOS 13.2.2

---
M web/org.openbravo.mobile.core/source/component/ob-commonbuttons.js
M web/org.openbravo.mobile.core/source/component/ob-login.js
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---