Description
reactos-bootcd-0.4.15-dev-5900-g14cf589-x86-gcc-lin-dbg
Attempt to use "Move/Copy to" from toolbar on items that can't be moved and are not actual files (RecycleBin, My Computer) :
Shows '(file)' and of course finally does nothing.
Expected behavior, does not show dialog and fails gracefully.
Cause :
CMoveToMenu::DoMoveToFolder : https://git.reactos.org/?p=reactos.git;a=blob;f=dll/win32/shell32/CMoveToMenu.cpp#l228
does not detect if DoGetFileTitle() fails and return its default value : https://git.reactos.org/?p=reactos.git;a=blob;f=dll/win32/shell32/CMoveToMenu.cpp#l194
Same bug affects : CCopyToMenu::DoCopyToFolder https://git.reactos.org/?p=reactos.git;a=blob;f=dll/win32/shell32/CCopyToMenu.cpp#l229