Openbravo Issue Tracking System - Modules
View Issue Details
0057587ModulesAdvanced Warehouse Operationspublic2025-01-08 11:332025-01-23 16:43
vmromanos 
agusti_gallego 
immediatecriticalalways
newopen 
5
 
 
2af1a478c0329cd4d629f528a687c1bdc7a78bdb
Production - Confirmed Stable
jarmendariz
0057587: Menu is not shown
In old AWO frontend, the menu is not shown, therefore the app is totally unusable.

After further testing it seems to be related to the resolution of the window.
In Live builds https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/web/org.openbravo.warehouse.advancedwarehouseoperations/#login [^] login with AWO_US_E / Openbravo.

Click on the menu button. The menu is not shown. It seems the menu is shown "upwards" and thus hidden by the browser window. See screenshot.

Using Google Chrome Version 131.0.6778.108 (Build oficial) (64 bits)


The problem seems to be related to the resolution. If you are unable to reproduce it, try to open developer tools, then press Ctrl + Shift + M. In the Dimensions select Surface Pro 7. Then click on the menu and it should be reproducible (it was for 3 different developers)
No tags attached.
png clicked.png (11,846) 2025-01-08 11:33
https://issues.openbravo.com/file_download.php?file_id=20718&type=bug
png
Issue History
2025-01-08 11:33vmromanosNew Issue
2025-01-08 11:33vmromanosAssigned To => Triage Omni WMS
2025-01-08 11:33vmromanosFile Added: clicked.png
2025-01-08 11:37vmromanosSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29015#r29015
2025-01-08 12:03vmromanosDescription Updatedbug_revision_view_page.php?rev_id=29017#r29017
2025-01-08 12:03vmromanosSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29018#r29018
2025-01-08 16:50mtaalNote Added: 0173920
2025-01-08 22:37mtaalAssigned ToTriage Omni WMS => agusti_gallego
2025-01-08 22:37mtaalNote Added: 0173922
2025-01-09 12:34agusti_gallegoNote Added: 0173944
2025-01-09 15:33mtaalNote Added: 0173950
2025-01-13 13:20hgbotNote Added: 0174071
2025-01-23 09:41agusti_gallegoRegression introduced by commit => 2af1a478c0329cd4d629f528a687c1bdc7a78bdb
2025-01-23 09:45agusti_gallegoRegression level => Production - Confirmed Stable
2025-01-23 09:45agusti_gallegoReview Assigned To => jarmendariz
2025-01-23 16:43hgbotNote Added: 0174609
2025-01-23 16:43hgbotNote Added: 0174610

Notes
(0173920)
mtaal   
2025-01-08 16:50   
After testing latest can only be reproduced for surface-pro
(0173922)
mtaal   
2025-01-08 22:37   
Can not be reproduced for 24Q2.
(0173944)
agusti_gallego   
2025-01-09 12:34   
The issue is reproducible in 24Q2. It can be reproduced when the menu has enough options to show an scrollbar.
(0173950)
mtaal   
2025-01-09 15:33   
The issue can be reproduced in 23Q1 as well.
(0174071)
hgbot   
2025-01-13 13:20   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/797 [^]
(0174609)
hgbot   
2025-01-23 16:43   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 75c73c86033de32ecd658cd15b2b877f9dbbcd7f
Author: Agustí Gállego <agusti.gallego@openbravo.com>
Date: 20-01-2025 18:19:03
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/75c73c86033de32ecd658cd15b2b877f9dbbcd7f [^]

Related to ISSUE-57587: Fixed menu appearing outside of the viewport

In some resolutions/aspect ratios, the menu display logic placed the dropdown outside the viewport.

Cause:
- Zoom level was taken into account to define whether to show the menu up. Zoom level was used to scale window dimensions, but not the menu dimensions and positioning, which led to issues when the zoom level was relatively big.

Proposed solution:
- Removed the zoom level altogether from the calculations, since it will scale everything equally. Instead, zoom level it is now used in the initial positioning of the menu so that it appears correctly and not with a gap between the menu and the activator.

---
M web/org.openbravo.mobile.core/build/lib.js
M web/org.openbravo.mobile.core/lib/onyx/source/Menu.js
---
(0174610)
hgbot   
2025-01-23 16:43   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/797 [^]