When you have a couple of tabs open, you switch to one where it needs some time (for example >1 sec) to calculate the folder sizes and you close that tab with your middle mouse button, the tab gets closed and bugs out the tab that was supposed to be closed but wasn't.
When using other ways of closing a tab it first stops folder size calculation and you have to use the same way again to actually close the tab (which is fine).
So when using Ctrl+W to close a tab while folder sizes are being calculated you press it once, it we'll stop calculating, press it again, will close the tab, and doesn't bug out
Same when clicking the red [X] button on the active tab.
Middle mouse button just closes the tab without stopping calculating the folder size first, which probably causes this bug
XYplorer Beta Club