qbittorrent / qBittorrent

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

Cannot toggle to lightmode on WebUI #21600

Open erentar opened 1 week ago

erentar commented 1 week ago

qBittorrent & operating system versions

5.0.0-r2-ls358

What is the problem?

It is impossible to toggle between dark and light modes without editing the css.

Steps to reproduce

No response

Additional context

The UI should allow a toggle button if the user would prefer not to see the webpage in dark mode

Log(s) & preferences file(s)

irrelevant

Auximen commented 1 week ago

This is terrible, I can't return the light theme to Docker on Synology NAS. I don't want to change Windows settings to light just so that in one application - qBittorrent web interface is light. Now I'm busy looking for alternative torrent clients. Why was it necessary to release this 5.0.0 update, which spoils the web interface so much?

xavier2k6 commented 1 week ago

clear browser cache

HanabishiRecca commented 1 week ago

I don't want to change Windows settings to light just so that in one application - qBittorrent web interface is light.

You could also tweak that on a browser level. E.g. how to do it in Firefox.

Why was it necessary to release this 5.0.0 update, which spoils the web interface so much?

It's your opinion. I like the new style and like to have the dark mode everywhere. And I won't even ask why you have the entire system in the dark mode and want only 1 specific app to flashbang you in the light mode.

erentar commented 1 week ago

You do not know if this is an accessibility issue, if the user needs dark theme on other webpages but not on this one

If a user needs a functionality, (and might i say a rather simple one) that will make their usage easier and more accessible, why not?

erentar commented 1 week ago

I personally prefer my browser in dark mode due to the tabs however i prefer some webpages to be in light mode. Fortunately, most webpages (and also other selfhosted services) have recognised that this might create issues for their users, and thus offer explicit toggle buttons to switch between the two if the user so wishes.

I believe this is also why I was unable to hack firefox into making just this webpage into light mode and leave the rest dark, because most webpages handle this on their own

HanabishiRecca commented 1 week ago

I'm not against it. I just dislike the pointless rant above.

Although, considering that we use CSS prefers-color-scheme feature, implementing a toggle would be tricky.

kebien6020 commented 1 week ago

I have a similar ask here, but only because currently dark mode is kind of unreadable

Click to show screenshots ![image](https://github.com/user-attachments/assets/cb20e06e-524e-4ace-8683-f5f5355bbcdd) ![image](https://github.com/user-attachments/assets/1d9f494f-d2ba-4d7f-99fa-8b35e8553245) ![image](https://github.com/user-attachments/assets/357258a0-2b8f-45e8-8518-bbec20e4f377)

Edit: Collapsed the screenshots to avoid cluttering the thread. Btw, yes, clearing the cache worked.

HanabishiRecca commented 1 week ago

I have a similar ask here, but only because currently dark mode is kind of unreadable

Clear the browser cache.

Are you guys seriously think this could be the intentional design? Not a tiniest suspicion about something being wrong here?

Auximen commented 1 week ago

I have a similar ask here, but only because currently dark mode is kind of unreadable

Clear the browser cache.

Are you guys seriously think this could be the intentional design? Not a tiniest suspicion about something being wrong here?

In all the applications and interfaces I know, I can choose between a dark or light interface in the application settings. Why does the developer tie the interface to Windows or browser settings and remove the ability to choose the style manually? This is madness! I have a dark browser, but I find it convenient to use many applications in light.

HanabishiRecca commented 1 week ago

Why does the developer tie the interface to Windows or browser settings

Because web standards have an option for that.

and remove the ability to choose the style manually?

Except you're lying. WebUI never had such option. Nothing has been taken from you.

I have a dark browser, but I find it convenient to use many applications in light.

Sure. But qBittorrent is a free and open source software. So making demands here is pointless. The guy implemented the dark theme have done it the best way he could - #19901. It was a long and tedious process. You know how to do better? Contributions are welcome.

Yes, explicit toggle is a useful feature. Again, I'm not against it. But it could be implemented only when someone would go and implement it. Ranting about it would not change anything.

sledgehammer999 commented 1 week ago

Until this is solved via UI you can temporarily make your browser use a different color scheme for the particular tab with the WebUI open. I only have instructions for Firefox but I think something similar should be possible in Chrome. Ctrl+Shift+I to open Developer tools. Then click one of these icons: Untitled

HanabishiRecca commented 1 week ago

you can temporarily make your browser use a different color scheme for the particular tab with the WebUI open.

It requires to keep the devtools open though.

sledgehammer999 commented 1 week ago

It requires to keep the devtools open though.

Damn.