-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need way to switch between Dark and Light Mode regardless of System Mode #21421
Comments
Hi, I have the same problem. I've just updated to version 5.0.0 and, out of the blue, dark mode is enabled by default and I can't find a way to switch back to light mode. My Windows 11 has always been in dark mode, but, generally speaking, I prefer to have my programmes in light mode. Is there a way to tell QbitTorrent 5.0.0 that, despite having dark mode in Windows 11, I prefer the programme in light mode? Thanks! |
@ObedPM you should change the title of this issue to something like "Need way to switch between Dark and Light Mode regardless of System Mode". |
Yes, that's not a bug, qBittorrent v5+ changes theme based on your OS settings. It was made so to resolve Windows qBit users old feature request to have qBittorrent automatically support native Windows theme.
List of custom UI theme files are here: If you dislike using custom UI theme files to switch between Light or Dark, then change your OS settings and qBittorrent v5+ will automatically switch to be similar to native system theme. To customize Windows 10 & 11 theme:
If you or anyone else wants more settings and theme related options to be built-in to qBittorrent, then you should create a new feature request. Alternatively if you want to discuss and share ideas or wish to get more complex workarounds to make qBittorrent look how you want, then please use the Discussions page. |
For those that don't want qBittorrent v5 to automatically switch to Dark "App" mode, here are some choices: |
If you want the native style (used in v4.6.x) The darkmode possible values are explained here: https://doc.qt.io/qt-6/qguiapplication.html#platform-specific-arguments |
I wonder if we should provide an UI setting "Use native UI style (may disable dark mode)". |
and hinder HiDPI support as previously discussed |
Citation? I run HiDPI with fractional scaling and native style since qt5 and I haven't had issues. Can you point me to them? |
Revisit PR #19051 |
now we will always have to do this to get a non-broken interface? |
If something is broken, then a proper new issue report needs to be made. |
they came here from #21423 |
ok, but Qt still prefer it (fusion style) in Qt 6 for Windows 11 (although....since then they now also have introduces a windows11 style) |
Also, see my other #19051 (comment) |
Sure. They recommend it for dark mode, regardless of hidpi. |
https://doc.qt.io/qt-6/highdpi.html Qt 5 was not. |
We have officially dropped qt5 support. |
Of relevance to this issue: It seems that 6.8 introduces a setter for the colorscheme to hint to the system the color mode an application wants. The system may not respect that. And it isn't clear from the docs if Windows will follow it. |
Qt are always changing what they are doing/don't fully document changed behaviour etc... look at what was happening to qBittorrent in earlier Qt 6.5 dark "app" mode support with |
Thanks, @xavier2k6 : editing the config file worked for me. If light mode can be forced this way, is there a chance the feature can be accessed via the settings of the programme in a future release? |
I'm not sure the config file can be edited during runtime but no doubt there'll be another solution provided in near future. |
I keep my fingers crossed! :-) |
Is there a way to set this on autostart (hopefully in a way that's persistent after upgrades) and that doesn't require to set a global environment variable (i.e. |
qBittorrent & operating system versions
qBittorrent: 5.0.0 x64
Operating system: Windows 10 Pro
What is the problem?
How can i change the dark theme? Is set up by default!
Steps to reproduce
No response
Additional context
No response
Log(s) & preferences file(s)
No response
The text was updated successfully, but these errors were encountered: