Jump to content

Copy & Paste from Android with Unigui desktop


Mohammed Nasman

Recommended Posts

Tested on Android 6,8,10

I think the problem related to Chrome it self, not the Android, it's working on other browsers that not rely on google browser.

Same problem exit on new Edge browser too.

I tested on old chrome on android (v50) and it worked fine, but after updating to latest version 79, it's stop show the copy & paste menu

Link to comment
Share on other sites

Salam Mohamed,

Have you got something like this  in your code :   

// Keydown :  CTRL + V
  edUtilisateur.ClientEvents.ExtEvents.Values['Keydown']:=
  'function(sender, e, eOpts)'+
  '{'+

  '  if (e.ctrlKey == true && e.getKey() == 86) {'+      //   v  et  V  = 86
  '    e.preventDefault()'+    //  ' e.stopEvent();'   same
  '  }'+

  '}';

Sometimes, we forget a portion of code...

 

Link to comment
Share on other sites

@Mohamed,

I just developed a test application (in 15 min)  and deploy it  on my home server as :  

- HyperServer 64   on Windows Server 2016 / 64bit

- Unigui 1519

There is no problem with copy / paste with google chrome  [ Version 79.0.3945.130 (Build officiel) (64 bits)  ]

try my test  :   (this is a desktop version )

On your mobile phone,  you can chose on parameters :  "See Desktop Version"

www.doc.dynu.net:8081

 

Link to comment
Share on other sites

  • Administrators
2 hours ago, Mohammed Nasman said:

I found the problem

It related to property: "BrowserOptions"-> boDisableMouseRightClick

It was set to true on both my application & AllFeaturesDemo

But still not sure why it was working fine on iOS but not on Android :-/

Anyway, it's good they can now copy & paste :-D

Thanks for the feedback.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...