Boxed/highlighted directories/files in list view

Features wanted...
Post Reply
noutters
Posts: 40
Joined: 17 Jan 2006 15:39
Location: Sweden

Boxed/highlighted directories/files in list view

Post by noutters »

Hi, I have two requests.

1) I love using boxed and highlighted directories in the tree view. I would like to use this functionnality in the list view. Any chance to see it coded one day?

2) Any chance to set up box and highlights by scripting? I would need some logics in the scripts to toggle the highlights or boxes by date, size, text, etc...

Cheers, :D

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

Re: Boxed/highlighted directories/files in list view

Post by jacky »

noutters wrote:1) I love using boxed and highlighted directories in the tree view. I would like to use this functionnality in the list view. Any chance to see it coded one day?
Configuration - Interface Colors : Apply box color to list.
noutters wrote:2) Any chance to set up box and highlights by scripting? I would need some logics in the scripts to toggle the highlights or boxes by date, size, text, etc...
You can set them using scripts, yeah, using commands box & highlight, but unless it's a "the n older get red and the n next ones get blue" kinda thing you won't be able to do an automatic script like "if older than n days then red else blue"...
Proud XYplorer Fanatic

noutters
Posts: 40
Joined: 17 Jan 2006 15:39
Location: Sweden

Post by noutters »

Configuration - Interface Colors : Apply box color to list.
I am afraid I was a bit unclear in my request. I would like to see highlights of files and directories in the list view, not the highlight of the whole content when I open the directory.

i.e:
"c:\program files" highlighted in tree view = "c:\program files" highlighted in list view when the source is c:\
Last edited by noutters on 04 Feb 2008 20:47, edited 1 time in total.

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 »

noutters wrote:i.e:
"c:\program files" highlighted in tree view = "c:\program files" highlighted in list view when the source is c:\
This could potentially prove useful when one needs to hide the tree (or doesn't normally have tree shown) in order to see more of the list.
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.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »

Basically you mean, include the highlighted paths in color filter, right?

noutters
Posts: 40
Joined: 17 Jan 2006 15:39
Location: Sweden

Post by noutters »

What I mean is making available folder highlighting in the file view. :wink:

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »

noutters wrote:What I mean is making available folder highlighting in the file view. :wink:
Oh, OK. "Text Highlighting"!! I thought "Text coloring" like what color filters do now.
I understand you could not show this here since forums don't allow that. but your example was confusing me.

But i agree, it would help in locating my favorite folders easily. My second choice would be bolding of text with respective tree highlight color.

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

Post by admin »

(Background-)Highlighting (potentially) conflicts with other coloring features of the list.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »

admin wrote:(Background-)Highlighting (potentially) conflicts with other coloring features of the list.
I agree, but i guess what noutters was suggesting was, if user sets highlight and box color in the tree in a non-conflicting way, then the conflicts in list will not appear too.
But since there are other colors in list (unlike tree), there could be potential conflicts. I can recognise 5 other conflicting colors, but still i dont mind.

It is definitely an useful feature because favorite folders can be spotted easily and its upto user to choose what is conflicting and what is not. plus having similar colors in tree and list will make things consistent.

I mostly use catalog and not favs, but i might start using it since it seems useful for easy spotting.

:?: Will the highlight be shown in search mode too??

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 »

It also depends on how the colors are done, that is, in which order...such that this highlight would override/overlay any other colors...

And also as to what fields are involved...I would think that just marking the name field would be best, as that would leave other markings untouched.

And IF it conflicts, I'd say that it's at the users request, so what's the problem? I don't see one yet.
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.

noutters
Posts: 40
Joined: 17 Jan 2006 15:39
Location: Sweden

Post by noutters »

Here is a solution to handle color conflicts:
I guess the problem is when the text has the same color as the background. Like in this text: [Message body] Yellow on light gray is not so readable, huh? :(

:arrow: Solution: change the text color of the highlighted folder/files consequently.
If the background and the text colors are too close, transform the text R-G-B to H-S-V, pick H, add 180 modulo 360 (because 0=<H<360) and you get H2, the complement. Assign H2-S-V to the text. That would do the trick. Read more about HSV here http://en.wikipedia.org/wiki/HSV_color_space

In my example, you would obtain after recoding the color something like [Message body] that is much more readable :)

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

Post by admin »

noutters wrote:Here is a solution to handle color conflicts:
I guess the problem is when the text has the same color as the background. Like in this text: [Message body] Yellow on light gray is not so readable, huh? :(

:arrow: Solution: change the text color of the highlighted folder/files consequently.
If the background and the text colors are too close, transform the text R-G-B to H-S-V, pick H, add 180 modulo 360 (because 0=<H<360) and you get H2, the complement. Assign H2-S-V to the text. That would do the trick. Read more about HSV here http://en.wikipedia.org/wiki/HSV_color_space

In my example, you would obtain after recoding the color something like [Message body] that is much more readable :)
But the text color transports information (Color Filters...). I cannot just change it.

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

Post by jacky »

admin wrote:But the text color transports information (Color Filters...). I cannot just change it.
Well, in the mean time those color filters are likely to mostly affect files, not folders. So it's doesn't matter here, since obviously Highlighted Folder only applies to, yes, folders!

And just like with any other colors (List colors & Color Filters, Boxed Branches when applied to List, etc) in the end you can say it's all up to the user to select his colors appropriately & use options he wants.
Proud XYplorer Fanatic

noutters
Posts: 40
Joined: 17 Jan 2006 15:39
Location: Sweden

Post by noutters »

I understand box-highlighting is an issue that conflicts with color filters.
This conflict is really up to the user to handle. It depends how you set-up your color filters. Today, if I want to have white text on light gray background and water my eyes off, it's my problem :wink:

:arrow: Why not highlight folders/files in the file view with hollow boxes with 1 or 2 pixel width and a user (or parameter like size, date, etc...) defined color?

Post Reply