View Issue Details

IDProjectCategoryView StatusLast Update
0002148Double CommanderGraphical user interfacepublic2021-09-05 15:10
Reporteryetanotherlurker Assigned ToAlexx2000  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
OSWindowsOS Version7 
Product Version0.8.4 
Target Version0.9.0Fixed in Version0.9.0 
Summary0002148: Item in Directory Hotlist changes to Command when importing bookmark with prefix "ccm_"
DescriptionI added an item in the Directory Hotlist to the directory D:\ccm_svn. It works fine at first, but after reboot the item changes from a bookmark to a command. In the Directory Hotlist the item shows "Name" and "Command" instead of "Name", "Path" and "Target".
Steps To Reproduce1. Create a folder with prefix "ccm_"
2. Add this folder to the Hotlist Directory
3. Backup the Hotlist Directory
4. Restore the Hotlist Directory

Additional InformationWorkaround:
Added an environment variable for this folder
TagsNo tags attached.
Attached Files
hotdir_command.diff (632 bytes)   
Index: src/uhotdir.pas
===================================================================
--- src/uhotdir.pas	(revision 8355)
+++ src/uhotdir.pas	(working copy)
@@ -657,7 +657,7 @@
               begin
                 LocalHotDir.HotDirName := sName;
                 LocalHotDir.HotDirPath := sPath;
-                if UTF8Pos('cm_', UTF8LowerCase(sPath)) = 0 then
+                if UTF8Pos('cm_', UTF8LowerCase(sPath)) <> 1 then
                 begin
                   LocalHotDir.HotDirPathSort := AConfig.GetAttr(Anode, 'PathSort', 0);
                   LocalHotDir.HotDirTarget := AConfig.GetAttr(ANode, 'Target', '');
hotdir_command.diff (632 bytes)   
Fixed in Revision8360
Operating systemWindows
WidgetsetWin32
Architecture64-bit

Activities

luqman

2018-10-15 14:26

reporter   ~0002794

I can confirm this.

For me this happens whenever the path ends or is "cm_".

luqman

2018-10-15 22:54

reporter   ~0002796

I attached a diff.

Previously an entry was detected as a command whenever the path contained “cm_”, now it only does so if the path starts with ”cm_”.

Issue History

Date Modified Username Field Change
2018-10-15 11:23 yetanotherlurker New Issue
2018-10-15 14:26 luqman Note Added: 0002794
2018-10-15 22:50 luqman File Added: hotdir_command.diff
2018-10-15 22:54 luqman Note Added: 0002796
2018-10-20 14:04 Alexx2000 Fixed in Revision => 8360
2018-10-20 14:04 Alexx2000 Assigned To => Alexx2000
2018-10-20 14:04 Alexx2000 Status new => resolved
2018-10-20 14:04 Alexx2000 Resolution open => fixed
2018-10-20 14:04 Alexx2000 Fixed in Version => 0.9.0
2018-10-20 14:04 Alexx2000 Target Version => 0.9.0
2021-09-05 15:10 Alexx2000 Status resolved => closed