aarnt / octopi

A powerful Pacman (Package Manager) front end using Qt libs

Home Page:https://tintaescura.com/projects/octopi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getTreeViewCSS is unreadable on dark themes

buckmelanoma opened this issue · comments

getTreeViewCSS is used for the Files and Actions tabs and sets custom icons for the tree view elements. Since these are static images they remain black even when using a dark window color, making them nearly invisible.

b4

Removing
m_tvTransaction->setStyleSheet(StrConstants::getTreeViewCSS());
and
m_tvPkgFileList->setStyleSheet(StrConstants::getTreeViewCSS());
from propertiestabwidget.cpp yields tree view elements that have proper contrast in dark themes:

af

Fixed in upstream.