View Issue Details

IDProjectCategoryView StatusLast Update
0000441Far ManagerDelete files/folderspublic2007-12-24 06:37
Reporteralexmitin Assigned Tovskirdin  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.80 alpha 1 
Summary0000441: Cannot delete file "Descript.ion"
DescriptionCannot delete the file "Descript.ion".

Steps to reproduce:

1) Press LCtrl+6. (Panel mode "Description mode")
2) Press Ctrl+Z on any file on the panel.
3) Type file description and press OK.
After this step new file "Descript.ion" is created.
4) Select file "Descript.ion" and press Shift+Del
5) Select "Delete" button in the "Delete" dialog.

  Expected Result
  ================
   a) The file "Descript.ion" is deleted.
   b) The panel is updated. The file descriptions that were stored in file "Descript.ion" should not be displayed.

  Actual Result
  =================
   a) File "Descript.ion" is not deleted.
   b) All file descriptions remain unchanged.


6) Press LCtrl+4 (Panel mode "Wide mode")
7) Select file "Descript.ion" and press Shift+Del.
8) Select "Delete" button in the "Delete" dialog.
Now file "Descript.ion" is deleted.

Another scenario.
1) Both both panels point to the same folder. For example, "C:\ABC"
2) Left panel is in "Wide mode" (LCtrl+4) panel mode.
3) Right panel is in "Description mode" (LCtrl+6) panel mode.

The file "Descript.ion" can be deleted from the left panel
The file "Descript.ion" cannot be deleted from the right panel. This is a bug!
Additional InformationFAR 1.80.0.391.
TagsNo tags attached.
Build395

Activities

vskirdin

2007-12-21 06:54

administrator   bugnote:0001057

DeleteFileW (в ShellRemoveFile()) говорит "угу, все нормально, сэр, удалил" (возвращает 1), но не удаляет.
LastError тоже молчит в тряпочку...
Блин, лажа какая-то.

samlyukov

2007-12-21 11:23

reporter   bugnote:0001061

там просто после удаления, файл описания заново создается :)
поставь опции так и убедишься:
 (.) Do not update descriptions
 ( ) Update if displayed
 ( ) Always update

vskirdin

2007-12-23 05:51

administrator   bugnote:0001067

см. 395

Здесь в panel.hpp было неправильное определение виртуальной функции GetDizName(). Поэтому в ShellDelete() конструкция SrcPanel->GetDizName(strDizName); возвращала...
да ничего она не возвращала!

Issue History

Date Modified Username Field Change
2007-12-14 21:23 alexmitin New Issue
2007-12-14 21:23 alexmitin Status new => assigned
2007-12-14 21:23 alexmitin Assigned To => vskirdin
2007-12-21 06:54 vskirdin Note Added: 0001057
2007-12-21 11:23 samlyukov Note Added: 0001061
2007-12-23 05:51 vskirdin Note Added: 0001067
2007-12-23 05:51 vskirdin Status assigned => feedback
2007-12-24 01:33 samlyukov Status feedback => resolved
2007-12-24 01:33 samlyukov Resolution open => fixed
2007-12-24 06:37 vskirdin Build => 395
2007-12-24 06:37 vskirdin Status resolved => closed
2007-12-24 06:37 vskirdin Fixed in Version => 1.80 alpha 1