Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0046821 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | always | 2021-05-25 10:07 | 2021-06-09 13:17 | |||
Reporter | jcbourgeois | View Status | public | |||||
Assigned To | jarmendariz | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | Gold | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0046821: JIRA 1436 - A right click on a product opens Windows contextual menu | |||||||
Description | When right clicking (=appui long with touchscreen) on a product in the ticket, a windows menu is displayed instead of POS menu (with discounts, quantity, delete…). In case of left or right click, the display of POS menu is required. | |||||||
Steps To Reproduce | 1) Add a product on a ticket 2) Right click on the product : a windows menu is diplayed (instead of POS menu with quantity, discounts...) | |||||||
Proposed Solution | When POS is NOT in development right click will not show OS contextual dialog as it is happening in old version of POS. If secondary action is defined appropiate action will be triggered | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
|||||||||||||||
|
![]() |
|
(0128612) dbaz (viewer) 2021-05-25 12:17 |
Left click = short tap = primary action Right click = long tap = secondary action In this case there is only defined the "primary action", like many applications behave, including our old WebPOS. Other applications do different things with the secondary action. Here for example they allow to drag&drop lines: https://youtu.be/sij1mKGdcrw [^] If for any specific purposes there is a need to have the primary action equals the secondary one, there are two ways of handling it: * As a customization * As a Feature Request to add a new backoffice configuration screen that let's the user to select which is going to be the behavior with the primary action and the secondary one. |
(0129206) hgbot (developer) 2021-06-08 17:22 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/548 [^] |
(0129261) hgbot (developer) 2021-06-09 13:17 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/548 [^] |
(0129262) hgbot (developer) 2021-06-09 13:17 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^] Changeset: a7c5f672f94d4e9d275628178bb876ad8964521b Author: Javier Armendáriz <javier.armendariz@openbravo.com> Date: 2021-06-09T12:46:32+02:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/a7c5f672f94d4e9d275628178bb876ad8964521b [^] Fixed ISSUE-46821: Disabling system context menu on production environment. In applications running in a 'production' environment, we want to prevent showing the system's context menu when right-clicking on the screen and showing only our right click actions. In order to do that, we override the window's oncontextmenu event handler to return false (that is, not showing the context menu) when the NODE_ENV is set to 'production'. Else, in development or testing mode, this menu will be shown as usual. --- M web-jspack/org.openbravo.core2/src/index.jsx --- |
![]() |
|||
Date Modified | Username | Field | Change |
2021-05-25 10:07 | jcbourgeois | New Issue | |
2021-05-25 10:07 | jcbourgeois | Assigned To | => Retail |
2021-05-25 10:07 | jcbourgeois | File Added: 2021-05-25 10_06_54-Openbravo POS2.png | |
2021-05-25 10:07 | jcbourgeois | OBNetwork customer | => Gold |
2021-05-25 10:07 | jcbourgeois | Triggers an Emergency Pack | => No |
2021-05-25 10:07 | jcbourgeois | File Added: 2021-05-25 10_06_46-Openbravo POS2.png | |
2021-05-25 12:17 | dbaz | Note Added: 0128612 | |
2021-05-26 12:12 | guilleaer | Resolution time | => 1623189600 |
2021-05-26 12:12 | guilleaer | Assigned To | Retail => platform |
2021-05-26 12:12 | guilleaer | Proposed Solution updated | |
2021-05-27 13:38 | guilleaer | Status | new => acknowledged |
2021-05-27 13:38 | guilleaer | Resolution time | 1623189600 => 1623362400 |
2021-05-27 13:38 | guilleaer | Status | acknowledged => scheduled |
2021-05-27 13:39 | guilleaer | Status | scheduled => acknowledged |
2021-05-28 11:13 | guilleaer | Proposed Solution updated | |
2021-06-01 13:32 | guilleaer | Relationship added | has duplicate 0046923 |
2021-06-01 14:54 | jmelin | Summary | JIRA 1942 - A right click on a product opens Windows contextual menu => JIRA 1436 - A right click on a product opens Windows contextual menu |
2021-06-03 18:59 | jarmendariz | Assigned To | platform => jarmendariz |
2021-06-04 13:14 | dmiguelez | Status | acknowledged => scheduled |
2021-06-08 17:22 | hgbot | Merge Request Status | => open |
2021-06-08 17:22 | hgbot | Note Added: 0129206 | |
2021-06-09 13:11 | hgbot | Merge Request Status | open => approved |
2021-06-09 13:17 | hgbot | Note Added: 0129261 | |
2021-06-09 13:17 | hgbot | Resolution | open => fixed |
2021-06-09 13:17 | hgbot | Status | scheduled => closed |
2021-06-09 13:17 | hgbot | Note Added: 0129262 |
Copyright © 2000 - 2009 MantisBT Group |