Visual Filter on tab varies in position: Why?

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Visual Filter on tab varies in position: Why?

Post by j_c_hallgren »

Just wondering about this...may not be really a bug but a wish, as not sure!
When I have a VF applied to a tab, it shows (in most cases) right after the folder name, and separated by a "|"...fine...but when I have folders with what seems to be only multi-part names, the VF is at the extreme right of the tab! :? So...which behavior is best? I'm not sure, but the inconsistency seems a bit odd. :shock:
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

hmm... not sure what you mean by "the VF is at the extreme right of the tab" ??

It's always done the same way, adding "|" then the VF itself. Part of the location or the VF can be "cropped" a bit as XY tries to show the best of both (I actually like how this is done in XY, here or to show path on tab's header or column :)), and if it can't be done the location is simply put on the Marked Text color.

Or, do you mean, sometimes you don't actually see the VF, eg you get "Folder|*.." or even ""Folder|.." ??
Either way, when the VF can't be fully shown on the Tab's header, you can have it on the tooltip!
Proud XYplorer Fanatic

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

On 5.10.17, what I'm seeing is something like:

Code: Select all

My Documents\Financial | *.zip
--but when a multi-part name (two or more words) --:

Code: Select all

My Documents\Work Folder Bkup        | *.zip
It still shows all the data, but the *.zip is right-justified on the tab, it appears, instead of trailing the folder name.

(I used the CODE tags to get a font that is fixed width)

Update: In the tooltips, the VF is STILL separated by a "\" and not "|" :roll:
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

Gandolf

Post by Gandolf »

I see the effect, but I can't work out what triggers it, and I would call it a bug.

Path of "C:\Program Files\InstallShield Installation Information\" with a filter *.jpg.

One tab: Filter is displayed following the path.
Two tabs: Filter is displayed to the extreme right of the tab.
Three tabs: Filter is displayed following the path, but the path name is truncated to "InstallShield Installation Information".
Four tabs: not enough space on the tab to display everything!

It is dependant on window width, reducing the width with a single tab the filter moves to the extreme right.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

oh well, I couldn't reproduce this.

Note for the tooltip: Yeah, I actually like it that way, looks better/makes more sense to me than with | (allthough I understand it takes less space that way ;))
Not sure if it should be changed, but maybe so for consistency..... :unsure:

EDIT: oh yeah i could! ;) Seems to be linked to the number of chars as well as spaces, at least to me. Started to happen for me with this:
C:\1234567890 123456789012345678901\2 Spa\
then the VF was all the way to the right, but this one:
C:\1234567890 123456789012345678901\2 Sp\
was fine; and the first one with an underline instead of a space was fine too. Couldn't reproduce it at first cause I always have a few tabs opened so can get long names, they go "cropped" soon ;)

Actually, and to the size of tabs, cause with my tabs happens on this:
R:\123 123\2
Proud XYplorer Fanatic

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

Post by admin »

Yes, it was a bug.

And here's the solution to your guessing:
Conditions: caption is larger than half of the space, VF suffix is smaller than half of the space.

:)

Post Reply