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

File copy-paste retains paste option after file is copied. #1161

Open
1 task done
FriendliestFriend opened this issue Jan 23, 2025 · 3 comments
Open
1 task done

File copy-paste retains paste option after file is copied. #1161

FriendliestFriend opened this issue Jan 23, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@FriendliestFriend
Copy link

FriendliestFriend commented Jan 23, 2025

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Not sure if this is intended or not; but upon selecting copy on a templated java file's context menu in the sidebar, and then pasting it into a folder, I still saw the paste option in the folder's context menu. Well … since I did intend to copy-paste the template file again, I tried it … but only received an error about a null object.

Meaning, I believe, the copy/paste operation completed earlier did not release the handle for the operation but did release its copied file reference. Desired implementation is to remove a paste option from the context menu as the operation is completed successfully. I am not sure why it should remain, otherwise.

I believe this to be a bug, but in the case it isn't, could I also request it be reassigned as a feature request? I wished to have also some multi-paste to insert a specified number of duplicates from a single copied source, each with incremental numbering. I believe this is what I wished from copying the original.

Environment

Android version 11 tablet model K118
4.0 GB ram
Acode editor 1.10.7 (955)
Webview 131.0.6778.260

If applicable, add mockups / screenshots regarding your vision

No response

If applicable, attach your Acode.log file to this issue.

No response

@bajrangCoder bajrangCoder added the bug Something isn't working label Jan 23, 2025
@bajrangCoder
Copy link
Collaborator

I think it's a bug
Share how to reproduce this issue, As I'm not able to reproduce it

I believe this to be a bug, but in the case it isn't, could I also request it be reassigned as a feature request? I wished to have also some multi-paste to insert a specified number of duplicates from a single copied source, each with incremental numbering. I believe this is what I wished from copying the original.

That shouldn't be in sidebar

@FriendliestFriend
Copy link
Author

You were not able to? I just did, in a separate set of files. I also wish to note, I am not using any plugins, this experience is Acode itself.

Select copy in a source file's context menu.
Go to a separate folder, select paste from that folder's context menu. File is copied, right?
Then in the same folder as the copied file, select paste again … no file is copied, and it gives an error dialog.
Yet, paste remains in the context menu indefinitely, or until app is restarted so the context menu is recreated.
But after any file copy attempt, it again becomes the same as above.
(It originally occured when trying to paste a file into the same folder but this experiment shows it happens no matter what path is used.)

Image

@bajrangCoder
Copy link
Collaborator

I'm not able to reproduce, tell me how can I reproduce?
Also folder is from saf uri, internal storage or SFTP/FTP?
And also attach a recording.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants