Jump to content

Copy & Paste from Android with Unigui desktop


Mohammed Nasman

Recommended Posts

Hello,

I have system developed with unigui desktop, many clients access it via their mobile phones, they notfifed me that they can't do copy & paste for text on their mobile.

The iOS owner don't have this problem, do you any idea why?

I tested it on Unigui demos and same problem found.

image.thumb.png.26b98b7e9af81e963013d1ab4b20527b.png

Link to comment
Share on other sites

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

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

  • Like 1
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...