Toolbar: "Drives (Group)" not refreshing after a new drive was mapped...

Things you’d like to miss in the future...
Post Reply
MBaas
Posts: 572
Joined: 15 Feb 2016 21:08

Toolbar: "Drives (Group)" not refreshing after a new drive was mapped...

Post by MBaas »

I just nopticed that the Drives-Object does not auto-update after using "Tools|System|Map drive" (back-translated from DE UI), but I seem to remember it did so in the past...
______________________________________________
Happy user ;-)

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Toolbar: "Drives (Group)" not refreshing after a new drive was mapped...

Post by admin »

Works fine here. Do you still have the problem?

MBaas
Posts: 572
Joined: 15 Feb 2016 21:08

Re: Toolbar: "Drives (Group)" not refreshing after a new drive was mapped...

Post by MBaas »

Yep, Just created a mapping and as the screenshot shows, U: is included in my PC's list of drives, but not in the bar.
2017-08-03_14-23-03.png
2017-08-03_14-23-03.png (58.06 KiB) Viewed 1329 times
______________________________________________
Happy user ;-)

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Toolbar: "Drives (Group)" not refreshing after a new drive was mapped...

Post by admin »

And that's the "All Drives (Group)"?

MBaas
Posts: 572
Joined: 15 Feb 2016 21:08

Re: Toolbar: "Drives (Group)" not refreshing after a new drive was mapped...

Post by MBaas »

Yup.
______________________________________________
Happy user ;-)

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Toolbar: "Drives (Group)" not refreshing after a new drive was mapped...

Post by admin »

Tested and works flawlessly (Win8.1).

Ensure that this is ticked:
Configuration | Refresh, Icons, History | Auto-Refresh | Auto-refresh

MBaas
Posts: 572
Joined: 15 Feb 2016 21:08

Re: Toolbar: "Drives (Group)" not refreshing after a new drive was mapped...

Post by MBaas »

All checked - and not working (18.20.0200)
______________________________________________
Happy user ;-)

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Toolbar: "Drives (Group)" not refreshing after a new drive was mapped...

Post by admin »

1) Does the tree auto-refresh? (Show the drive)
2) Which Windows version?

MBaas
Posts: 572
Joined: 15 Feb 2016 21:08

Re: Toolbar: "Drives (Group)" not refreshing after a new drive was mapped...

Post by MBaas »

1) Nope. (BTW, USB-Drives are recognized by both)
2) Windows 10 [Version 10.0.14393]
______________________________________________
Happy user ;-)

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Toolbar: "Drives (Group)" not refreshing after a new drive was mapped...

Post by admin »

Great. The one thing that's reliable about Windows is that it changes the notification rules with every release. :roll:

No problem, we can log the events that are causing an auto-refresh in XYplorer.

1. Switch on the logger and output to debuglog by running this through the address bar:

Code: Select all

logchange 5;
2. Do your thing (map the drive).

3. Show the debuglog by running this through the address bar:

Code: Select all

text get("debuglog");
I might be able to solve the mystery if I see the logged events...

MBaas
Posts: 572
Joined: 15 Feb 2016 21:08

Re: Toolbar: "Drives (Group)" not refreshing after a new drive was mapped...

Post by MBaas »

I mapped drives U: and P:, they did not show up, I then clicked the "This PC"-Button (which showed U:) and I changed to drive to verify that it indeed was accessible etc.
Here's the log:
2017-08-22 10:12:58.997 >> ShellNotify: SHCNE_RENAMEFOLDER: E:\ | E:\ > E:\ | E:\
2017-08-22 10:12:58.997 >> ShellNotify: SHCNE_RENAMEFOLDER: G:\ | G:\ > G:\ | G:\
2017-08-22 10:12:58.997 >> ShellNotify: SHCNE_RENAMEFOLDER: F:\ | F:\ > F:\ | F:\
2017-08-22 10:13:03.669 >> ShellNotify: SHCNE_MKDIR: | DESKTOP-N0HTS7V > |
2017-08-22 10:13:13.008 >> ShellNotify: SHCNE_RENAMEFOLDER: F:\ | F:\ > F:\ | F:\
2017-08-22 10:13:13.008 >> ShellNotify: SHCNE_RENAMEFOLDER: E:\ | E:\ > E:\ | E:\
2017-08-22 10:13:13.009 >> ShellNotify: SHCNE_RENAMEFOLDER: G:\ | G:\ > G:\ | G:\
2017-08-22 10:13:13.009 >> ShellNotify: SHCNE_RENAMEFOLDER: P:\ | Public (\\10.0.46.1) (P:) > P:\ | Public (\\10.0.46.1) (P:)
2017-08-22 10:13:13.009 >> ShellNotify: SHCNE_RENAMEFOLDER: U:\ | devt (\\10.0.46.1) (U:) > U:\ | devt (\\10.0.46.1) (U:)
______________________________________________
Happy user ;-)

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Toolbar: "Drives (Group)" not refreshing after a new drive was mapped...

Post by admin »

Thanks. The same action in Win 8.1 generates just this:
2017-08-23 10:58:47.927 >> ShellNotify: SHCNE_DRIVEADD: Z:\ | Test (\\VEGA\Users\Donald) (Z:) > |
No comment. ... :evil: ... Guess I will be able to "fix" it now for Win10.

MBaas
Posts: 572
Joined: 15 Feb 2016 21:08

Re: Toolbar: "Drives (Group)" not refreshing after a new drive was mapped...

Post by MBaas »

Honestly - looking at the possible events (described @ https://msdn.microsoft.com/en-us/librar ... 2147217396 ), SHCNE_RENAMEFOLDER seems the least plausible one for this - especially when they have "SHCNE_NETSHARE". Well, Microsoft just love to challenge the creativity of developers! ;-)
______________________________________________
Happy user ;-)

MBaas
Posts: 572
Joined: 15 Feb 2016 21:08

Re: Toolbar: "Drives (Group)" not refreshing after a new drive was mapped...

Post by MBaas »

Works with 18.20.207 - thanks! :tup:
______________________________________________
Happy user ;-)

Post Reply