Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy answer button not working #3

Closed
jvde08 opened this issue May 29, 2023 · 9 comments
Closed

Copy answer button not working #3

jvde08 opened this issue May 29, 2023 · 9 comments

Comments

@jvde08
Copy link

jvde08 commented May 29, 2023

The button simply doesn't do anything. The copy button can be pressed and briefly changes to a checkmark but doesn't actually copy the answer.
Tested on Android 11, OnePlus 9 Pro

@woheller69
Copy link
Owner

Unfortunately webview does not support that. But you can long click on the text and select it

@Kurasami
Copy link

Kurasami commented Jun 7, 2023

Sorry to spam all your open issues but this is again possible if you know the class ID where the data is located:

https://stackoverflow.com/questions/53945593/copy-button-in-a-webview-doesnt-work-why

Many thanks for making this app btw. If it could simply retain login on my device it would be more than good enough for me.

@woheller69
Copy link
Owner

I have seen that as well, but I don't know the class ID where data is located...

@Kurasami
Copy link

You can't test it in developer mode? Ask it something and find the class ID which has the answer in it.

@woheller69
Copy link
Owner

If there are several answers in the thread, it will get more complex. And I am not a html / javascript expert.

You can simply mark the part you need and copy it

@woheller69
Copy link
Owner

Seems to be a bug in WebView reported long ago in 2015 and still not fixed:
https://bugs.chromium.org/p/chromium/issues/detail?id=490120

@woheller69
Copy link
Owner

This version shows a message when the user clicks on the copy button and tells him to do it manually.

https://github.com/woheller69/gptAssist/suites/13658024142/artifacts/754206126

@GGORG0
Copy link

GGORG0 commented Aug 4, 2023

Strange. The README says, that the app is partly based on GMaps VW, where coping (via the share button) works perfectly fine for me! In gptAssist it is broken though.

WebView: Vanadium (GrapheneOS) System WebView

@woheller69
Copy link
Owner

somehow Google manages this probably in their own Javascript code of Google Maps.

GMapsWV only has a listener for a change in clipboard and reacts if clipboard changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants