When switching to the App, the Copy/Cut/Paste menu is showed #26
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
security
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: epinez/Subz#26
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Everytime I switch to the App the Copy menu is displayed like if some text was selected. This happens both in the Overview and the Settings panel. If I hit Copy no text is copied, though.
I'm using version 1.0 from F-Droid.
Hey! Thanks for your filed issues! Could you maybe make a video / GIF for that? Which Android version / mobile phone are you using?
Copy & Paste for text which are no input fields are disabled by default within Ionic apps. I noticed one or two issues like that before but could not reproduce them...
Ha, now I can't reproduce it anymore, too :) I just now switched to the App and saw it. Then I closed it and opened it again, it displayed the loading icon (so the App restarted) and now it does not occur again.
I'll come back to you if I see it again, and hopefully I remember what I did before :D
Okay, nice! :-D Will let this issue open for two months and close it if there are no occurences till then!
I can confirm I see this, too, very persistently when it begins but triggering the bug is eluding me.
I'm also trying to figure out what steps cause it.
Once it begins, the cut/copy/paste is selecting the search field, I have noticed that much. So perhaps there's a default hover or selection of the search field that can be demoted to any other non-textual element.
I'm not sure whether I can confirm this. For me the menu was more at the (vertical) center of the screen. Also, there has to be some selected text for the menu to display "copy". If it was only focus it would start with "paste"...
I can reproduce this now:
If I select some text field in a sub and close it with Android's back button, the menu is still shown, but now in the overview. I can close the menu with "copy" and it comes back when switching back to the app.
I tried to reproduce that but unfortunately I couldn't @Jonny007-MKD Could you make a short video or step by step manual of how to reproduce this? Android version / mobile phone would help to.
I recorded my screen and uploaded the video here:
https://newown.nordlichter-brv.de/s/fN4KDHi9i2FXkdc
Actually it's quite easy to reproduce: Simply select some text in the description of a Sub and then close the page with the Back key. Afterwards the menu is always popping up again.
I'm using F-Droid's version 1.0 on LineageOS 17.1 (Android 10).
Thanks! Very strange, I can't reproduce it with v1.0 from F-Droid with GrapheneOS (Android 11) Will dig deeper into that.
Okay sometimes its reproducible for me but not always... Tbh I have no clue what this could trigger. Maybe it's a bug within Capacitor, Ionic or one of its JavaScript dependencies. :-/
Verflixt.
I'd guess that the Sub form (or whatever the correct term is) isn't (completely) destroyed but moved to the background. Thus the text stays selected and the menu is triggered every now and then by Android.
Is it possible to attach some code to the closing event of the Sub and to remove the selection (e.g. by setting the focus in something)? That would at least be a workaround.
Oh that would definitely be possible - but not clean code :-D Would you mind building the app from source and try a few code modifications by yourself? I could guide you through that and you could test by yourself wether the issue is gone.
You would have to:
//
so that the function won't get invoked. Its the function which autofocuses the first input upon opening the modal (maybe it has something to do with it)And try after building within Android Studio wether the bug still persists :-)