Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 759820 - sys-apps/portage emerge pretend/ask status and use/useexpand colors (partially?) ignore
Summary: sys-apps/portage emerge pretend/ask status and use/useexpand colors (partiall...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Reported: 2020-12-13 16:29 UTC by Duncan
Modified: 2020-12-18 22:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Duncan 2020-12-13 16:29:11 UTC
FWIW currently portage-3.0.12, but I didn't put it in the summary as I expect most or all current portage versions have this bug.

Today I nearly missed an emerge --ask downgrade indicator.  I normally investigate all such downgrades with git log to understand why they're happening and if there's any other actions I may need to take as a result, and nearly missing one is... disconcerting.

So I tried to adjust the downgrade indicator color from the apparent default blue using /etc/portage/  But I couldn't find any setting there that changed it.

Eventually I confirmed by adding the underline attribute to all settings in and trying a downgrading emerge --pretend.  Unfortunately both the status letters (including the downgrade indicator) and the USE and USEEXPAND sections weren't underlined at all, while parts like the ebuild name/version were underlined, indicating the terminal supported underline and the setting was working for some elements.  Thus this bug.

(Further background:  My nearly missing the downgrade likely traces to recent kde-konsole changes that make "intense" and "normal" colors the same.  I already had to adjust yellow/brown for that.  Presumably the default "blue" is "intense/bright" while "darkblue" is not, and now that konsole is displaying blue as dark-blue, on my konsole color-scheme's default black background it's easily missed.  Others are having problems with that konsole behavior change as well so it may ultimately be reverted.  See and the complaints below it.  Regardless, all colored elements of portage's pretend/ask output need to honor settings so people can change them if they want/need to.)