maboroshin / qBittorrentDarktheme

qBittorrent Dark theme
1.17k stars 49 forks source link

New UI Theme Configuration in qBittorrent #42

Open maboroshin opened 9 months ago

maboroshin commented 9 months ago

Old qbtheme The method of compiling qbtheme was too difficult. Very time consuming for me. Change values, compile, restart qBittorrent, repeat the process. Because there is no guarantee that changing that value will change the appearance. We change the various values until the desired color changes. It takes 1-2 hours to change one place. Or, after a lapse of time, conclude that it's unchangeable. I would oppose repeating this process on a regular basis.

This was already the case in 2020-2021. However, I would like to believe that I have created an ideal dark theme. There are major changes to qBittorrent that break existing themes. They don't preserve existing themes. It takes me a long time to make a theme twice. However, Most people can't customize the theme. There will remain unrepaired themes. That is the prediction.

Furthermore, .qbtheme was going to be disabled in 4.6.0. See #18214 below.

See also qbtheme specification change issue

But there was also good news : New theme customization feature

Within Issue #17081 above, a improved native dark theme was released in May 2023, in version 4.6.0alpha1! Version 4.6.0 has already been released on October 22, 2023.

We can easily change the UI now.

image

How to call new UI Theme Configuration

You need to start with this command (Portable apps are also possible):

  1. The easy way is to create a shortcut.
  2. Open the properties of the created shortcut.
  3. Add the command after the path.
  4. Press OK.
  5. Turn off "Use custom UI Theme" in qBittorrent's option.
  6. Restart qBittorrent.
  7. If the Windows OS color theme is set to dark, qBittorret will also be dark.
  8. There are also auto apps such as: Auto Dark Mode for Windows

image

Built-in color issues

The new icons in version 4.5.0 use primary colors and high contrast. But we seem to be easily changeable icons. (But originally the qBittorrent's icon should be changed) I have previously created a script to batch convert the color values of qBittorrent icons.

All that remains would be to improve qBittorrent's built-in color values. However, Icon colors without design such as red value 255 should also be corrected.


glassez said:

Windows Vista style, used on Windows by default, doesn't support dark mode. When you enable darkmode=2 (via command line, environment variable or qt.conf) Qt handles Windows dark mode by automatically change style to "legacy" Windows. This doesn't seem to work anymore, starting with Qt 6.5, so you need to manially activate some style that supports dark mode. In a future version, we are testing Fusion style to be used by default.

maboroshin commented 3 months ago

I advised about the built-in color. https://github.com/qbittorrent/qBittorrent/issues/17081#issuecomment-2263218653