BestCrypt folder still in the tree after dismounting

After dismounting a container as sub folder, within Directory Opus the contents remains visible for a while. In Windows Explorer the folder is empty.

I have a toolbar button: Go REFRESH=all

Need this button when closing down my pc and having to exit encrypted containers.
(1.First close all sub folder tabs, left hand window panel, 2.then hit this button, 3. then File Exit: otherwise I can't close the encrypted containers because of some other process being still active or something)

I can push that button a dozen times, whilst folder is selected, but the tree isn't refreshed.
Closing the folder tab and reselecting the folder, makes no difference.

Any suggestions?

Thanks.

p.s. workaround: File > Exit and relaunching Opus.
This may not always be desirable though.

What kind of encrypted containers are these? What are you using you mount and dismount them?

These are BestCrypt Containers and I use BestCrypt (taskbar button) to r-click unmount the drives.

What happens if you use Go CURRENT instead of refresh?

(Or just go up a level from where you were?)

I am not at home, will try that later (meaning 'Current')

Going up or down to some other folder, then refresh, makes no difference.

Yes, that's true. I installed a BestCrypt container as a subfolder, too and have the same issue. You can add provisionally to: "Go REFRESH=all" these two commands:

Set TREE=Toggle
Set TREE=Toggle

which closes and reopens the folder tree and which make the ghost folder disappear.

Mr. Davidson will surely fix it for the next beta.

There's another kind of "solution". In Windows Explorer this container sub folder is called "file folder" as other folders too, but in Directory Opus not. It's called "Junction". So I checkmarked this:

If these functions are checkmarked the ghost folders disappear in the folder tree after refreshing.
The disavantage is, that Directory Opus always has to calculate the folder sizes. And in Windows File Explorer they still disappear by themselves.

If the issue is only with the folder tree, try Go REBUILDTREE=both and the folder should go away if it's really no longer there.

Following the Debugging part of Changes to folders are not being detected and letting us know which notification events (if any) BestCrypt is sending when it removes the folder may reveal why it isn't being removed from the tree automatically.

My guess is they're doing the notification in an unusual way, or maybe sending the removal notification before the folder has actually been removed instead of after. Just a guess though.

Leo, the Rebuildtree works fine. As for the debugging part, hopefully I did the right things.
When opening and closing the BestCrypt container, the debugview shows the below.
(Sorry if I copied too much info).
The name of the containerfile is testjbc.jbc

Thanks.

[13804] [1276] dopus: Notify 00000275B2ACB150 Returned 110 bytes, error 0
[13804] [ 264] dopus: Change modified on C:\Windows\ServiceState\EventLog\Data\lastalive0.dat
[13804] [1276] dopus: Notify 00000275B2ACB150 Returned 110 bytes, error 0
[13804] [ 264] dopus: Change modified on C:\Windows\ServiceState\EventLog\Data\lastalive0.dat
[13804] [1276] dopus: Notify 00000275B2ACB150 Returned 136 bytes, error 0
[13804] [ 264] dopus: Change modified on C:\ProgramData\Microsoft\Windows Defender\Scans\mpenginedb.db-wal
[13804] [1276] dopus: Notify 00000275B2ACB150 Returned 136 bytes, error 0
[13804] [ 264] dopus: Change modified on C:\ProgramData\Microsoft\Windows Defender\Scans\mpenginedb.db-wal
[13804] [1276] dopus: Notify 00000275B2ACAC70 Returned 34 bytes, error 0
[13804] [ 264] dopus: Change modified on G:\testjbc.jbc
[13804] [1276] dopus: Notify 00000275B2ACAD40 Returned 26 bytes, error 0
[13804] [ 264] dopus: Change removed  on D:\testjbc
[13804] [1276] dopus: Notify 00000275B2ACAD40 Returned 26 bytes, error 0
[13804] [ 264] dopus: Change added    on D:\testjbc
[13804] [1276] dopus: Notify 00000275B2ACAC70 Returned 50 bytes, error 0
[13804] [ 264] dopus: Change added    on G:\testjbc.jbc$Locos11
[13804] [1276] dopus: Notify 00000275B2ACAC70 Returned 50 bytes, error 0
[13804] [ 264] dopus: Change removed  on G:\testjbc.jbc$Locos11
[13804] [1276] dopus: Notify 00000275B2ACB150 Returned 136 bytes, error 0
[13804] [ 264] dopus: Change modified on C:\ProgramData\Microsoft\Windows Defender\Scans\mpenginedb.db-wal
[13804] [1276] dopus: Notify 00000275B2ACAD40 Returned 26 bytes, error 0
[13804] [ 264] dopus: Change modified on D:\testjbc
[13804] [1276] dopus: ShellChange: 00000275B3206220, 3
[13804] [1276] dopus: Notify 00000275B2ACB150 Returned 136 bytes, error 0
[13804] [ 264] dopus: Change modified on C:\ProgramData\Microsoft\Windows Defender\Scans\mpenginedb.db-wal
[13804] [1276] dopus: Notify 00000275B2ACB150 Returned 96 bytes, error 0
[13804] [ 264] dopus: Change modified on C:\Windows\Prefetch\BESTCRYPT.EXE-A64A088C.pf
[13804] [1276] dopus: Notify 00000275B2ACB150 Returned 96 bytes, error 0
[13804] [ 264] dopus: Change modified on C:\Windows\Prefetch\BESTCRYPT.EXE-A64A088C.pf
[13804] [1276] dopus: Notify 00000275B2ACB150 Returned 136 bytes, error 0
[13804] [ 264] dopus: Change modified on C:\ProgramData\Microsoft\Windows Defender\Scans\mpenginedb.db-wal
[13804] [1276] dopus: Notify 00000275B2ACB150 Returned 84 bytes, error 0
[13804] [ 264] dopus: Change modified on C:\Windows\System32\config\DEFAULT.LOG1
[13804] [1276] dopus: Notify 00000275B2ACB150 Returned 92 bytes, error 0
[13804] [ 264] dopus: Change modified on C:\Windows\Prefetch\DLLHOST.EXE-6A829A47.pf
[13804] [1276] dopus: Notify 00000275B2ACB150 Returned 92 bytes, error 0
[13804] [ 264] dopus: Change modified on C:\Windows\Prefetch\DLLHOST.EXE-6A829A47.pf
[13804] [1276] dopus: Notify 00000275B2ACB150 Returned 92 bytes, error 0
[13804] [ 264] dopus: Change modified on C:\Windows\Prefetch\SVCHOST.EXE-E89B558C.pf
[13804] [1276] dopus: Notify 00000275B2ACB150 Returned 92 bytes, error 0
[13804] [ 264] dopus: Change modified on C:\Windows\Prefetch\SVCHOST.EXE-E89B558C.pf
[13804] [1276] dopus: Notify 00000275B2ACB150 Returned 136 bytes, error 0
[13804] [ 264] dopus: Change modified on C:\ProgramData\Microsoft\Windows Defender\Scans\mpenginedb.db-wal
[13804] [1276] dopus: Notify 00000275B2ACAC70 Returned 34 bytes, error 0
[13804] [ 264] dopus: Change modified on G:\testjbc.jbc
[13804] [1276] dopus: Notify 00000275B2ACAD40 Returned 26 bytes, error 0
[13804] [ 264] dopus: Change modified on D:\testjbc
[13804] [1276] dopus: ShellChange: 00000275B308C760, 3
[13804] [1276] dopus: Notify 00000275B2ACB150 Returned 136 bytes, error 0
[13804] [ 264] dopus: Change modified on C:\ProgramData\Microsoft\Windows Defender\Scans\mpenginedb.db-wal
[13804] [1276] dopus: Notify 00000275B2ACAD40 Returned 130 bytes, error 0

The rebuildtree is the best command. I will add it to Go REFRESH=all

And here is my DebugView Log File. The name of the container file is "Neuer Container.jbc"

00000001	0.00000000	[8072] [9152] dopus: Notify 000001ABC7E72060 Returned 50 bytes, error 0	
00000002	0.00017410	[8072] [7836] dopus: Change modified on E:\Neuer Container.jbc	
00000003	0.03982560	[8072] [9152] dopus: Notify 000001ABC4626F50 Returned 20 bytes, error 0	
00000004	0.03999950	[8072] [7836] dopus: Change removed  on C:\Test	
00000005	1.06369400	[8072] [9152] dopus: Notify 000001ABC4626F50 Returned 20 bytes, error 0	
00000006	1.06436551	[8072] [7836] dopus: Change added    on C:\Test	
00000007	1.06618690	[8072] [9152] dopus: Notify 000001ABC7E72060 Returned 66 bytes, error 0	
00000008	1.06710064	[8072] [7836] dopus: Change added    on E:\Neuer Container.jbc$Locos11	
00000009	1.06761360	[8072] [9152] dopus: Notify 000001ABC7E72060 Returned 66 bytes, error 0	
00000010	1.06816006	[8072] [7836] dopus: Change removed  on E:\Neuer Container.jbc$Locos11	
00000011	1.10504496	[8072] [9152] dopus: Notify 000001ABC4626F50 Returned 20 bytes, error 0	
00000012	1.10568881	[8072] [7836] dopus: Change modified on C:\Test	
00000013	1.41273630	[8072] [9152] dopus: Notify 000001ABC4626F50 Returned 94 bytes, error 0	
00000014	1.41278172	[8072] [7836] dopus: Change modified on C:\Windows\Prefetch\EXPLORER.EXE-D5E97654.pf	
00000015	1.41285074	[8072] [9152] dopus: Notify 000001ABC4626F50 Returned 94 bytes, error 0	
00000016	1.41301274	[8072] [7836] dopus: Change modified on C:\Windows\Prefetch\EXPLORER.EXE-D5E97654.pf	
00000017	1.43816829	[8072] [9152] dopus: Notify 000001ABC4626F50 Returned 96 bytes, error 0	
00000018	1.43833041	[8072] [7836] dopus: Change modified on C:\Windows\Prefetch\BESTCRYPT.EXE-02906928.pf	
00000019	1.43859649	[8072] [9152] dopus: Notify 000001ABC4626F50 Returned 96 bytes, error 0	
00000020	1.43874109	[8072] [7836] dopus: Change modified on C:\Windows\Prefetch\BESTCRYPT.EXE-02906928.pf	
00000021	1.71502244	[8072] [9152] dopus: ShellChange: 000001ABC4678AF0, 3	
00000022	1.73739874	[8072] [9152] dopus: ShellChange: 000001ABC4678AF0, 3	
00000023	2.71604609	[8072] [9152] dopus: ShellChange: 000001ABC4678F40, 3	
00000024	2.71617055	[8072] [9152] dopus: ShellChange: dwEvent = 8000000	
00000025	2.71628094	[8072] [9152] dopus: ShellChange: assoc changed	
00000026	11.21376038	[8072] [9152] dopus: Notify 000001ABC4626F50 Returned 156 bytes, error 0	
00000027	11.21429443	[8072] [7836] dopus: Change modified on C:\ProgramData\Microsoft\Windows Defender\Support\MPLog-20200527-041457.log	
00000028	11.22863483	[8072] [9152] dopus: Notify 000001ABC4626F50 Returned 20 bytes, error 0	
00000029	11.22910881	[8072] [7836] dopus: Change modified on C:\Test	
00000030	11.23868847	[8072] [9152] dopus: Notify 000001ABC7E72060 Returned 50 bytes, error 0	
00000031	11.23902035	[8072] [7836] dopus: Change modified on E:\Neuer Container.jbc	
00000032	11.23948288	[8072] [9152] dopus: Notify 000001ABC7E72060 Returned 50 bytes, error 0	
00000033	11.23993301	[8072] [7836] dopus: Change modified on E:\Neuer Container.jbc	
00000034	11.83122444	[8072] [9152] dopus: ShellChange: 000001ABC7DC0D70, 3	
00000035	27.86357689	[8072] [9152] dopus: ShellChange: 000001ABC7238630, 3	
00000036	27.86790657	[8072] [9152] dopus: ShellChange: dwEvent = 8000000	
00000037	27.87118340	[8072] [9152] dopus: ShellChange: assoc changed	

There's nothing suspicious, is it?

Right now, for me, the combo
Go REFRESH=all
Go REBUILDTREE=both
works fine.

When I mount a container as a drive (i.e. with a drive-letter) there are no issues.
Only when mounting as a sub folder.

Also, a minor thing, but relating to refresh, when mounting as a sub folder, the container my not show up in the Opus folder tree, whereas it is showing up in Explorer.
As said, "Refresh" solves this.

SnagIt-12082020 083250

Assuming D:\testjbc is the folder you're mounting into, from your logs it looks like BestCrypt (or something) is generating events which say it has been removed and then added again immediately after that:

[13804] [1276] dopus: Notify 00000275B2ACAD40 Returned 26 bytes, error 0
[13804] [ 264] dopus: Change removed  on D:\testjbc
[13804] [1276] dopus: Notify 00000275B2ACAD40 Returned 26 bytes, error 0
[13804] [ 264] dopus: Change added    on D:\testjbc

(And a couple of modified events on the same folder later in the log, but no removed after the added.)

I am sure you are right Leo.
Regretfully I can not sensibly comment on that.
Can only but say that for some reason or the other this issue does not exist with Windows Explorer.
However, as said, the above combo (refresh/rebuild) works fine.
As for me, it is solved.

Thanks for the solution.