funap / npp-explorer-plugin

Explorer plugin for Notepad++ x64/x86
GNU General Public License v2.0
86 stars 10 forks source link

In Favorites dont save collapse status after close Notepad++ #8

Closed almaz-free closed 5 years ago

almaz-free commented 5 years ago

I click to [-] to collapse Files group tree, and close Notepad++. But when i start Notepad++ i see that group tree expanded again.

Steps to reproduce the behavior:

  1. Go to Plugins -> Explorer -> Favorites (checkbox enabled)
  2. Add some groups and Link to files
  3. Collapse any group and close Notepad++
  4. Open Notepad++ and See that group not collapsed anymore

Notepad++ v7.7.1 (64-bit) Build time : Jun 16 2019 - 21:24:47 Path : ‪C:\Program Files\Notepad++\notepad++.exe Admin mode : OFF Local Conf mode : ON OS : Windows 10 (64-bit) Plugins : Explorer.dll (from Explorer_v1.8.2.3_x64.zip)

funap commented 5 years ago

Hi @almaz-free. Thank you very much for reporting. If you'd like, please use 1.8.2.4_beta3 to see if the problem occurs? I think that this is probably caused by # 4. best regards.

almaz-free commented 5 years ago

Hello! I installed v1.8.2.4_beta3, but no effect. I see that:

So, plugin v1.8.2.4_beta3 ignore "Expand" parameter on startup Notepad++ and always use it as "1".

almaz-free commented 5 years ago

I make some experiment, and found that:

so, when plugin found first expanded group, all next groups alway will be expanded

funap commented 5 years ago

Hi @almaz-free Thank you very much for the detailed explanation! I reproduced this problem. I will fix it. best regards.

funap commented 5 years ago

Hi @almaz-free this issue fixed in ver.1.8.2.4. I am grateful for your support.