Skip to content

citra_qt: Use stylesheet with light colored icons if dark mode is used by the system#623

Closed
ghost wants to merge 3 commits into
masterfrom
unknown repository
Closed

citra_qt: Use stylesheet with light colored icons if dark mode is used by the system#623
ghost wants to merge 3 commits into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Mar 4, 2025

Copy link
Copy Markdown

Fixes #520

Now the icon stylesheet isn't always black but dynamically changes depending on dark/light mode system state

TO:DO

Test Linux and macOS

Demo::

Screenshot 2025-03-04 151224
Screenshot 2025-03-04 151212

@OpenSauce04 OpenSauce04 added the bug Something isn't working label Mar 4, 2025
@OpenSauce04 OpenSauce04 self-requested a review March 4, 2025 17:44
@OpenSauce04

OpenSauce04 commented Mar 4, 2025

Copy link
Copy Markdown
Member

This PR doesn't seem to resolve the problem you're referring to, on Linux at least.
This is what the System theme looks like with Breeze Dark enabled in KDE Plasma 6:
Screenshot_20250304_180125
I'm going to convert this PR to a draft. It can be marked as ready for review when it's working properly across the board.

@OpenSauce04 OpenSauce04 marked this pull request as draft March 4, 2025 18:02
@ghost

ghost commented Mar 4, 2025

Copy link
Copy Markdown
Author

@OpenSauce04 Can you try on macOS and let me know if it works there

I need to know if the issue is isolated to Linux. Most likely dark mode isn't being detected properly on Linux

@ghost

ghost commented Mar 4, 2025

Copy link
Copy Markdown
Author

image

Working fine on windows 11

@OpenSauce04

Copy link
Copy Markdown
Member

Works on MacOS. Seems to be a Linux thing.

@ghost

ghost commented Mar 5, 2025

Copy link
Copy Markdown
Author

Fedora KDE 41
For some reason light mode doesn't use the stylesheet icons for me but system native ones instead however dark mode works

That's the way the normal build behaved gor me too

Screenshot (working fine on Fedora)

Screenshot_20250305_154422

@OpenSauce04

OpenSauce04 commented Mar 5, 2025

Copy link
Copy Markdown
Member

At some point in the next few days I'm going to spin up a Gentoo VM and install full-fat KDE to see if it's just my minimal KDE install being a bit weird.
If it's the latter we'll just progress with this PR.

@OpenSauce04 OpenSauce04 self-assigned this Mar 13, 2025
@OpenSauce04

OpenSauce04 commented Mar 13, 2025

Copy link
Copy Markdown
Member

Yeah that previous problem was totally just a skill issue on my part in some way, I tested using a Gentoo VM and it worked fine.
Will review now.

@OpenSauce04 OpenSauce04 marked this pull request as ready for review March 13, 2025 18:13

@OpenSauce04 OpenSauce04 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks fine to me

@OpenSauce04

Copy link
Copy Markdown
Member

Merged as 420b803, e6ca711

@ghost ghost deleted the qt-themed-icons branch March 13, 2025 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working manual merge size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lime3ds_qt doesn't change icons on native QT6 system light/dark mode theme

2 participants