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

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
MBaas
Posts: 710
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. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * F² * LinkTree

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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: 710
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
To see the attached files, you need to log into the forum.
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * F² * LinkTree

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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: 710
Joined: 15 Feb 2016 21:08

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

Post by MBaas »

Yup.
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * F² * LinkTree

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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: 710
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. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * F² * LinkTree

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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: 710
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. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * F² * LinkTree

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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: 710
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. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * F² * LinkTree

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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: 710
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. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * F² * LinkTree

MBaas
Posts: 710
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. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * F² * LinkTree

Post Reply