Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033906Retail ModulesWeb POSpublic2016-09-06 08:202016-09-06 08:47
guillermogil 
Retail 
normalminorN/A
newopen 
3016.04
 
 
No
0033906: Chrome is deprecating some KeyboardEvents
Chrome is deprecating some KeyboardEvents
On login on WebPOS con Chrome 53 the following message is appearing:
'KeyboardEvent.keyIdentifier' is deprecated and will be removed in M54, around October 2016. See https://www.chromestatus.com/features/5316065118650368 [^] for more details.

We are currently using some of them:

    keeperKey: function(k) {
        OB.debug('keeperKey - keyCode: ' + k.keyCode + " - keyIdentifier: " + k.keyIdentifier + " - charCode: " + k.charCode + " - which: " + k.which);
        OB.MobileApp.view.waterfall('onGlobalKeypress', {
            keyboardEvent: k
        });
    }

    keypressHandler: function(inSender, inEvent) {
        OB.debug('keypressHandler - keyCode: ' + inEvent.keyCode + " - keyIdentifier: " + inEvent.keyIdentifier + " - charCode: " + inEvent.charCode + " - which: " + inEvent.which);
        if (OB.MobileApp.model.get('useBarcode') && this.scanMode) {
            return;
        }
        if (OB.MobileApp.model.get('useBarcode') && OB.MobileApp.keyPressProcessed) {
            delete OB.MobileApp.keyPressProcessed;
        }
        this.waterfall('onGlobalKeypress', {
            keyboardEvent: inEvent
        });
    }
* Login on WebPOS on Chrome 53
* Open the developers tool
The Warning appears
No tags attached.
Issue History
2016-09-06 08:20guillermogilNew Issue
2016-09-06 08:20guillermogilAssigned To => Retail
2016-09-06 08:20guillermogilTriggers an Emergency Pack => No
2016-09-06 08:27guillermogilOS5 => 30
2016-09-06 08:27guillermogilOS Version => 16.04
2016-09-06 08:47guillermogilPriorityurgent => normal
2016-09-06 08:47guillermogilSeveritymajor => minor
2016-09-06 08:47guillermogilDescription Updatedbug_revision_view_page.php?rev_id=13056#r13056

There are no notes attached to this issue.