Page 1 of 1

Color Labels problem in Multi Branch Views

Posted: 10 Mar 2016 13:19
by jaywalker32
I've been having a problem where color tags don't appear in MBV's unless you add the lbl: option to the filter.

To reproduce:

1. Extract the attached folder. It contains two folders (c:\Test\Folder1, c:\test\Folder2) and a text file in each.
2. Enter the MBV code in the address bar: c:\test\Folder1;c:\test\Folder2? /:flatfiles
3. Set one file's color tag to 'Red'. You will see that it is tagged properly.
4. Refresh (F5). The color tagging disappears. The tags are still there if you browse to Folder1 or Folder2, but they are not visible in the MBV anymore.

then

5. Enter this MBV code:c:\test\Folder1;c:\test\Folder2? lbl: /:flatfiles
6. Now, you can set the color labels and they persists even after refreshing. However, only files that have a color tag appears in this view. Anything without a tag gets filtered out.


Is there a workaround for this, maybe? :?:

Re: Color Labels problem in Multi Branch Views

Posted: 12 Mar 2016 11:35
by bdeshi
jaywalker32 wrote:...
4. Refresh (F5). The color tagging disappears.
Did everything likewise - but the tags are still visible in list. In my personal XY-profile, and in a ::fresh instance.
Are you using the latest release?
Also check if the issue exists in a fresh instance (type ::fresh; in addressbar and press Enter.)

Re: Color Labels problem in Multi Branch Views

Posted: 12 Mar 2016 18:50
by jaywalker32
I tried with a ::fresh; instance (even in a new VM), and the problem persists. I'm using version 16.30.

Are you sure you haven't also done step (5) ? Because if you add the lbl: option to the filter, the color will remain, but then it will only show color tagged files.

Re: Color Labels problem in Multi Branch Views

Posted: 12 Mar 2016 19:59
by bdeshi

Code: Select all

lbl:
finds items with any label.

Code: Select all

lbl:""
finds items without labels (label empty).

edit: the first case might be a bug. It's not documented anywhere I think (infact the manual suggests lbl:?* as the way to match any label) And anyone would guess lbl: will find items that have no label.

Re: Color Labels problem in Multi Branch Views

Posted: 13 Mar 2016 06:14
by jaywalker32
That's fine, but what I'm trying to get is a MBV that retrieves all files (with and without color labels). But those files which do have a label, to display that label.

However, it seems that MBV does not retrieve the data for any non-default column, unless it's specified in the search filter. It's the same with Tags as well.

Now I'm trying to get something like: c:\test\Folder1;c:\test\Folder2? : lbl:"" | lbl: /:flatfiles

but the boolean flag (:) doesn't seem to apply with lbl:

Re: Color Labels problem in Multi Branch Views

Posted: 13 Mar 2016 07:05
by bdeshi
MBV does display all available columns and label overlays if they are there. You should see labels with your searches/BVs. Something else is interfering. :?