qbittorrent / qBittorrent

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

Cant enable Dark Mode in Windows #19754

Closed gh-log closed 1 year ago

gh-log commented 1 year ago

qBittorrent & operating system versions

qbittorrent_4.6.0_lt20_qt6_x64_setup.exe

What is the problem?

cant find option to enable Dark Mode in Windows.

Steps to reproduce

Screenshot 2023-10-23 142917

Additional context

No response

Log(s) & preferences file(s)

No response

glassez commented 1 year ago

cant find option to enable Dark Mode in Windows.

It is in Windows settings.

xavier2k6 commented 1 year ago

@gh-log please note that there is no dark mode enablement/switch available in qBittorrent program itself! for windows.

gh-log commented 1 year ago

My Windows is already in Dark Mode but QBT is not.

xavier2k6 commented 1 year ago

My Windows is already in Dark Mode but QBT is not.

Then my https://github.com/qbittorrent/qBittorrent/issues/19754#issuecomment-1775419202 applies.

17081 is relevant to what you are looking for aka something like below:

Screenshot 2023-10-23 161215

gh-log commented 1 year ago

My Windows is already in Dark Mode but QBT is not.

Then my #19754 (comment) applies.

17081 is relevant to what you are looking for aka something like below:

Dont understand, those comments dont help me get QBT Dark Mode.

How did you make it look dark in windows? External Theme?

ringoz commented 1 year ago

i suppose dark mode is not implemented yet

xypha commented 1 year ago

The answer is here

Run qbittorrent -style fusion -platform windows:darkmode=2 in command prompt (or) Go to shortcut of qbittorrent (on desktop or startup folder), Right click > Properties > under the heading "Shortcut", change Target: field to "C:\Program Files\qBittorrent\qbittorrent.exe" -style fusion -platform windows:darkmode=2

gh-log commented 1 year ago

Thank you both!

Why make it so complicated if it is there?

Theme is quite bad. To much gray instead of black. The idea is to save energy/eyes so more black is better.

This one looks better:

https://gitlab.com/qbittorrent-black-theme/client

maisondasilva commented 1 year ago

I suppose dark mode is not implemented yet.

Clearly visible that this old feature request, that was mentioned multiple times already, to get proper Native Dark Mode for Windows OS users isn't closed yet:

@gh-log @xypha @ringoz

This is how I got qBit v4.6 Dark Mode in Win11:

  1. Enable dark theme in Windows OS settings.
  2. Make sure you disable custom theme in qBit.
  3. Exit qBittorrent and make sure it's fully closed.
  4. Now try running qBit with one of these:

Right-click on your Start Menu icon, then select RUN, then copy and paste the default qBit location with the extra command and press OK: "C:\Program Files\qBittorrent.exe" -platform windows:darkmode=2

Alternatively, you can modify qBit shortcuts:

Open Start Menu, right-click on the qBit shortcut, select to open its location, now right-click on the shortcut file, right-click on it, click properties, and then change Target field to: "C:\Program Files\qBittorrent\qbittorrent.exe" -platform windows:darkmode=2

Or on desktop, copy your qBit shortcut, rename it as qBit Dark Mode, then right-click on it, select properties, and then change the Target field to: "C:\Program Files\qBittorrent\qbittorrent.exe" -platform windows:darkmode=2

I tried adding -fusion style, but that seems unnecessary, because that didn't make any obvious difference how qBit v4.6.0 looks like. I couldn't figure out how to run qBit using PowerShell either and seems convenient enough to use RUN or modify qBit shortcuts until there's no more need to use this workaround.

Thanks for the tip, the new theme is perfect, just the fact that it has darkmode is great. My only suggestion is that the buttons could have rounded corners, but that's not a problem.

image

mzso commented 1 year ago

Not sure why this was closed. There's a real issue here. Dark mode not activating, even though Windows is in dark mode, combined with the fact that the app has no options to enable dark mode manually.

xavier2k6 commented 1 year ago

@PriitUring Thanks for the detailed post as usual! & I will lock this now to save from necroing in the future.

@mzso

  1. Reset your qt.conf file to original state/defaults as you changed them in the other dark mode ticket (this is probably why you can't get it to work for you):
[Paths]
Translations = translations

[Platforms]
;WindowsArguments = dpiawareness=1
  1. Read my https://github.com/qbittorrent/qBittorrent/issues/17081#issuecomment-1800271828.