Summary:
In dark theme the Status column checkboxes on the Permissions dialog are invisible (checkmarks blend into the background).
Steps to reproduce:
- Switch to dark theme.
- Open Settings → Feature permissions (Permissions dialog).
- Observe the Status column: checked items show no visible checkmark.
Expected:
- Checkboxes are clearly visible in both light and dark themes.
Actual:
- Checkboxes appear invisible / checkmarks blend into the background in dark theme.
Likely cause:
- Status cells use a hardcoded icon or decoration that doesn't adapt to the current palette/QStyle.
Concrete fix:
- Let Qt draw theme-aware checkboxes instead of using custom icons:
auto *item = new QTableWidgetItem();
item->setFlags(item->flags() | Qt::ItemIsUserCheckable);
item->setCheckState(isAllowed ? Qt::Checked : Qt::Unchecked);
table->setItem(row, statusColumn, item);
- If custom icons are required, use monochrome SVGs and tint them with the current palette (e.g. QApplication::palette().color(QPalette::WindowText)) or provide light/dark variants and switch based on the palette.
Where to change:
- Update permissiondialog.cpp where the Status column is populated to use
setCheckState() or theme-aware icons.
Summary:
In dark theme the Status column checkboxes on the Permissions dialog are invisible (checkmarks blend into the background).
Steps to reproduce:
Expected:
Actual:
Likely cause:
Concrete fix:
Where to change:
setCheckState()or theme-aware icons.