Page 1 of 2

BView+VFilter,QSearch create redundant tab history

Posted: 16 Mar 2015 14:41
by Nolan
Applying Branch View first, and then Visual Filter, will create a redundant duplicate tab history entry of current path in current tab's Back History.

XYplorer: v15.00.0109 (fresh installed)
OS: Win7 64-bit SP1
Branch View + Visual Filter creates redundant tab history entry_1.png
Branch View + Visual Filter creates redundant tab history entry_2.png

Re: BranchView+VisualFilter creates redundant tab history en

Posted: 16 Mar 2015 15:32
by admin
Confirmed and fixed.

Re: BranchView+VisualFilter creates redundant tab history en

Posted: 17 Mar 2015 09:22
by Nolan
Not fixed yet.
Branch View + Visual Filter creates redundant tab history entry_3.png
Branch View + Visual Filter creates redundant tab history entry_4.png
Branch View + Visual Filter creates redundant tab history entry_5.png
Refer to the three screenshots above.

Steps:
1) Open a fresh installed XY, and there is only one opened tab initially.
2) Middle-click the folder "test1" to open it in a new 2nd tab and activate the 2nd tab.
3) Left-click previous 1st tab (i.e. the "D:\TEST") to switch back to it.
4) Apply Branch View (first) + Visual Filter to the 1st tab.

And then a redundant duplicate tab history entry is created in the 1st tab's Back History.

XYplorer: v15.00.0110 (fresh installed)
OS: Win7 64-bit SP1

Re: BranchView+VisualFilter creates redundant tab history en

Posted: 17 Mar 2015 10:02
by admin
Indeed. I'll try again.

Re: BranchView+VisualFilter creates redundant tab history en

Posted: 17 Mar 2015 13:57
by Nolan
Not fixed yet.
Branch View + Visual Filter creates redundant tab history entry_6.png
Branch View + Visual Filter creates redundant tab history entry_7.png
Steps:
1) Open a fresh installed XY v15.00.0111, and there is only one opened tab "D:\TEST" initially.
2) Apply Branch View (first) + Visual Filter to the tab.
3) Middle-click the folder "test1" to open it in a new 2nd tab and activate the 2nd tab.
4) Left-click previous 1st tab (i.e. the "D:\TEST") to switch back to it.

And then a redundant duplicate tab history entry is created in the 1st tab's Back History.

Re: BranchView+VisualFilter creates redundant tab history en

Posted: 17 Mar 2015 14:20
by admin
Confirmed! Wow. Note that this is a third bug (it's not always the same bug, only at the surface).

PS: Even found a 4th way to get dupes -- ah, feels good to find a bug all by myself (and fix it). :)

Re: BranchView+VisualFilter creates redundant tab history en

Posted: 18 Mar 2015 02:36
by Nolan
A 5th bug?
Branch View + Visual Filter creates redundant tab history entry_8.png
Steps:
1) Open a fresh installed XY v15.00.0112, and the initial opened tab has history entries as the screenshot shown above.
2) Apply Branch View (first) + Visual Filter to the tab.
3) Middle-click the folder "test1" to open it in a new 2nd tab and activate the 2nd tab.
4) Left-click previous 1st tab (i.e. the "D:\TEST") to switch back to it.

And then the 1st tab's history entries get messed up, as the screenshot shown below.
Branch View + Visual Filter creates redundant tab history entry_9.png

Re: BranchView+VisualFilter creates redundant tab history en

Posted: 18 Mar 2015 08:02
by admin
Yes, this is scaring. :ninja: :whistle: Thanks!

Re: BranchView+VisualFilter creates redundant tab history en

Posted: 18 Mar 2015 18:46
by Nolan
Also tab history related stuff. This time is about Quick Search (QS) and Full Search. Note that showing Quick Search results in current tab is default setting.
Search & tab's history records_1.png
Steps:
1) Open a fresh installed XY v15.00.0113, and the initial opened tab has history entries as the screenshot shown above.
2) Perform a QS:test and show search results in the tab.
3) Middle-click the folder "test1" in search results to open it in a new 2nd tab and activate the 2nd tab.
4) Left-click previous 1st tab (i.e. the "D:\TEST") to switch back to it.

And then the 1st tab's history records get empty, as the screenshot shown below.
Search & tab's history records_2.png
5) Left-click the 2nd tab (i.e. the "D:\TEST\test1") to activate it again.
6) Middle-click the 2nd tab to close it and switch back to the 1st tab (i.e. the "D:\TEST").

And then there is a 3rd version of 1st tab's history records, which is shown as the screenshot below.
Search & tab's history records_3.png

Re: BranchView+VisualFilter creates redundant tab history en

Posted: 18 Mar 2015 20:32
by admin
You are making this a hobby, right? :)

OK, this one was really tricky but I think I fixed it. Waiting for the next...

Re: BranchView+VisualFilter creates redundant tab history en

Posted: 19 Mar 2015 12:05
by Nolan
Search & tab's history records_4.png
Disable the option "Synchronize tree with search location" in a fresh installed XY v15.00.0115, and then follow my last post's steps (except v15.00.0113), will also get the results shown in my last post.

Re: BranchView+VisualFilter creates redundant tab history en

Posted: 19 Mar 2015 13:10
by admin
Very good. I saw this coming (but had no time yet to fix it), but I cannot see how you could possibly see this connection without looking at my source code. :? Magical powers?

Re: BranchView+VisualFilter creates redundant tab history en

Posted: 19 Mar 2015 13:58
by Nolan
By comparing, testing, and luck. :)

Re: BranchView+VisualFilter creates redundant tab history en

Posted: 21 Mar 2015 18:47
by Nolan
Just noticed this one, probably started appearing since v15.00.0116.
Search & tab's history records_5.png
Enable the option "Synchronize tree with search location" (default setting) in XY v15.00.0120 (fresh), and perform a Quick Search (QS) or Full Search in current tab, will result in emptying tab's Forward History records (if any) and creating a redundant duplicate Back History entry of current path. When there is no Forward History records, the tab's history state looks fine after a QS.
Search & tab's history records_6.png
Search & tab's history records_7.png
In addition, right after a QS in current tab, the path message shown in infotip of Back/Forward button (blue arrow) corresponds to current path, and clicking the Back/Forward button will exit QS and restore the normal list of current path. However, after a QS in current tab, switching from current tab to another tab and then switching back, will update the path message to correspond to the previous/next history entry next to current. The different versions of path message should be unified.
history path_1_infotip right after a QS.png
history path_2_infotip after a QS & tab switching.png
history path_3_right-click history menu.png
BTW, executing REFRESH command will also exit QS and restore the normal list, not sure if it is a bug or by design?

Re: BranchView+VisualFilter creates redundant tab history en

Posted: 21 Mar 2015 20:07
by admin
redundant duplicate Back History: yes, confirmed, fix comes.

tooltips: confirmed, but cannot fix at the moment.

BTW, executing REFRESH command will also exit QS and restore the normal list, not sure if it is a bug or by design?
By design. Refresh a search by Shift+F3.