Openbravo Issue Tracking System - POS2
View Issue Details
0045486POS2Restaurantspublic2020-11-23 17:282021-03-04 19:06
timothee_catteeuw 
agonzalez 
normalmajoralways
closedfixed 
5
 
 
guilleaer
No
0045486: 13/11 delivery - Scroll doesn't work on articles list
To scroll the article list at the left it is always necessary to scroll with scroll. It is not possible to swap from the top to the bottom. That's yet what was forecarted in addition to the scroll bar. Moreover scroll is not enough for a friendly tactile use.

Below a video which contains the tests, see only 13 first seconds :

https://drive.google.com/file/d/1QYnflVS5rd-5lLSDJM4O4Ca5mivfSQ4O/view?ts=5fbbda71 [^]
Try to scroll the articles list at the left without scroll bar

You can simulate it doing drag and drop in an scroll area with the mouse. As you can see it does not scroll however in old web POS (live builds) you can add several lines to the ticket (until scroll appears) and make scroll by using de mouse drag and drop.
It seems that this problem is related with windows 7 and the terminal used by the customer

check this fix done in web POS
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/ffc9fefdf34f/web/org.openbravo.mobile.core/source/component/ob-scrollabletable.js#l29 [^]

Probably we can use this fix as a base. It will require adaptations to avoid enyo.
No tags attached.
diff dragScroll_core2.diff (16,740) 2021-02-04 16:18
https://issues.openbravo.com/file_download.php?file_id=15300&type=bug
diff dragScroll_pos2.diff (629) 2021-02-04 16:18
https://issues.openbravo.com/file_download.php?file_id=15301&type=bug
Issue History
2020-11-23 17:28timothee_catteeuwNew Issue
2020-11-23 17:28timothee_catteeuwAssigned To => Retail
2020-11-23 17:28timothee_catteeuwTriggers an Emergency Pack => No
2020-11-25 12:29guilleaerProposed Solution updated
2021-02-04 11:56guilleaerStatusnew => scheduled
2021-02-04 11:56guilleaerAssigned ToRetail => jorge-garcia
2021-02-04 16:18jorge-garciaFile Added: dragScroll_core2.diff
2021-02-04 16:18jorge-garciaFile Added: dragScroll_pos2.diff
2021-02-04 16:20jorge-garciaNote Added: 0125981
2021-02-17 09:08guilleaerStatusscheduled => resolved
2021-02-17 09:08guilleaerResolutionopen => fixed
2021-02-17 09:08guilleaerAssigned Tojorge-garcia => Retail
2021-02-17 09:08guilleaerNote Added: 0126131
2021-02-17 09:08guilleaerStatusresolved => new
2021-02-17 09:08guilleaerResolutionfixed => open
2021-02-26 15:03guilleaerSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=22153#r22153
2021-03-03 10:50guilleaerAssigned ToRetail => agonzalez
2021-03-03 10:50guilleaerStatusnew => scheduled
2021-03-04 19:06guilleaerNote Added: 0126506
2021-03-04 19:06guilleaerStatusscheduled => resolved
2021-03-04 19:06guilleaerResolutionopen => fixed
2021-03-04 19:06guilleaerReview Assigned To => guilleaer
2021-03-04 19:06guilleaerStatusresolved => closed

Notes
(0125981)
jorge-garcia   
2021-02-04 16:20   
ScrollDrag and OtherDrag are components that creates the scrollabletable and in theory manages the scroll dragging the item of the list (none are working)

OtherDrag component is a more complex than ScrollDrag component
(0126131)
guilleaer   
2021-02-17 09:08   
We haven't found a solution
(0126506)
guilleaer   
2021-03-04 19:06   
"https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/274 [^]
https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/350" [^]