Lock tabs sometimes fail

Things you’d like to miss in the future...
admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Lock tabs sometimes fail

Post by admin »

"no definite way to repro it..." then it might be a race condition. Unfortunately I have not seen it myself. I use the same locked tabs for many years and it never happened here.

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

Re: Lock tabs sometimes fail

Post by MBaas »

I too have settled on 5 locked tabs...and from time I notice that the location of the 2nd (the most frequently used - which I intentionally use to navigate into its subfolders) has changed - it's in one of the subfolders then, not the original one. But I have no clue on the details...
______________________________________________
Happy user ;-)

QuadJesus
Posts: 4
Joined: 06 Jul 2021 11:32

Re: Lock tabs sometimes fail

Post by QuadJesus »

I have this bug to the point where it's turning me of Xyplorer but unfortunately no other options offer what I like that Xyplorer provides. . It happens 20-30 times per day and I don't exactly know why it occurs or how to replicate it. I keep having to revert to saved tabs. It's driving me insane :(
Any updates would be very, very, very much appreciated.

JohnM
Posts: 247
Joined: 08 Jun 2006 11:59
Location: Tasmania, Australia

Re: Lock tabs sometimes fail

Post by JohnM »

HI All,

I just noticed a little problem with tab headers and I thought that it might be related to this. If not I apologise.

I set a tab's home and then set "Lock Home Zone" on the same tab. Then I set an icon for the tab (right-click->Rename Tab). After this, if I navigate to a subfolder by double-clicking on the subfolder the tab header does not change to reflect the folder change.
If I remove the icon, and navigate to the same subfolder the tab header does update to reflect the folder change.

Initial state:
XY Tab1.PNG
XY Tab1.PNG (18.85 KiB) Viewed 1698 times
Change to the subfolder (double click the folder name) and the tab header is updated :) :
XY Tab2.PNG
XY Tab2.PNG (21.18 KiB) Viewed 1698 times
After setting the tab name with an icon (tab name is: "|D:\Users\John\Documents\settings\XYplorer\Icons\Downloads folder.ico"):
XY Tab3.PNG
XY Tab3.PNG (20.45 KiB) Viewed 1698 times
Change to the subfolder (double click the folder name) and tab header is not updated :( :
XY Tab4.PNG
XY Tab4.PNG (22.04 KiB) Viewed 1698 times
Update: switching to the other pane causes the tab header to be updated correctly.

Cheers
Windows 8.1 x64
XYplorer 22.90.0105 beta

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

Re: Lock tabs sometimes fail

Post by MBaas »

Don, maybe you could add some more logging to the code that creates a new tab...? I don't think I ever did something "special" or extraordinary when I ended up with unwanted tabs - it's just regular navigation in a situation where some tabs are locked...
______________________________________________
Happy user ;-)

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

Re: Lock tabs sometimes fail

Post by admin »

MBaas wrote: 17 Jul 2021 17:27 Don, maybe you could add some more logging to the code that creates a new tab...? I don't think I ever did something "special" or extraordinary when I ended up with unwanted tabs - it's just regular navigation in a situation where some tabs are locked...
Too complex. I need reproducible steps.

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

Re: Lock tabs sometimes fail

Post by admin »

QuadJesus wrote: 16 Jul 2021 21:16 I have this bug to the point where it's turning me of Xyplorer but unfortunately no other options offer what I like that Xyplorer provides. . It happens 20-30 times per day and I don't exactly know why it occurs or how to replicate it. I keep having to revert to saved tabs. It's driving me insane :(
Any updates would be very, very, very much appreciated.
Let me know when you find out how to replicate it.

JohnM
Posts: 247
Joined: 08 Jun 2006 11:59
Location: Tasmania, Australia

Re: Lock tabs sometimes fail

Post by JohnM »

JohnM wrote:I just noticed a little problem with tab headers...
Nudge :wink:
Windows 8.1 x64
XYplorer 22.90.0105 beta

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

Re: Lock tabs sometimes fail

Post by admin »

Good news: I probably fixed the original problem. It was a race condition. If you changed the location of a locked tab while creating thumbnails or calculating folder sizes, the location of the locked tab may actually have been overwritten by the new location. Fixed now.

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

Re: Lock tabs sometimes fail

Post by MBaas »

Sounds good - though I don't think that changing positions of locked tabs was involved in my case. (I have 5 locked tabs and never re-order them).
But maybe I was affected anyway - will keep my eyes open ;)
______________________________________________
Happy user ;-)

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

Re: Lock tabs sometimes fail

Post by admin »

MBaas wrote: 21 Jul 2021 09:21 Sounds good - though I don't think that changing positions of locked tabs was involved in my case. (I have 5 locked tabs and never re-order them).
But maybe I was affected anyway - will keep my eyes open ;)
Sorry, I meant "location". I'll correct it in the original post.

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

Re: Lock tabs sometimes fail

Post by admin »

JohnM wrote: 20 Jul 2021 21:38
JohnM wrote:I just noticed a little problem with tab headers...
Nudge :wink:
Alright, confirmed and fixed. :)

JohnM
Posts: 247
Joined: 08 Jun 2006 11:59
Location: Tasmania, Australia

Re: Lock tabs sometimes fail

Post by JohnM »

Admin wrote:Alright, confirmed and fixed.
Looks good now. Thanks man. :tup:
Windows 8.1 x64
XYplorer 22.90.0105 beta

AAsc49
Posts: 6
Joined: 20 Jul 2020 18:03

Re: Lock tabs sometimes fail

Post by AAsc49 »

Hello,

I still encouter this problem.

A lock tab (locked location and home) is sometimes failing (a folder opens in the same tab).

Thank for your help

Arnaud

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

Re: Lock tabs sometimes fail

Post by admin »

Well, a little more info maybe? See a pattern?

Post Reply