View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002148 | Double Commander | Graphical user interface | public | 2018-10-15 11:23 | 2021-09-05 15:10 |
Reporter | yetanotherlurker | Assigned To | Alexx2000 | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Projection | none | ETA | none | ||
OS | Windows | OS Version | 7 | ||
Product Version | 0.8.4 | ||||
Target Version | 0.9.0 | Fixed in Version | 0.9.0 | ||
Summary | 0002148: Item in Directory Hotlist changes to Command when importing bookmark with prefix "ccm_" | ||||
Description | I 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 Reproduce | 1. 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 Information | Workaround: Added an environment variable for this folder | ||||
Tags | No 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', ''); | ||||
Fixed in Revision | 8360 | ||||
Operating system | Windows | ||||
Widgetset | Win32 | ||||
Architecture | 64-bit | ||||
|
I can confirm this. For me this happens whenever the path ends or is "cm_". |
|
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_”. |
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 |