Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046821
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2021-05-25 10:072021-06-09 13:17
ReporterjcbourgeoisView Statuspublic 
Assigned Tojarmendariz 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046821: JIRA 1436 - A right click on a product opens Windows contextual menu

DescriptionWhen 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 Reproduce1) 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 SolutionWhen 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
TagsNo tags attached.
Attached Filespng file icon 2021-05-25 10_06_54-Openbravo POS2.png [^] (20,994 bytes) 2021-05-25 10:07


png file icon 2021-05-25 10_06_46-Openbravo POS2.png [^] (27,444 bytes) 2021-05-25 10:07

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0046869TAP closedjarmendariz JIRA 1436 - A right click on a product opens Windows contextual menu 
has duplicate defect 0046923 closedRetail JIRA 1436 - Chrome contextual menu available on right-click/long press 

-  Notes
(0128612)
dbaz (developer)
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
---

- Issue History
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 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 Note Added: 0129206
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
Powered by Mantis Bugtracker