Copy from Desktop (virtual panel) to shared folder

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
KozakMak
Senior Member
Senior Member
Posts: 498
Joined: 2021-05-24, 12:39 UTC
Location: UA

Copy from Desktop (virtual panel) to shared folder

Post by *KozakMak »

1. I am trying to copy (F5) file from virtual panel (cm_OpenDesktop) to shared folder \\host\shared_folder
2. A standard dialog appears (Copy 1 file(s) to *path* ?)
3. OK
4. Nothing happened
5. Nothing in totalcmd.log

If I drag-and-drop from (real) desktop to \\host\shared_folder - all OK.

TotalCmd 11.03 x64
Windows 10
OS: Win10 | TC: latest x64
User avatar
petermad
Power Member
Power Member
Posts: 16099
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Copy from Desktop (virtual panel) to shared folder

Post by *petermad »

I can confirm this under Windows 10 but not under Window 7

It is only if I try to copy to the "root" of the shared folder (then I gette an error beep). If I copy to a subfolder on the shared folder there is no problem.

Also if I enable "Net" -> "Show Admin Shares" and go into for example F$ (where the root is not write protected) I also cannot copy from \\Desktop - but I can copy to subfolders on F$
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50824
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Copy from Desktop (virtual panel) to shared folder

Post by *ghisler(Author) »

Not confirmed on Windows 11. Since these are virtual folders, it's the same as using Ctrl+C, Tab, Ctrl+V.
Can you do Ctrl+C on the desktop and Ctrl+V anywhere else than a share?
Can you do Ctrl+C in a local directory and Ctrl+V on that share?
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16099
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Copy from Desktop (virtual panel) to shared folder

Post by *petermad »

Can you do Ctrl+C on the desktop and Ctrl+V anywhere else than a share?
Windows 10 and 7: Yes.
Can you do Ctrl+C in a local directory and Ctrl+V on that share?
Windows 10: No, only to subfolders on the share. Windows 7: Yes.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
KozakMak
Senior Member
Senior Member
Posts: 498
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: Copy from Desktop (virtual panel) to shared folder

Post by *KozakMak »

ghisler(Author) wrote: 2024-08-01, 16:33 UTC Can you do Ctrl+C on the desktop and Ctrl+V anywhere else than a share?
yes
ghisler(Author) wrote: 2024-08-01, 16:33 UTC Can you do Ctrl+C in a local directory and Ctrl+V on that share?
no
OS: Win10 | TC: latest x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50824
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Copy from Desktop (virtual panel) to shared folder

Post by *ghisler(Author) »

How about when you open that share which doesn't work in TC in Explorer and press Ctrl+V there?
Author of Total Commander
https://www.ghisler.com
KozakMak
Senior Member
Senior Member
Posts: 498
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: Copy from Desktop (virtual panel) to shared folder

Post by *KozakMak »

ghisler(Author) wrote: 2024-08-02, 08:18 UTC How about when you open that share which doesn't work in TC in Explorer and press Ctrl+V there?
yes, from \\Desktop ctrl+c to explorer shared folder ctrl+v - worked
OS: Win10 | TC: latest x64
User avatar
petermad
Power Member
Power Member
Posts: 16099
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Copy from Desktop (virtual panel) to shared folder

Post by *petermad »

The same here - I can paste with Ctrl+V in Explorer to the base folder of shares. Both if I copy from Desktop with Ctrl+C from within TC and from within Explorer
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50824
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Copy from Desktop (virtual panel) to shared folder

Post by *ghisler(Author) »

Unfortunately this is a Windows 10 bug which cannot be fixed:

Total Commander requests the context menu of the target folder, and then invokes the "paste" command of that menu (without showing it). Unfortunately the context menu of the share is missing the "paste" verb. You can see this by making a short right click on the path above the file list (or a long right click on the empty space below the last item). "Paste" is present in all other Windows versions, just not Windows 10.

The Explorer is showing a different right click menu when right clicking on the background: It seems to be calling IShellView::GetItemObject with SVGIO_BACKGROUND, but this requires a fully visible "shell view" (e.g. what you see in a file open dialog), so I cannot use it.
Author of Total Commander
https://www.ghisler.com
Post Reply