explorerplusplus icon indicating copy to clipboard operation
explorerplusplus copied to clipboard

Treeview does not update when removing a folder selected in treeview

Open MIRK0 opened this issue 2 years ago • 3 comments

Describe the bug Treeview is not updated when a folder is deleted from Treeview

To Reproduce Steps to reproduce the behavior:

  • Select a folder from Treeview
  • Press Ctrl+Del and remove it
  • Folder will disappear from the main view, but not from treeview. When is selected from treeview it will report an error because missing folder. Also Refresh action does not update treeview.

Expected behavior I'd expect the folder (and subfolders) to disappear from Treeview when deleted.

Version:

  • Explorer++ version: 1.4.0.1748 beta (64-bit build)
  • OS: Windows 11

MIRK0 avatar Aug 08 '23 08:08 MIRK0

The directory monitoring code for the treeview has been overhauled in more recent dev versions. Does this issue still reproduce if you try it in the current dev version? Note there is a bug in the current dev version that causes an item in the treeview not to be deleted when you press Del, but you can right-click on an item in the treeview and select delete from that menu instead.

derceg avatar Aug 16 '23 20:08 derceg

I confirm that with the recent dev version 1.4.0.2210 dev (64-bit build), using right-click - Delete, the folder is indeed removed from Treeview. I also confirm the bug that do not process Ctrl+Del or Del commands (it jumps back to the parent dir, selecting it)

MIRK0 avatar Aug 17 '23 07:08 MIRK0

I also confirm the bug that do not process Ctrl+Del or Del commands (it jumps back to the parent dir, selecting it)

This bug is still present in 1.4.0.2283 dev (64-bit build), just to let you know.

MIRK0 avatar Jan 01 '24 15:01 MIRK0

Fixed in 1.5.0.2375 dev (64 bit)

MIRK0 avatar Apr 30 '24 17:04 MIRK0