Page 1 of 2

Custom Columns/Branch View

Posted: 08 Mar 2014 05:00
by Nighted
Enabling and disabling columns between normal and branch view is inconsistent.

For example, enabling a custom column with the album property then selecting branch view, then switching back to normal view and disabling the custom column, the column reappears when entering branch view and back again.

Hope that makes sense.

Re: Custom Columns/Branch View

Posted: 08 Mar 2014 08:56
by admin
Hmm, good point.

Background: XY has separate column layouts for Browse mode and Find mode (and some other modes of the list). Currently Branch View takes the column layout from Find mode (the typical main difference to Browse mode is the presence of the Path column). Separate column layouts means: whatever you configure within a mode stays in that mode and is not transferred to another mode on mode switch. Up to now this worked well for Find (= Search Results) and also for Branch View (which technically is just a special sort of Find).

But now, with Custom Columns, things become different. You obviously expect to see the same columns when toggling Branch View on and off, plus the Path column. This is a problem. :blackstorm: :om: Hmm... what if I just do this:

1) When toggling Branch View ON, show the same column layout as you see now in Browse mode, plus the Path column.
2) When toggling Branch View OFF, go back to the standard Browse mode layout. Do NOT store the last Branch View layout as Find mode layout (i.e. do not store it at all) -- otherwise the next search results would also have that columns which is not likely what you want.

Hm?

Re: Custom Columns/Branch View

Posted: 08 Mar 2014 10:16
by LittleBiG
First one would I choose.

But please keep in mind, that the same happens in case of a name search. I would suggest to add temporarily all columns to the Find view automatically, which columns are in the search term.

Re: Custom Columns/Branch View

Posted: 08 Mar 2014 10:22
by admin
LittleBiG wrote:First one would I choose.

But please keep in mind, that the same happens in case of a name search. I would suggest to add temporarily all columns to the Find view automatically, which columns are in the search term.
1. That was not a choice, but 2 things which I suggest to do both.

2. Hm, right.

Re: Custom Columns/Branch View

Posted: 08 Mar 2014 11:24
by Marco
I guess it depends on how you use BV. I (personally) wouldn't be happy to enable BV and see all the items sorted as in Browse because what is interesting for me in BV is the structure, the paths and how deep files and folders go. Clicking each time on the Path column would be tedious.

Re: Custom Columns/Branch View

Posted: 08 Mar 2014 11:48
by admin
Marco wrote:I guess it depends on how you use BV. I (personally) wouldn't be happy to enable BV and see all the items sorted as in Browse because what is interesting for me in BV is the structure, the paths and how deep files and folders go. Clicking each time on the Path column would be tedious.
Well, I can make it optional.

Your last sentence I don't understand.

Re: Custom Columns/Branch View

Posted: 08 Mar 2014 12:09
by Marco
My Browse view is sorted by extension and name (secondary sorting). If your idea of "transferring" the sorting to BV became true, then each time I issue a BV I would have to click the Path column to see the sorting I want, because BV would inherit the sorting of Browser view.
But since you said that it could be optional, I'm happier :D

PS: another idea. Since BV is, for some folks including me, focused on paths/filesystem structure, what if entering BV could -optionally- inherit the sorting of the previous view (like you suggest) but adding the Path sorting too first of all? I know it could be some work because you would need to implement "multi-dimensional sorting" because Path could potentially be a third criterion of sorting (uh, nice trade name, and I guess you'd be the first :whistle: ...) but:
- it would grant this wish (end of http://www.xyplorer.com/xyfc/viewtopic. ... 51#p100151 )
- it would solve the bug of the topic above for which BV doesn't apply also the secondary sorting of a saved Find view
- being optional it would interfere with Nighted/LittleBiG workflow
- with "multi-dimensional sorting" one could keep in a folder (no subfolders) a bunch of music files and then sort them by Artist/Year/Album/Track directly in XY. No other file manager can do this! (I keep my music folder well organized, but a BV with a Path/Extension/Name sorting would be my nirvana...)

PPS: I guess MDS makes a lot of sense since the addition of Custom Columns and Extra Tags

Re: Custom Columns/Branch View

Posted: 08 Mar 2014 12:38
by admin
MDS: Overkill for now. I have a couple of other problems I need to solve first. :)

BTW, don't worry about your sorting: This setting will have precedence:
Configuration | Find Files & Branch View | Branch View | Default to tree-like sort order

Re: Custom Columns/Branch View

Posted: 08 Mar 2014 15:31
by Nighted
admin wrote:1) When toggling Branch View ON, show the same column layout as you see now in Browse mode, plus the Path column.
2) When toggling Branch View OFF, go back to the standard Browse mode layout. Do NOT store the last Branch View layout as Find mode layout (i.e. do not store it at all) -- otherwise the next search results would also have that columns which is not likely what you want.

Hm?
This is the behavior that I think one would expect.

I've also found that sometimes the custom column does not populate when switching to Branch View and must be refreshed to show the desired data, even when Auto-Refresh is selected. Also, at random times the saved column layout for Branch View does not load and must be loaded manually. ¯\_(ツ)_/¯

Re: Custom Columns/Branch View

Posted: 08 Mar 2014 17:57
by admin
All will be good next version.

Re: Custom Columns/Branch View

Posted: 09 Mar 2014 18:14
by admin
So, how do you like the recent changes to Branch View (v13.80.0109)? They are pretty radical and were hard to implement (took me one whole day).

Re: Custom Columns/Branch View

Posted: 09 Mar 2014 18:43
by Marco
Well, everything looks ok here so green light for me - even if I default to sort by Path so I don't have the chance to see the new behaviour in action much.

Re: Custom Columns/Branch View

Posted: 09 Mar 2014 21:10
by Nighted
Looking good BUT when adding a new custom column it does not autosize until the pane is manually refreshed.

Re: Custom Columns/Branch View

Posted: 09 Mar 2014 21:29
by admin
Nighted wrote:Looking good BUT when adding a new custom column it does not autosize until the pane is manually refreshed.
That's on purpose. I found autosizing weird at that point.

Re: Custom Columns/Branch View

Posted: 10 Mar 2014 00:02
by Nighted
Hmmm...weird indeed. :p