Temp panel plugin issues
Posted: 2009-09-16, 10:58 UTC
May be this discussed before, but a lot of time ago.
I want to write fully correct temporary panel plugin. At first, I made that it moves file within same volume, open normal properties dialog, returns normal file icons etc.
But when I starting external application, TC passes invalid path to file. I think in case of temporary panel TC should pass real path to files (generate filelist with real filenames) because TP returns real path for its files (if path may not be resolved, TC should skip file).
Summary for the topic:
0.a get real filename/generate filelist with real filenames when passing file from temporary panel as parameter for external application (for %P%N); (7.55b1)
0.b same as 0.a (for %L etc);
1 if user drops files onto a folder in FS/TP panel, TC should append its name to a result path; (7.50a)
2 fill time field when user opening attributes dialog for file in FS/TP; (7.55b1)
3 make [tc.file type] working with files in FS/TP;
4 refresh both panels after file operation if both have same FS/TP plugin;
5 ask confirmation on read/hidden/system file or non-empty folder deleting within FS/TP; also hide hidden/system files on cm_SwitchHidSys;
6 copy/move folder to its subfolder detection for FS/TP;
7 beep if FsExecuteFile(, , "properties")==0 instead of displaying version dialog w/o any information in FS/TP;
8 count size of subfolders on Ctrl+L;
9 do not show "to: " label in delete dialog;
A correct handling of flag FILE_ATTRIBUTE_REPARSE_POINT for FS/TP objects (e.g. deleting);
B add function to put/delete folder with subfolders (if plugin can't perform operation, use usual method);
C allow to execute FS commands via buttonbar buttons (I mean passing command "quote ..." to FS plugin), if plugin folder is specified as working dir e.g. (this would be useful for creating plugin-specific user-commands, bar buttons etc);
D do not return 1 in ProcessProc every time after user press Cancel, return 1 only when user presses Escape/Cancel button again - this is necessary in order to allow user to continue operation on false cancel;
E when I use Shift+F4 inside virtual folder, I expect that TC will call RemoteNameToLocal and create new file according to returned path, but not that TC will create file in TOTALCMD.exe's current directory;
F add to FsDefaultParamStruct struct field RootName to inform plugin which root name is used in TC if not default; by FsDefaultParamStruct::size field plugin may determine if enchanced version of structure is used;
G disable drop-down hints when start cmdline param with \ or ..\ in FS plugin - TC suggests wrong items from its current real folder. But don't disable hints when user types full path from real drive like "F:\..." (in any path of command line);
H when user packs files from TP, TC should pass real filenames to packer instead of copying files to temp folder and passing its paths;
J make internal associations work inside temporary panel; (7.55b1)
K make P/N keys in Lister working with multiple selected files within FS/TP;
L make possible to pass as buttonbar button parameter not only real name but virtual name too (in 7.55 and later).
M branch view and partial one;
N 'feed to listbox' from search dialog.
O retrieve real name and use Ctrl+Left/Right for folders too.
P show normal context menus and overlay icons for files/folders that provide real path.
This issues was discovered after many months of work on temporary panel plugin.
I want to write fully correct temporary panel plugin. At first, I made that it moves file within same volume, open normal properties dialog, returns normal file icons etc.
But when I starting external application, TC passes invalid path to file. I think in case of temporary panel TC should pass real path to files (generate filelist with real filenames) because TP returns real path for its files (if path may not be resolved, TC should skip file).
Summary for the topic:
0.a get real filename/generate filelist with real filenames when passing file from temporary panel as parameter for external application (for %P%N); (7.55b1)
0.b same as 0.a (for %L etc);
1 if user drops files onto a folder in FS/TP panel, TC should append its name to a result path; (7.50a)
2 fill time field when user opening attributes dialog for file in FS/TP; (7.55b1)
3 make [tc.file type] working with files in FS/TP;
4 refresh both panels after file operation if both have same FS/TP plugin;
5 ask confirmation on read/hidden/system file or non-empty folder deleting within FS/TP; also hide hidden/system files on cm_SwitchHidSys;
6 copy/move folder to its subfolder detection for FS/TP;
7 beep if FsExecuteFile(, , "properties")==0 instead of displaying version dialog w/o any information in FS/TP;
8 count size of subfolders on Ctrl+L;
9 do not show "to: " label in delete dialog;
A correct handling of flag FILE_ATTRIBUTE_REPARSE_POINT for FS/TP objects (e.g. deleting);
B add function to put/delete folder with subfolders (if plugin can't perform operation, use usual method);
C allow to execute FS commands via buttonbar buttons (I mean passing command "quote ..." to FS plugin), if plugin folder is specified as working dir e.g. (this would be useful for creating plugin-specific user-commands, bar buttons etc);
D do not return 1 in ProcessProc every time after user press Cancel, return 1 only when user presses Escape/Cancel button again - this is necessary in order to allow user to continue operation on false cancel;
E when I use Shift+F4 inside virtual folder, I expect that TC will call RemoteNameToLocal and create new file according to returned path, but not that TC will create file in TOTALCMD.exe's current directory;
F add to FsDefaultParamStruct struct field RootName to inform plugin which root name is used in TC if not default; by FsDefaultParamStruct::size field plugin may determine if enchanced version of structure is used;
G disable drop-down hints when start cmdline param with \ or ..\ in FS plugin - TC suggests wrong items from its current real folder. But don't disable hints when user types full path from real drive like "F:\..." (in any path of command line);
H when user packs files from TP, TC should pass real filenames to packer instead of copying files to temp folder and passing its paths;
J make internal associations work inside temporary panel; (7.55b1)
K make P/N keys in Lister working with multiple selected files within FS/TP;
L make possible to pass as buttonbar button parameter not only real name but virtual name too (in 7.55 and later).
M branch view and partial one;
N 'feed to listbox' from search dialog.
O retrieve real name and use Ctrl+Left/Right for folders too.
P show normal context menus and overlay icons for files/folders that provide real path.
This issues was discovered after many months of work on temporary panel plugin.
