Enable Copy-Paste on fields

Environment

None

Activity

Show:
Diego Ruiz
June 16, 2020, 1:44 PM

Hi guys,

My2cents here, I think the context menu on the Label is counterintuitive, usually, labels represent non-interactable components and personally, I would never try to right-click a label to get functionality options (I know this can be solved by reading the documentation), just a thought.

Perhaps adding a small icon next to the fields with a context menu (something similar to the image below) would be more user-friendly and a better approach.

Best regards,

Diego Ruiz

Nicolas Micoud
June 17, 2020, 5:16 AM

Hello,

I've made some tests and technically the patch seems ok.
But, as Diego says, is not intuitive, and all users know that the right click / popup is useful.
So I fear this new option will never be used.

2 ideas (I don't know if feasible) :

  • add a new item on the popup to 'paste' the content ?

  • if shift key is pressed, then the 'browser' context menu is displayed ; otherwise iDempiere popup is shown (so current behaviour would be preserved)

Regards,

Nicolas

Carlos Ruiz
June 17, 2020, 9:10 AM

> So I fear this new option will never be used.

Well, I know a few cases where I would use it, but I understand, for me would be easy to get used to that, but maybe for some users will not. However as is a user preference, which I guess somebody needs to teach the user where to change and the consequence of that, maybe is not a big deal.

However, I refrain from integrating to core, until more feedback from others.

> add a new item on the popup to 'paste' the content ?

Indeed my interest is not on the copy/paste stuff (my hands are large enough just kidding) but on the spelling and dictionary.

Adding copy/paste to context menu is possible, I think before it was a big issue, but javascript has evolved and I think is easier now:
https://www.w3schools.com/howto/howto_js_copy_clipboard.asp

> if shift key is pressed, then the 'browser' context menu is displayed ; otherwise iDempiere
> popup is shown (so current behaviour would be preserved)

not sure if that's possible, and this would not work well in mobile

Regards,

Carlos Ruiz

Carlos Ruiz
August 22, 2020, 12:45 PM

proposal sounds like duplicate of - maybe we can close this ticket in favour of that one.

Diego Ruiz
August 22, 2020, 1:27 PM

Indeed that goes in line with my proposal, only the paste part with the mouse would be missing, the only thing is that onHover works only on Desktop.

Assignee

Unassigned

Reporter

Nicolas Micoud

Labels

None

Tested By

None

Components

Priority

Major
Configure