View Issue Details

IDProjectCategoryView StatusLast Update
0000569Double CommanderGraphical user interfacepublic2013-07-13 05:50
ReporterEagleXK Assigned Tocobines  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
Product Version0.6.0 (trunk)Product Build4959 
Fixed in Version0.5.5 
Summary0000569: Displaying tab with folder name containing ampersand
DescriptionПапка с амперсандом в имени отображается без оного символа, т.к. он преобразует следующий за ним символ имени папки в горячую клавишу таба.
Steps To ReproduceНазвать папку, к примеру, Tom&Jerry
TagsNo tags attached.
Attached Files
amperdir.patch (499 bytes)   
Index: src/ufileviewnotebook.pas
===================================================================
--- src/ufileviewnotebook.pas	(revision 4959)
+++ src/ufileviewnotebook.pas	(working copy)
@@ -300,7 +300,7 @@
     if (tb_text_length_limit in gDirTabOptions) and (UTF8Length(NewCaption) > gDirTabLimit) then
       NewCaption := UTF8Copy(NewCaption, 1, gDirTabLimit) + '...';
 
-    Caption := NewCaption;
+    Caption := StringReplace(NewCaption, '&', '&&', [rfReplaceAll]);
   end;
 end;
 
amperdir.patch (499 bytes)   
Fixed in Revision4966
Operating systemWindows
WidgetsetWin32
Architecture32-bit

Activities

cobines

2012-09-15 10:09

administrator   ~0000916

Thanks for the patch.

Issue History

Date Modified Username Field Change
2012-09-12 22:28 EagleXK New Issue
2012-09-12 23:06 pktfag File Added: amperdir.patch
2012-09-15 10:09 cobines Fixed in Revision => 4966
2012-09-15 10:09 cobines Note Added: 0000916
2012-09-15 10:09 cobines Status new => resolved
2012-09-15 10:09 cobines Fixed in Version => 0.5.5
2012-09-15 10:09 cobines Resolution open => fixed
2012-09-15 10:09 cobines Assigned To => cobines
2013-07-13 05:50 EagleXK Status resolved => closed