View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001645 | Double Commander | Graphical user interface | public | 2016-12-01 16:36 | 2020-11-30 07:43 |
Reporter | cordylus | Assigned To | Alexx2000 | ||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Projection | none | ETA | none | ||
Product Version | 0.7.6 | ||||
Target Version | 0.8.0 | Fixed in Version | 0.8.0 | ||
Summary | 0001645: The long name of a file or folder is truncated when it is the only file/folder on the drive | ||||
Description | It begins to adapt the size of the cursor (that is limiting the filename) only after adding the second file. I suspect it has something to do with "Up", ".." entry, since it is not there when you are browsing the root of the drive, and the only file takes its place. | ||||
Tags | No tags attached. | ||||
Attached Files | bug1645.patch (822 bytes)
Index: src/fileviews/ubrieffileview.pas =================================================================== --- src/fileviews/ubrieffileview.pas (revision 7605) +++ src/fileviews/ubrieffileview.pas (working copy) @@ -137,12 +137,12 @@ var I, J, L, M: Integer; begin - if not Assigned(FBriefView.FFiles) then Exit; + if not Assigned(FBriefView.FFiles) or (FBriefView.FFiles.Count = 0) then Exit; if gBriefViewMode = bvmFixedWidth then DefaultColWidth:= Min(ClientWidth, gBriefViewFixedWidth) else if gBriefViewMode = bvmFixedCount then DefaultColWidth:= ClientWidth div Max(1, gBriefViewFixedCount) - else if FBriefView.FFiles.Count < 2 then + else if (FBriefView.FFiles.Count = 1) and (FBriefView.FFiles[0].FSFile.Name = '..') then DefaultColWidth:= ClientWidth div 3 else begin | ||||
Fixed in Revision | 7612 | ||||
Operating system | |||||
Widgetset | |||||
Architecture | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-12-01 16:36 | cordylus | New Issue | |
2016-12-16 16:02 | cordylus | Note Added: 0002032 | |
2017-06-02 11:09 | cordylus | File Added: bug1645.patch | |
2017-06-02 11:19 | cordylus | Note Added: 0002273 | |
2017-06-04 12:09 | Alexx2000 | Fixed in Revision | => 7612 |
2017-06-04 12:09 | Alexx2000 | Assigned To | => Alexx2000 |
2017-06-04 12:09 | Alexx2000 | Status | new => resolved |
2017-06-04 12:09 | Alexx2000 | Resolution | open => fixed |
2017-06-04 12:09 | Alexx2000 | Fixed in Version | => 0.8.0 |
2017-06-04 12:09 | Alexx2000 | Target Version | => 0.8.0 |
2020-11-30 07:43 | Alexx2000 | Status | resolved => closed |