Openbravo Issue Tracking System - POS2
View Issue Details
0050543POS2POSpublic2022-10-17 09:562022-10-24 23:04
AugustoMauch 
jarmendariz 
normalcriticalhave not tried
closedfixed 
5
 
22Q4.122Q4 
No
0050543: 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 => 22Q4.1
2022-10-24 17:45hgbotNote Added: 0142497
2022-10-24 23:04hgbotResolutionopen => fixed
2022-10-24 23:04hgbotStatusscheduled => closed
2022-10-24 23:04hgbotNote Added: 0142510
2022-10-24 23:04hgbotFixed in Version => 22Q4
2022-10-24 23:04hgbotNote Added: 0142511

Notes
(0142497)
hgbot   
2022-10-24 17:45   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1308 [^]
(0142510)
hgbot   
2022-10-24 23:04   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1308 [^]
(0142511)
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: 0ff59662ad7c46282336501d6eabaa68da5a447e
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 24-10-2022 21:04:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/0ff59662ad7c46282336501d6eabaa68da5a447e [^]

Fixed ISSUE-50543: 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
---