explorerplusplus icon indicating copy to clipboard operation
explorerplusplus copied to clipboard

Annoying behavior of expand node on selection

Open pseudo555 opened this issue 5 years ago • 0 comments

Describe the bug Automatically epand nodes on selection is too literral. In my pov, this option should invert the expand state of a tree node. I mean when i clic:

  • on a colapsed folder in the tree, it should expand it, showing all sub-folder.
  • on an expanded folder in the tree, it should collapse it (it does) and not expand it just after !

To Reproduce Steps to reproduce the behavior:

  1. Make sure the option "expand automatically nodes on selection" in Options > Windows tab is checked.
  2. Make sure that View > Folders is checked.
  3. Go to any folder containing at least one subfolder using the tab view (ie: open a new tab on C:, then using the tab part, click on windows, then on system32) -> parent folder (ie c:\windows) is expanded, showing subfolder in tree view : OK
  4. Click on the arrow just before the parent folder in tree (to collapse the folder - ie c:\windows) -> folder is collapsed (OK) and automatically expand itself again (not ok)

Expected behavior When collapsing an expanded folder using tree view, the folder should not expand itself just after being collapsed!

Crashes No crash, just annoying behavior.

Version:

  • Explorer++ version: 1.4.0.1683 dev (64-bit build) - some other 1.4.0.x version do the same, don't know for official build
  • OS: Windows 10 x64 20h2

** Additionnal note:** Issue is not reproduce using only the tree view to navigate. I guess the "selected" attribute is not set when moving to a subfolder using the tab part (not the tree, the view taht show current folder's contents) In my pov, the option should not expand one treenode when selected, but reverse the expand state of the tree regardless of selection. This "should" expands any treenode in tree when selecting a folder using the tab part, and not collapse then expand one folder in tree.

pseudo555 avatar Nov 11 '20 09:11 pseudo555