qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
26.08k stars 3.84k forks source link

Cant enable Dark Mode in Windows #20325

Closed Sin-Shadow-Fox closed 4 months ago

Sin-Shadow-Fox commented 5 months ago

qBittorrent & operating system versions

qBittorrent: 4.5.5 x64 Operating system: Windows 7 Home Premium 6.1 (Build 7601: Service Pack 1) x64

What is the problem?

The only way to enable dark mode that I've read so far is a rather clunky workaround that doesn't work. I've also noticed a user (xavier2k6) going around closing requests and bug reports for this claiming their duplicates of an unrelated ticket that doesn't work for most users. There does not seem to be a target field tab in the executable file Capture and command prompt does not recognize the commands recommended stating that it's not a command (not sure what that means) Capture 2

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

No response

DexLuther commented 5 months ago

Link to original comments since the font in the screenshots is hard to read:

https://github.com/qbittorrent/qBittorrent/issues/17081#issuecomment-1567356176

Also, the original thread discusses "native dark mode," which is a feature starting in Windows 10. It's not available in Windows 7.

In the same thread the screenshots came from:

xavier2k6 commented Nov 7, 2023

Dark Mode Requirements:

* Windows 10 `1903`+

* qBittorrent 4.3.0+ (1st Qt 5.15.x based build) **OR** qBittorrent 4.4.0+ (1st Qt 6.x based build `IIRC`)

Example:

Should you wish to enable Dark Mode & run Official qBittorrent 4.6.0 (Qt 6.4.3)

1. Open `command prompt`

2. Navigate to where "qBittorrent" is installed ie official = `C:\Program Files\qBittorrent`

3. Run command `qbittorrent -style fusion -platform windows:darkmode=2`
   **(Command used for any qBittorrent based builds of Qt 5.15.x  or <=Qt 6.4 Series)**
   Or

4. Run command `qbittorrent -style fusion` for any Official qBittorrent `Qt 6.5 Series` based build
   **(Qt are using the equivalent `darkmode=2` switch as `default` as of Qt 6.5 Series.)**

(-style fusion is a Qt recommended style command)

NONE of these commands nor the need to run qBittorrent through command prompt or with associated shortcuts will be necessary in a future release with Dark Mode on Windows Support

Are there caveats to current Dark Mode support? - Yes

Are these caveats being worked on by the qBittorrent team? - Yes & No, some caveats are introduced by upstream Qt & require them to fix eg. QTBUG-112879

Why is Windows 10 1903+ required when min supported platform of Qt 5 is Windows 10 21H2 & Qt 6.x is Windows 10 1809+?

darkmode=[0|1|2] controls how Qt responds to the activation of the Dark Mode for applications introduced in Windows 10 1903 (since Qt 5.15).

As of Qt 6.5, the default value is 2

https://doc.qt.io/qt-6/qguiapplication.html#platform-specific-arguments

AvangionQ commented 5 months ago

If dark doesn't work, I might recommend this custom UI theme: https://github.com/jagannatharjun/qbt-theme/tree/master

Give it a try, lemme know if it works out for you.

Sin-Shadow-Fox commented 5 months ago

If dark doesn't work, I might recommend this custom UI theme: https://github.com/jagannatharjun/qbt-theme/tree/master

Give it a try, lemme know if it works out for you.

Honestly i think Dracula 2 looks and feels better. https://forum.qbittorrent.org/viewtopic.php?p=38795#p38795

xavier2k6 commented 4 months ago

not available in windows 7