Openbravo Issue Tracking System - POS2
View Issue Details
0051860POS2POSpublic2023-03-15 11:362023-03-27 13:16
ablasco 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
 
23Q2 
No
0051860: Fail Switch to MainWindow from header AppBar to other windows in Portrait Mode
In portrait Mode some windows and flows are opened from Appbar icons to change to another screen window.

In Landscape Mode, there are some windows disabled for now, but in the future different windows should be accesible from the Appbar.

An error is launched if Appbar header icons are clicked on a different window, except MainWindow.
- In Landscape Mode, select another window, (e.g Sells, Follow Up Files, KeymapEditor) - Not MainWindow
- Change to Portrait Mode
- Click on header Buttons in order to change Window to Main

An error is launched in console, because there is no user action attached to it.
No tags attached.
gif MainWindowSwitchFromOthreWindows.gif (1,442,004) 2023-03-15 11:36
https://issues.openbravo.com/file_download.php?file_id=18264&type=bug
Issue History
2023-03-15 11:36ablascoNew Issue
2023-03-15 11:36ablascoAssigned To => Triage Platform Base
2023-03-15 11:36ablascoFile Added: MainWindowSwitchFromOthreWindows.gif
2023-03-15 11:36ablascoTriggers an Emergency Pack => No
2023-03-26 20:52hgbotNote Added: 0147971
2023-03-26 23:55AugustoMauchAssigned ToTriage Platform Base => AugustoMauch
2023-03-26 23:55AugustoMauchStatusnew => scheduled
2023-03-27 13:16hgbotNote Added: 0147983
2023-03-27 13:16hgbotResolutionopen => fixed
2023-03-27 13:16hgbotStatusscheduled => closed
2023-03-27 13:16hgbotFixed in Version => 23Q2
2023-03-27 13:16hgbotNote Added: 0147984

Notes
(0147971)
hgbot   
2023-03-26 20:52   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1028 [^]
(0147983)
hgbot   
2023-03-27 13:16   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1028 [^]
(0147984)
hgbot   
2023-03-27 13:16   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 176ded5b0ccad7dffb2cbda06f2f7f8b0d3b2728
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 26-03-2023 20:46:52
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/176ded5b0ccad7dffb2cbda06f2f7f8b0d3b2728 [^]

Fixes ISSUE-51860: Navigation buttons work when clicked in any window

The problem was that when navigating to a specific flow, the ${window}_SwitchTo_${flow} action was used, but that action can only
be used when moving to a different flow of the current window. Now the action used is always SwitchCurrentWindow_${window}, passing
the requested flow as a parameter if provided

---
M web-jspack/org.openbravo.core2/src/components/BaseNavigationButton/BaseNavigationButton.jsx
---