Openbravo Issue Tracking System - POS2
View Issue Details
0054620POS2POSpublic2024-02-08 11:312024-03-13 16:38
jfvaringot 
meriem_azaf 
normalmajoralways
closedfixed 
5
main 
24Q2 
No
0054620: POS2 - Windows virtual keyboard and OB amount keyboard on Gift Card products
On workstation without physical keyboard, using the standard virtual windows keyboard.

When adding a gift card without initial amount on POS2, you have to enter an amount.
A specific keyboard pops up, allowing to enter the amount.
After having set that amount, the focus is still on the field, and the virtual windows keyboard opens.
1. Use a workstation without physical keyboard => the screen should be tactile. You can use the tablet mode.

2. On BO, set up a product Gift Card, without initial amount.

3. On POS, add that product in cart. A specific view will open to set up the data of the gift card.

4. Click on the amount field => a specific numeric pad will open.

5. After having set the amount, click elsewhere to close that pad.

=> The focus is still on the amount field. The virtual windows keyboard should open.
2 solutions are available :
1. To keep the current numeric pad, but after having entered the amount, to not have the focus on the numeric field (the virtual windows keyboard should not open).

2. To remove the OB numeric pad, and make appear the virtual windows keyboard. This last should be opened on the numeric version of the keyboard.
No tags attached.
related to defect 0054928 new Triage Platform Base Virtual keyboard is not hidden on Cashup inputs on iOS 
? Virtual keyboard_gift card value issue.mp4 (822,147) 2024-02-08 11:31
https://issues.openbravo.com/file_download.php?file_id=19447&type=bug
Issue History
2024-02-08 11:31jfvaringotNew Issue
2024-02-08 11:31jfvaringotAssigned To => Retail
2024-02-08 11:31jfvaringotFile Added: Virtual keyboard_gift card value issue.mp4
2024-02-08 11:31jfvaringotTriggers an Emergency Pack => No
2024-02-16 14:24jfvaringotNote Added: 0160859
2024-02-26 07:06guillermogilAssigned ToRetail => Triage Platform Base
2024-02-26 15:51AugustoMauchNote Added: 0161267
2024-03-04 09:44AugustoMauchAssigned ToTriage Platform Base => meriem_azaf
2024-03-05 11:18AugustoMauchStatusnew => scheduled
2024-03-07 15:44hgbotNote Added: 0161847
2024-03-13 07:53jarmendarizRelationship addedrelated to 0054928
2024-03-13 15:45hgbotNote Added: 0162102
2024-03-13 16:38hgbotResolutionopen => fixed
2024-03-13 16:38hgbotStatusscheduled => closed
2024-03-13 16:38hgbotFixed in Version => 24Q2
2024-03-13 16:38hgbotNote Added: 0162105
2024-03-13 16:38hgbotNote Added: 0162106
2024-03-13 16:38hgbotNote Added: 0162107
2024-03-13 16:38hgbotNote Added: 0162108

Notes
(0160859)
jfvaringot   
2024-02-16 14:24   
ADDITIONAL INFORMATION : TO TAKE INTO ACCOUNT FOR THE RESOLUTION

The issue happens also in other windows.
As soon as the numeric pad is used to filled a field, the virtual keyboard is displayed after having entered the digits.
It happens during initial counts (POS and Safe Box), cash-up and Safe-box counting.
(0161267)
AugustoMauch   
2024-02-26 15:51   
See: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/blob/master/web-jspack/org.openbravo.core2/src/hooks/useEditNumber/useEditNumber.js?ref_type=heads#L339 [^]

This change should be done in all inputs that use a custom keyboard
(0161847)
hgbot   
2024-03-07 15:44   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1409 [^]
(0162102)
hgbot   
2024-03-13 15:45   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2496 [^]
(0162105)
hgbot   
2024-03-13 16:38   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: ed3c0447804c526bee2787668192a79ba02415e7
Author: Meriem Azaf <m.azaf@orisha.com>
Date: 13-03-2024 16:07:46
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/ed3c0447804c526bee2787668192a79ba02415e7 [^]

Fixes ISSUE-54620: The VirtualNumericInput does not work as expected

On workstation without physical keyboard, using the standard virtual windows keyboard.
When adding a gift card without initial amount on POS2, you have to enter an amount.
A specific keyboard pops up, allowing to enter the amount.
After having set that amount, the focus is still on the field, and the virtual windows keyboard opens.

To fix this, we had avoid the OS keyboard to not appear by making the input read only.

---
M web-jspack/org.openbravo.core2/src/components/VirtualNumericInput/VirtualNumericInput.jsx
---
(0162106)
hgbot   
2024-03-13 16:38   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1409 [^]
(0162107)
hgbot   
2024-03-13 16:38   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: d169adae7ecf97c4d7ac157a7624a2ffe07be0d4
Author: Javier Armendáriz <j.armendariz@orisha.com>
Date: 13-03-2024 16:08:33
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/d169adae7ecf97c4d7ac157a7624a2ffe07be0d4 [^]

Related to ISSUE-54620: Forcing CashupSplitInputs to never show the virtual keyboard on mobile devices

---
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSplitInputs/CashupSplitInputs.jsx
---
(0162108)
hgbot   
2024-03-13 16:38   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2496 [^]