sysPass icon indicating copy to clipboard operation
sysPass copied to clipboard

Does password copy work on iPad?

Open VexedSyd opened this issue 9 years ago • 9 comments

Hi guys,

I'm running the latest version of sysPass (2.1.4) and for some reason the copy password function doesn't work at all on iPad. In Safari it says the "Password copied to clipboard" message, but the clipboard is empty. If I click on "View password" then click on the Copy button, nothing happens. In Chrome, it shows the same behaviour, although sometimes it says the browser is unsupported. I have tried simple and complex passwords, no difference.

I have tested on iPad Air 2 with iOS 10.3.

Many thanks.

VexedSyd avatar Apr 03 '17 05:04 VexedSyd

I have just tested on Windows 10 mobile, as well as Android 6, and it is working as expected.

VexedSyd avatar Apr 03 '17 07:04 VexedSyd

Please see comments on #500

nuxsmin avatar Apr 03 '17 09:04 nuxsmin

@nuxsmin I have tried again with the latest commit, and PHP session encryption disabled. same issue, the copy to clipboard function is not working on safari, chrome or firefox for iOS. Is it supposed to work? or the whole function is unsupported on iOS?

Many thanks.

VexedSyd avatar Apr 12 '17 00:04 VexedSyd

@VexedSyd sorry for the late response, I missed to update your issue...

Unfortunately I haven't any iOS device for testing purposes, so your feedback is quite useful. The clipboard function has been developed following the HTML5 standard by using browser wide working functions, so I can't figure out what could be happening.

Thanks for your feedback!

nuxsmin avatar May 03 '17 06:05 nuxsmin

@nuxsmin no worries at all, thanks for your great effort here... I have hooked up an iPad Air 2 to a iMac here and enabled developer tools for Safari. There are no JS errors, but the debugger was complaining about other stuff in the code... screen shot 2017-05-04 at 9 41 28 am

screen shot 2017-05-04 at 9 40 15 am

I'm not a developer, so I'm not sure if the attached images are of any help.

VexedSyd avatar May 04 '17 00:05 VexedSyd

Hi, thanks! I'll check out them.

I've removed some images because they contain some private data (domain)...

nuxsmin avatar May 04 '17 06:05 nuxsmin

Thanks, I haven't noticed the domains on those pictures.

VexedSyd avatar May 04 '17 06:05 VexedSyd

Hi, someone built this (https://jsfiddle.net/ToJa92/0jwnycwk/) simple script to test it, could you try it out?

Regards

nuxsmin avatar Jul 31 '17 11:07 nuxsmin

Unfortunately, it seems a known limitation https://github.com/zenorocha/clipboard.js/wiki/Known-Limitations

So it would work when showing the password (by coding some tweak), but copy-to-clipboard button (without showing the password), won't work until a new browser API is implemented.

Added (first point) to roadmap #422

nuxsmin avatar Jul 31 '17 12:07 nuxsmin