equery shows active useflags in blue whereas several other tools like emerge and eix uses red to indicate what is active. This is confusing...
That's true, i have the same problem.
This actually has a fairly significant impact on the "usability" of the equery utility.
Technically speaking yes, absolutely but from a user interface point of view this would be flagged as a major issue.
Actually, this is also an eix bug: Portage shows inactive useflags in blue
whereas eix uses gray. I only realized now that I had an
/etc/portage/colors.map mapping blue to grey since ages...
Next eix version will fix this (as well as downgrade colors), but the release
will take time, since the svn host is currently down and will stay so
for a while.
Created attachment 256005 [details, diff]
Swap useflag colors (red/blue)
I think this should fix it; it works for equery uses.
(In reply to comment #5)
> Created attachment 256005 [details, diff]
> Swap useflag colors (red/blue)
> I think this should fix it; it works for equery uses.
tools-portage guys: is that patch acceptable? ^
If yes, can you please apply it? Or can I help with anything?
Created attachment 273221 [details, diff]
New git-based patch
I have brought up the subject of the colors being inconsistent before but, I also feel that portage has them wrong. Red I feel being akin to Not enabled, much like a RED light means stop, while a GREEN light means go. That is also how they are shown in porthole.
does that mean you run RED lights when driving? ;) Heaven help us!
At least -0.3.0 should be consistent throughout it's modules.
This one needs the Boss's decision.
(In reply to comment #8)
> I have brought up the subject of the colors being inconsistent before but, I
> also feel that portage has them wrong. Red I feel being akin to Not enabled,
> much like a RED light means stop, while a GREEN light means go. That is also
> how they are shown in porthole.
> does that mean you run RED lights when driving? ;) Heaven help us!
Valid point, but then again you also have the red "ON AIR" light in a radio studio, and the US president has his "Big Red Button" - both denote a positive state/action (well, sorta)
Also the red is more vibrant than the blue on a (typically black, though this may well be true on white too) shell background so it makes the flags that are enabled stand out more. And green is already used to denote changed flags in emerge -vp output.
I'd say the prevailing colour scheme should be that already used by most tools (and portage itself ought to have greater weight in the evaluation, since everyone uses it).
*** Bug 385381 has been marked as a duplicate of this bug. ***
*** Bug 321477 has been marked as a duplicate of this bug. ***
I just changed this in the git repository, set useflags are now displayed in red and unset flags in blue. This change does not take into account any user defined colormaps. Using the colormaps from portage will be done in gentoolkit-0.3.1
The hardcoded change to match portage colors was released with gentoolkit-0.3.0.6-r2.