Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042276Retail ModulesWeb POSpublic2019-11-12 16:452019-11-28 12:22
salvador_campanella 
javierRodriguez 
normalmajorhave not tried
closedfixed 
5
 
RR19Q4RR19Q4 
marvintm
No
0042276: 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 10:39javierRodriguezTypedefect => backport
2019-11-14 10:39javierRodriguezTarget Version => RR19Q4
2019-11-14 10:43javierRodriguezStatusscheduled => acknowledged
2019-11-14 10:45javierRodriguezAssigned ToRetail => javierRodriguez
2019-11-14 11:48javierRodriguezStatusacknowledged => scheduled
2019-11-14 12:28hgbotCheckin
2019-11-14 12:28hgbotNote Added: 0115603
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.0RR19Q4/org.openbravo.mobile.core/rev/993af6edc5239b38a7e5e681972cc8b245407922 [^]
2019-11-28 12:22marvintmReview Assigned To => marvintm
2019-11-28 12:22marvintmStatusresolved => closed
2019-11-28 12:22marvintmFixed in Version => RR19Q4

Notes
(0115603)
hgbot   
2019-11-14 12:28   
Repository: retail/backports/3.0RR19Q4/org.openbravo.mobile.core
Changeset: 993af6edc5239b38a7e5e681972cc8b245407922
Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com>
Date: Thu Nov 14 11:58:21 2019 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR19Q4/org.openbravo.mobile.core/rev/993af6edc5239b38a7e5e681972cc8b245407922 [^]

Fixed issue 42276: 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
---