fix(ui): checkbox checkmarks on high-DPI displays (#24) #30
No reviewers
Labels
No labels
Kind/Bug
Kind/Feature
Priority/High
Priority/Medium
Reviewed/Confirmed
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ai-collab/bulk-image-organizer!30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "0.1.1/issue-24-checkbox-checkmarks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixes #24 — checkbox state toggled correctly but the checked indicator was invisible on standard and high-DPI displays.
Root cause
Checkbox checkmarks were rendered via
QCheckBox::indicator:checked { image: url(...) }in the application stylesheet, using a fixed 15×15 PNG. Qt does not reliably load or scale those indicator images at device pixel ratios above 1.0.Solution
ThemedProxyStyle, which paints checkbox indicators viaQPainterusing theme colors.QApplication.setStyleSheet()so checkbox drawing stays on the proxy while panel/splitter rules remain in QSS.Version
Bumps
VERSIONto 0.1.2.Verification
ruff check . && ruff format --check .pytest(218 passed, 1 skipped)./scripts/smoke-ui-exit.shThreading notes
No worker or threading changes; UI style/paint path only on the main thread.