Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037375Retail ModulesWeb POSpublic2017-11-23 13:342017-12-04 16:43
aaroncalero 
jorge-garcia 
highmajoralways
closedfixed 
5
 
RR18Q1 
migueldejuana
No
0037375: The WebPOS menu can be disabled after a prolonged use of the application
The WebPOS menu can be disabled after a prolonged use of the application.
The menu works as follows: when the menu is opened, a transparent scrim is opened just below the menu, covering all the pos, to be able to close the menu by "clicking outside".
Every time a popup is opened, a similar scrim is used.
The depth of this scrim is controlled using a z-index which increases for every popup/menu opened.
The menu, however, has a fixed z-index of 1000 (defined by the onyx-menu css class).

If, after a prolonged use, the z-index of the transparent scrim goes above 1000, the menu becomes unusable and a refresh is needed
Login in web pos.
Open popups/the menu until the z-index of the transparent scrim goes above 1000.
The menu entries will not be clickable, since the scrim will cover the entire screen.
No tags attached.
Issue History
2017-11-23 13:34aaroncaleroNew Issue
2017-11-23 13:34aaroncaleroAssigned To => Retail
2017-11-23 13:34aaroncaleroResolution time => 1512601200
2017-11-23 13:34aaroncaleroTriggers an Emergency Pack => No
2017-11-23 14:51aaroncaleroDescription Updatedbug_revision_view_page.php?rev_id=16359#r16359
2017-11-24 11:19jorge-garciaStatusnew => scheduled
2017-11-24 11:19jorge-garciaAssigned ToRetail => jorge-garcia
2017-11-27 09:20hgbotCheckin
2017-11-27 09:20hgbotNote Added: 0100720
2017-11-27 09:20hgbotStatusscheduled => resolved
2017-11-27 09:20hgbotResolutionopen => fixed
2017-11-27 09:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/10fb845a76e99e213e0974192a29b248032df861 [^]
2017-11-28 18:23marvintmNote Added: 0100797
2017-11-28 18:23marvintmStatusresolved => new
2017-11-28 18:23marvintmResolutionfixed => open
2017-11-30 15:54hgbotCheckin
2017-11-30 15:54hgbotNote Added: 0100840
2017-11-30 15:54hgbotStatusnew => resolved
2017-11-30 15:54hgbotResolutionopen => fixed
2017-11-30 15:54hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/10fb845a76e99e213e0974192a29b248032df861 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8f80e06f6bf1935950c19a7344dc1e30848111dc [^]
2017-11-30 17:22jorge-garciaNote Added: 0100841
2017-11-30 17:22jorge-garciaStatusresolved => new
2017-11-30 17:22jorge-garciaResolutionfixed => open
2017-11-30 17:25jorge-garciaStatusnew => scheduled
2017-12-01 12:08hgbotCheckin
2017-12-01 12:08hgbotNote Added: 0100890
2017-12-01 12:08hgbotStatusscheduled => resolved
2017-12-01 12:08hgbotResolutionopen => fixed
2017-12-01 12:08hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8f80e06f6bf1935950c19a7344dc1e30848111dc [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2766362bbccabcb4b82edb78f9a474474b07bb9f [^]
2017-12-04 16:43migueldejuanaReview Assigned To => migueldejuana
2017-12-04 16:43migueldejuanaNote Added: 0100923
2017-12-04 16:43migueldejuanaStatusresolved => closed
2017-12-04 16:43migueldejuanaFixed in Version => RR18Q1

Notes
(0100720)
hgbot   
2017-11-27 09:20   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 10fb845a76e99e213e0974192a29b248032df861
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Nov 24 14:35:59 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/10fb845a76e99e213e0974192a29b248032df861 [^]

Fixed issue 37375: The WebPOS menu can be disabled after a prolonged use
of the application

The proposed solution here is to increment the harcoded value of z-index for
dropdown menu to the maximun allowed by ww3 2147483647

---
M web/org.openbravo.mobile.core/assets/css/ob-standard.css
---
(0100797)
marvintm   
2017-11-28 18:23   
Now the z-index is greater than the one in the loading screen, which means that if the menu is opened and showLoading happens, the menu is still visible.
(0100840)
hgbot   
2017-11-30 15:54   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 8f80e06f6bf1935950c19a7344dc1e30848111dc
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Nov 30 12:03:57 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8f80e06f6bf1935950c19a7344dc1e30848111dc [^]

Fixed issue 37375: The WebPOS menu can be disabled after a prolonged use
of the application

It's necessary to hide the menu during showLoading window.

To do so, the menu is considered as a popup in order to hide or show it.

---
M web/org.openbravo.mobile.core/source/component/ob-menu.js
---
(0100841)
jorge-garcia   
2017-11-30 17:22   
It could be better to use another variable for the menu instead of add it to active popup array
(0100890)
hgbot   
2017-12-01 12:08   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 2766362bbccabcb4b82edb78f9a474474b07bb9f
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Nov 30 17:23:04 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2766362bbccabcb4b82edb78f9a474474b07bb9f [^]

Fixed issue 37375: The WebPOS menu can be disabled after a prolonged use
of the application

Use another array variable to control the state of the menu.

---
M web/org.openbravo.mobile.core/source/component/ob-menu.js
M web/org.openbravo.mobile.core/source/utils/ob-utilitiesui.js
---
(0100923)
migueldejuana   
2017-12-04 16:43   
Tested and reviewed