Openbravo Issue Tracking System - POS2
View Issue Details
0053206POS2Corepublic2023-08-11 11:152023-08-24 14:43
njimenez 
Triage Platform Base 
normalmajoralways
newopen 
5
 
 
No
0053206: Portrait mode is not working in login screen
When a component, for example, a base dialog is defined in the login screen window, the portrait css tag is not being created properly.

The reason is that the variable that is taken into account to set the value of this tag is not defined until the main application is loaded.

See:

https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/blame/master/web-jspack/org.openbravo.core2/src/hooks/useIsPortrait/useIsPortrait.js#L17 [^]

appState.UI.windowSize -> Its parameters value is undefined
.
No tags attached.
related to feature request 0053112 closed njimenez Add expiry password form to react POS 
Issue History
2023-08-11 11:15njimenezNew Issue
2023-08-11 11:15njimenezAssigned To => Retail
2023-08-11 11:15njimenezTriggers an Emergency Pack => No
2023-08-11 11:16njimenezAssigned ToRetail => Triage Platform Base
2023-08-11 11:16njimenezCategoryPOS => Core
2023-08-17 11:17njimenezAssigned ToTriage Platform Base => njimenez
2023-08-17 11:18njimenezAssigned Tonjimenez => Triage Platform Base
2023-08-17 11:19njimenezRelationship addedrelated to 0053112
2023-08-17 11:26njimenezNote Added: 0153579
2023-08-24 14:43hgbotNote Added: 0153926

Notes
(0153579)
njimenez   
2023-08-17 11:26   
Once this issue is resolved the related issue 53112 should be update. On this issue a new dialog has been added to the login screen window. In order to achive the required styles a section has been added to define the full screen mode in case the ui turns in portrait sizes.

Once this issue is solve this temporal atributes should be deleted as they will be already defined.

https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1188/diffs#f5360ca3d0957ab1342776a4125207aa64ebbd39_0_99 [^]
(0153926)
hgbot   
2023-08-24 14:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1217 [^]