Skip to content

[Bug]: Accent Colors show as Gray on Windows with PySide 6.8.0.1 #668

Closed
@CyanVoxel

Description

@CyanVoxel

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

main branch (v9.5.0)

Operating System & Version

Windows 10 22H2

Description

System accent colors grabbed by QPalette show as gray on Windows as of updating to PySide 6.8.0.1. The following snippet is from thumb_button.py:

self.select_color: QColor = QPalette.color(
            self.palette(),
            QPalette.ColorGroup.Active,
            QPalette.ColorRole.Accent,
        )

PySide 6.7.1 (aaea0b1)
image

PySide 6.8.0.1 (latest)
image

Note that I've only seen this occur on Windows while it seems to be functioning on macOS. Other native Qt widgets such as loading bars also seem to be grabbing the accent color correctly.

Expected Behavior

Accent/selection colors on all platforms should function as they used to before PySide 6.8.0.1.

Steps to Reproduce

  1. Open a TagStudio library on Windows (confirmed on 10, not sure about 11)
  2. Hover over an item thumbnail and observe the incorrect accent color

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: MediumAn issue that shouldn't be be saved for lastSystem: WindowsFor Microsoft WindowsType: BugSomething isn't working as intendedType: UI/UXUser interface and/or user experience

    Type

    No type

    Projects

    Status

    ✅ Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions