Openbravo Issue Tracking System - POS2
View Issue Details
0048827POS2Corepublic2022-03-17 15:262022-03-22 10:58
jarmendariz 
jarmendariz 
normalmajoralways
closedfixed 
5
 
 
dbaz
No
0048827: Unnecesary calculations made on BaseButton hover
In a browser with no GPU acceleration (or disabled), we noticed that the CPU usage while hovering buttons is too significant (see attachment). Probably caused by some CSS styles and transformations made during hover event.
- Turn off GPU acceleration in Chrome
- In Devtool's Performance tab, tap record and then move the mouse over the product keypad buttons.
- Notice that as the attached graph, it has a considerable CPU usage for rendering.
No tags attached.
related to defect 0047449 closed prakashmurugesan88 Ripple effect while pressing on buttons, is not the Material Design one 
png Screenshot from 2022-03-17 14-15-56.png (90,894) 2022-03-17 15:28
https://issues.openbravo.com/file_download.php?file_id=16778&type=bug
png
Issue History
2022-03-17 15:26jarmendarizNew Issue
2022-03-17 15:26jarmendarizAssigned To => jarmendariz
2022-03-17 15:26jarmendarizTriggers an Emergency Pack => No
2022-03-17 15:26jarmendarizRelationship addedrelated to 0047449
2022-03-17 15:26jarmendarizStatusnew => scheduled
2022-03-17 15:28jarmendarizFile Added: Screenshot from 2022-03-17 14-15-56.png
2022-03-17 15:29hgbotNote Added: 0135809
2022-03-18 13:43hgbotResolutionopen => fixed
2022-03-18 13:43hgbotStatusscheduled => resolved
2022-03-18 13:43hgbotNote Added: 0135854
2022-03-18 13:43hgbotNote Added: 0135855
2022-03-22 10:58AugustoMauchReview Assigned To => dbaz
2022-03-22 10:58AugustoMauchStatusresolved => closed

Notes
(0135809)
hgbot   
2022-03-17 15:29   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/722 [^]
(0135854)
hgbot   
2022-03-18 13:43   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 3e1e1e95d6005869d9034bc102672e343c388013
Author: Javier Armendáriz <javier.armendariz@openbravo.com>
Date: 18-03-2022 12:43:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/3e1e1e95d6005869d9034bc102672e343c388013 [^]

Fixed ISSUE-48827: Removed unneeded calculations on BaseButton hover event

---
M web-jspack/org.openbravo.core2/src/components/BaseButton/BaseButton.scss
---
(0135855)
hgbot   
2022-03-18 13:43   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/722 [^]