Skip to content

Copy paste of files in builtin file explorer does not work corretly with paste confirmation prompt #2968

Description

@FilipNur

Describe the bug
When doing copy paste from the builtin file explorer, pasting file with the same name as file already present in that directory does nothing.

Please confirm that this problem is VSCodium-specific

  • This bug doesn't happen if I use Microsoft's Visual Studio Code. It only happens in VSCodium. (based on this issue the bug is fixed since VScode 1.127.0, also checked on newest VScode version)

Please confirm that the issue/resolution isn't already documented

To Reproduce
Steps to reproduce the behavior (case 1, too long file path):

  1. Prompt for paste confirmation must not be disabled
  2. Copy and paste the same file in the same directory
  3. Paste file confirmation dialog pops up
  4. Confirm paste operation
  5. The file does not paste (at least in some cases)

Steps to reproduce the behavior (case 2, workspace directory):

  1. Prompt for paste confirmation must not be disabled
  2. Copy and paste the same file in workspace directory
  3. Copy of the file is pasted into the directory
  4. Paste file confirmation dialog pops up
  5. Confirm paste operation
  6. Second copy of the file is pasted into the directory

Expected behavior
Creation of single copy of the copied file.

Desktop

  • OS: Windiows 11 25H2
  • Architecture: x86_64
  • Version: 1.126.04524

Additional context
For case 1:
The behaviour seems to be due to too long file path, as when I changed all folder names to single letters the file copy worked correctly.
Copying to different folder works fine, but copying file to folder which already has file with that name does not create a copy.

ADDED : when paste confirmation prompt is disabled the copy paste in builtin file explorer works correctly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions