Cannot Copy and Paste a File into Same Directory

in utopian-io •  7 years ago  (edited)

Expected Behavior

Copying and Pasting a file in the same directory should either allow an overwrite of the original file OR paste a copy of the file with a slightly modified name (e.g. appended with 'COPY').

Actual Behavior

Copying and Pasting a file in the same directory results in a dialogue box asking if you want to Overwrite, but the Overwrite button is greyed out and unselectable.

Discussion

It is common for people to want to make duplicates of the same file within the same directory for many reasons. Most file systems just make the copy without prompting for an overwrite, and modify the name of the file automatically so as not to create a duplicate.

How to Reproduce

  1. Launch Amaze File Manager 3.2.1 on Android 8.1.0
  2. Click the 3 Vertical Dots icon to the right of a File
  3. Click 'Copy'
  4. Click the Clipboard icon in the Upper Right to Paste
  5. Try to click Overwrite

Device: Pixel 2 XL
OS: Android 8.1.0
App Version: 3.2.1

Recording of the Bug

AmazeFileManager_CannotOverwriteCopiedFile.gif



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Your contribution cannot be approved because it does not follow the Utopian Rules.
Hello, i think we need to discuss some more on this.
First of all. many other copy applications, lets say for winows default copy. asks for overwrite or replace. this is not a bug, this is how people tend to direct their project work. i personally think having 2 same name files with same size is bizarre and useless. you can always make the file name change like file[copy].txt and save another copy as backup or anything. But that is an intended behavior.
moreover, if you want this as a feature in this app you can post as a suggestion. and the developer will may/may not agree with your point of view and do the change.
Thanks for contibuting, Have a nice day.
You can contact us on Discord.
[utopian-moderator]

Hi @sachincool, thanks for reviewing my submission!

The bug is officially about the fact that you are asked if you want to overwrite a file, but the 'Overwrite' button to confirm the action is grayed out and so the whole dialogue screen is pointless.

That is the only thing I mention in Actual Results, and references to other possibilities in other locations is me trying to help the devs think through how they want to fix it. This is normal behavior in a bug in my 7 years experience as a QA Lead at Microsoft. You and I could discuss the best option, but I think it's best to let them decide how to fix the inoperable dialogue screen, because I doubt they'll see our discussions. Or would they? I'm not sure whether the porting pulls over or comments.

I can edit the bug to pull out discussions of fix possibilities of you prefer.

Oh my, It looks like you are right. I did oversee your whole context and skipped to the point of "overwrite and copy". I apologize and thanks for pointing it out, I have accepted this post.
P.s Thanks again for stating your background. and to answer your last question. The whole markdown post gets posted on github as an issue with bug label. With an attached line of "Posted on Utopian.io - Rewarding Open Source Contributors"
if a github user clicks on that. It gets redirected to this exact post, where he can read our comments. :)

P.P.S i did thought that maybe the developer tried to check if the file being copied has same name and same number of bytes as the file already copied. Turns out they don't. there's only 1 check which checks if the file is of same name. Which is not a good practice in my opinion. Thanks for sharing. Your post has been approved.

Hey @thewizard.studio I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x