Solarized color scheme is broken

Bug #1885533 reported by ruruoli on 2020-06-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
konsole
New
Wishlist
konsole (Ubuntu)
Undecided
Unassigned

Bug Description

This is displayed with "Solarized":
https://invent.kde.org/utilities/konsole/uploads/2c16c1f86db4dfdeb9618d16e0fc0654/image.png

And this is with default "Breeze":
https://invent.kde.org/utilities/konsole/uploads/a4793763738031bf0c4d54f20034fe2a/image.png

Tested with konsole from flatpak + bash and konsole from apt with fish/bash

My os is kubuntu 20.04

If you select the "Solarized Dark" theme or the "Solarized Light" one, when you do `ls --color` all files are displayed pretty much with the same color, even if they are directories or normal files. Other commands like `grep --color PATTERN files` seem to work and they are correctly coloured.

I tried this on OpenSUSE Leap, OpenSUSE Tumbleweed and KUbuntu 16.04 (and with the PPA to have an updated KDE version), all with the same result. The only distro where the Solarized them works well is Fedora 23 KDE.

Looking at their package, there is this patch http://pkgs.fedoraproject.org/cgit/rpms/konsole5.git/tree/konsole-15.12.3-xterm-256color.patch but even setting that variable didn't solve the issue. I believe Fedora is working well because they applied also some patches to the coreutils package (for example http://pkgs.fedoraproject.org/cgit/rpms/coreutils.git/tree/coreutils-8.25-DIR_COLORS.patch, http://pkgs.fedoraproject.org/cgit/rpms/coreutils.git/tree/coreutils-8.5-dircolors.patch, http://pkgs.fedoraproject.org/cgit/rpms/coreutils.git/tree/coreutils-colorls.sh).

I think it would be nice having the right colours for `ls --color` even without changing the colors of ls.

Reproducible: Always

Steps to Reproduce:
1. Goto Settings > Edit Current Profile > Appearance
2. Select Solarized Dark theme > Apply > Ok
3. Execute `ls --color /etc`

Actual Results:
Directories and normal files in /etc are all displayed with the same color and regular style

Expected Results:
Directories should have a different colour, to make it easier distinguish dirs and files.

Both solarized and solarized light color schemes use the same color to list files and folders on Arch Linux, konsole 18.04.

Changed in konsole:
importance: Unknown → Wishlist
status: Unknown → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.