Toolbar glitch after removing a (flash) drive

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
tedy
Posts: 323
Joined: 17 Jun 2009 21:48

Toolbar glitch after removing a (flash) drive

Post by tedy »

The addressbar is set next to the toolbar to save vertical space. The toolbar contains all harddrive partitions as buttons, also contains the removables.
When I insert a e.g. flash drive (or any drive that adds a drive letter to the system), the drive appears in the toolbar as expected, in the removable drives section, next to the DVD drive.
After I remove the drive, it seems XY couldn't recover its toolbar next to the addressbar (see the attaached file), and the last button stays hidden behind the "More buttons" arrow. Behind this button there is just one toolbar icon/button (Search Files). It doesn't recover from this until xy restarted, or otherwise playing around with the Customize Toolbar so it resets itself.

Attached file (was too wide to attach in the message)

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

Re: Toolbar glitch after removing a (flash) drive

Post by admin »

I tested your exact (as far as you described it) setup but here the toolbar correctly restored after removing the flash drive. So I can't do much now, but will keep an eye on it.

tedy
Posts: 323
Joined: 17 Jun 2009 21:48

Re: Toolbar glitch after removing a (flash) drive

Post by tedy »

I was able to reproduce it.
The problems arise when XY is minimized.

1. XY is either minimized or in background when I insert the flash drive. XY seems Ok this far.
Now make sure XY is minimized before you unplug the flash drive (after choosing Safely eject option in the tray). Restore/maximize XY and you can see the issue.

2. XY has focus when you insert the flash drive. Then minimize it. Then unplug the flash drive. Then restore XY, and although it seems to have restored the toolbar state, the addressbar is not resized back.

I hope this helps.

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

Re: Toolbar glitch after removing a (flash) drive

Post by admin »

Tried also this and again: works fine here.

tedy
Posts: 323
Joined: 17 Jun 2009 21:48

Re: Toolbar glitch after removing a (flash) drive

Post by tedy »

As far as I remember from past posts of yours, you use Win7 default non-Aero theme. Maybe using Aero has something to do? Maybe other users could drop a line to confirm or rebut the issue..
I witness even more strange displacement issues between the toolbar and addressbar when there is a separator between them.
Anyway, minimizing windows is not that often, and keeping XY non-minimized is a way to hold off this issue.

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

Re: Toolbar glitch after removing a (flash) drive

Post by admin »

I tested it under XP, but this should not make a difference here.

tedy
Posts: 323
Joined: 17 Jun 2009 21:48

Re: Toolbar glitch after removing a (flash) drive

Post by tedy »

This is 100% reproducible, tested on another machine. Win7 x64 + Aero enabled.
If XY is minimized in the taskbar, then I insert USB flash drive and it gets recognized, restore XY to its maximized state, the toolbar is spoiled the way I showed. Then removing the drive does not fix the problem until XY is restarted.
If XY was not minimized (no matter focused or not), there is no problem.
This has been around for a long time.

P.S. Just noticed in the last version another problem that was lingering around before as well. After removing the flash drive, the icon (K:) remains with a generic drive icon with a question mark in it. It changes to question marked only after I hover it with the mouse, otherwise it just stays. In Explorer the K: drive disappears as soon as I eject the drive (with Safely remove option of course).
I have to restart XY almost every time I use a flash drive :( , because this icon is embarrassing.
Last edited by tedy on 26 Jan 2014 11:11, edited 1 time in total.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Toolbar glitch after removing a (flash) drive

Post by LittleBiG »

Sometimes I realize that wrong icons are drawn on the toolbar buttons (especially on User Toolbar Buttons) and some icons can be shown only half. I have never written this to the forum, because I couldn't find a way to repro. It just happens sometimes. My suspicion is that after inserting or removing an USB drive the toolbar sometime doesn't refresh itself correctly. (I have Removables toolbar button). My solution in these cases is: refreshing the toolbar by clicking on Customize Toolbar then simply clicking on OK. So the toolbar is redrawn.

I am not sure but maybe there is a connection with tedy's issue. Win7x64Aero.

tedy
Posts: 323
Joined: 17 Jun 2009 21:48

Re: Toolbar glitch after removing a (flash) drive

Post by tedy »

Yes, entering teh Customize toolbar mode and closing it, fixes the main problem with spoiled toolbar, IF and When the removed drive toolbar button/icon is removed by XY automatically. But if the icon/button is not removed, only a restart is the cure. There is no K: drive in Explorer, but there still is in XY, and the icon turned to generic icon with a question mark overlaid.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Toolbar glitch after removing a (flash) drive

Post by LittleBiG »

tedy wrote:This has been around for a long time.
Ah, and I forgot to agree: yes, it is not a recent issue for sure.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Toolbar glitch after removing a (flash) drive

Post by LittleBiG »

It happened again. Next time I am going to take some screenshots. I have the Recent Locations button and a user button next to each other, and the Recent button icon has changed to the user button icon. I moved my mouse pointer above the wrong icon, and I got the original Recent Locations icon back immediately. (Before that, I attached a flash drive. The XY was not in focus at that time.)

tedy
Posts: 323
Joined: 17 Jun 2009 21:48

Re: Toolbar glitch after removing a (flash) drive

Post by tedy »

Try to set the layout so the addressbar is beneath the toolbar, on its own. And the toolbar is not overwhelmed with icons beyond the screen/window edge.
When I'll be fed up with this bug, I'll set it this way, and lose about 20 or 24 pixels of my vertical screen estate, and see if this bug then still happens.
I think it has something to do with the auto-width-adjusted addressbar when placed on the right of the toolbar - the addressbar always fits in the remaining space from the toolbar's last button up to the right edge of the window.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Toolbar glitch after removing a (flash) drive

Post by TheQwerty »

I'm not able to reproduce this either.

Any chance you could write up the steps needed from a fresh copy of XY (enter ::fresh; into the address bar)?

Post Reply