HO-COOH / FastCopy

A GUI wrappers for Windows' built-in robocopy. QQ讨论群:479734355
MIT License
180 stars 24 forks source link

bug: Context menu items not visible #4

Open kdpuvvadi opened 1 year ago

kdpuvvadi commented 1 year ago

Items in submenu of the FastCopy are not visible.

screenshot

Menu

With info from the screenshots, when click on area for copying, it say copying successful but stuck on copying

Copying

Success message

System info

Edition: Windows 10 Enterprise Version 22H2 OS build: 19045.2965 Experience: Windows Feature Experience Pack 1000.19041.1000.0

HO-COOH commented 1 year ago

Can you please provide your file path, both the original and destination (I guess it's some kind of encoding issues)? Also try to enable UTF-8 beta support in windows system language settings and see whether it solves it.

kdpuvvadi commented 1 year ago

Source: C:\data\el\tool\repo\rhome\bom\items.xlsx Dest: C:\Users\kd\Desktop\

Tried with UTF-8 beta support enabled but still the same.

HO-COOH commented 1 year ago

Source: C:\data\el\tool\repo\rhome\bom\items.xlsx Dest: C:\Users\kd\Desktop\

Tried with UTF-8 beta support enabled but still the same.

Largely a permission issue. Try using command robocopy "C:/data/el/tool/repo/rhome/bom/" "C:/Users/kd/Desktop/" "items.xlsx" and see the output. At this time, this project does not handle any errors and will always show success when robocopy exited

kdpuvvadi commented 1 year ago

Here's the output

$ robocopy 'C:\data\el\tool\repo\rhome\bom\item.xlsx' 'C:\Users\kd\Desktop\'

-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows
-------------------------------------------------------------------------------

  Started : 24 May 2023 10:27:02
   Source : C:\data\el\tool\repo\rhome\bom\item.xlsx
     Dest : C:\Users\kd\Desktop\

    Files : *.*

  Options : *.* /DCOPY:DA /COPY:DAT /R:1000000 /W:30

------------------------------------------------------------------------------

2023/05/24 10:27:02 ERROR 123 (0x0000007B) Accessing Source Directory C:\data\el\tool\repo\rhome\bom\item.xlsx The filename, directory name, or volume label syntax is incorrect.

Seems like with the files it's failing but with the directories, it's working fine. FileCopy's behaviour is the same.

 $ robocopy  'C:\tools\eda\' 'C:\Users\Sri Sarada\Desktop\rr\'

-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows
-------------------------------------------------------------------------------

  Started : 24 May 2023 10:31:03
   Source : C:\tools\eda\
     Dest : C:\Users\kd\Desktop\rr\

    Files : *.*

  Options : *.* /DCOPY:DA /COPY:DAT /R:1000000 /W:30

------------------------------------------------------------------------------

                           4    C:\tools\eda\
100%        New File                 140        lin64.sh
100%        New File                 140        mac64.sh
100%        New File                3578        Readme.txt
100%        New File                 113        win64.bat

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         1         0         1         0         0         0
   Files :         4         4         0         0         0         0
   Bytes :     3.8 k     3.8 k         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

   Speed :              441222 Bytes/sec.
   Speed :              25.246 MegaBytes/min.
   Ended : 24 May 2023 10:31:03
HO-COOH commented 1 year ago

@kdpuvvadi One fact I learned the hard way is that, you cannot use \ in those paths, you need to convert those to /, see this commit here. Try again, if it succeeded, you can expect this fix in the next release

kdpuvvadi commented 1 year ago

it's same with forward or backward slash. one more thing i've observed is, if the directory has space in the name, it outright crashes without any error.

HO-COOH commented 1 year ago

You need to put file name after destination if you are copying individual files using robocopy. Check its doc

franco6996 commented 1 year ago

I have the same bugs.

image

System Info:

Windows 10 Pro Version 22H2 Compilation 19045

Mojas84 commented 1 year ago

Hi on Windows 11 too it same bug..... But app is very good and realy faster please fix it. 🤔

Mojas84 commented 1 year ago

And next bug is i can owerwrite folder on destination and program crash not reponding

HO-COOH commented 1 year ago

okay, I will get a windows 10 VM to investigate.

HO-COOH commented 1 year ago

Try the new release @kdpuvvadi

Mojas84 commented 1 year ago

Hi good but with startallback still copy setting mini menu not visible full. In the copy or move 0procent still to the end. notification not started

Mojas84 commented 1 year ago

Graph not visible.

Mojas84 commented 1 year ago

Please add fuction custom wav sound on finish.

Mojas84 commented 1 year ago

On network drive copy or move not launched....

Mojas84 commented 1 year ago

Please add fuction recolored app.....

HO-COOH commented 1 year ago

@Mojas84 For issues unrelated to this one, please open another issue. This issue is for context menu on windows 10.

Mojas84 commented 1 year ago

Ok