Openbravo Issue Tracking System - POS2
View Issue Details
0050544POS2POSpublic2022-10-17 09:562022-10-24 23:04
AugustoMauch 
jarmendariz 
normalcriticalhave not tried
closedfixed 
5
 
22Q3.222Q3.2 
No
0050544: Memory leak in the Keymap Editor
There is a memory leak in the keymap editor, specifically in the window that allows to define the layout of a given keymap.

Each time a different vale is chosen from the screen resolution combo, the keymap is recomputed but the previos one does not seem to be removed from memory
- Create a big keymap with lots of products
- Open the chrome Task Manager (shift+esc) to monitor the memory usage
- Open the Keymap Editor, select the big keymap and go to the step that allows to update the layout.
- Modify the selected screen resolution several times and notice how the memory usage keeps increasing
No tags attached.
blocks defect 0050542 closed jarmendariz Memory leak in the Keymap Editor 
Issue History
2022-10-17 09:56AugustoMauchTypedefect => backport
2022-10-17 09:56AugustoMauchTarget Version => 22Q3.2
2022-10-24 17:42hgbotNote Added: 0142496
2022-10-24 23:04hgbotResolutionopen => fixed
2022-10-24 23:04hgbotStatusscheduled => closed
2022-10-24 23:04hgbotFixed in Version => 22Q3.2
2022-10-24 23:04hgbotNote Added: 0142512
2022-10-24 23:04hgbotNote Added: 0142513

Notes
(0142496)
hgbot   
2022-10-24 17:42   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1307 [^]
(0142512)
hgbot   
2022-10-24 23:04   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 770de9ab89c97c54e0b9b6c21f202ccdfe2f507f
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 24-10-2022 21:04:58
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/770de9ab89c97c54e0b9b6c21f202ccdfe2f507f [^]

Fixed ISSUE-50544: Memory leaks in the Keymap Editor

---
M web-jspack/org.openbravo.pos2/src/components/KeyMapEditor/steps/KeyMapEditorLayout/KeyMapCategoriesGrid/KeyMapCategoriesGrid.jsx
M web-jspack/org.openbravo.pos2/src/components/KeyMapEditor/steps/KeyMapEditorLayout/KeyMapProductsGrid/KeyMapProductsGrid.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductCategoryButton/ProductCategoryButton.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductSearch/AvailableProductFilterButtonContent/AvailableProductFilterButtonContent.jsx
---
(0142513)
hgbot   
2022-10-24 23:04   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1307 [^]