strange background color under the progress bar of the selected line #14650

Open
opened 2026-02-22 01:17:14 -05:00 by deekerman · 0 comments
Owner

Originally created by @b-user on GitHub (Jun 1, 2023).

qBittorrent & operating system versions

qBittorrent: 4.6.0 b2 qt6 x64 ;
qBittorrent: 4.5.3 qt6 x64 ;
qBittorrent: 4.5.2 qt6 x64 ;
qBittorrent: 4.3.9 qt5 x64 ;
Windows 11 (10.0.22xxx)

What is the problem?

The background color under the progress bar of the selected line (line in focus) changes to "highlighted".
Expected - the background color remains white/gray (corresponds to the color of the alternating line) as other elements of selected line.
I have not found a way to avoid coloring the background of the selected progress bar
It looks like a bug (design bug).

Steps to reproduce

  1. use the theme
  2. add torrent
  3. "select" (focus on) line

Additional context

I wanted an elegant (not fatty) progressbar with thin border.

capture_002_01062023_101524

Here you can see that when selecting a line (the line in focus), the background color:

  1. under the progress bar background color changes to "highlighted".
  2. under the elements (except the progress bar) background color remains white / gray (the color of the rows when alternating).

I created a simple theme that only changes the progress bar
The theme consists of an empty config.json (for compatibility) and file stylesheet.qss

QProgressBar {
  border: 1px solid #887788;
  text-align: center;
  border-radius: 4px;
  margin: 4px 4px;
}

QProgressBar::chunk {
    background-color: #4882e1;
}

for 4.3.9 it was compiled to ".qbtheme"

screenshots
qBittorrent: 4.5.3 qt6 x64 ;
qBittorrent: 4.5.2 qt6 x64 ;
qBittorrent: 4.3.9 qt5 x64 ;

capture_001_01062023_101516
capture_002_01062023_101524
capture_003_01062023_101531
460-b2-c2

Log(s) & preferences file(s)

config.json.txt
stylesheet.qss.txt

No response

Originally created by @b-user on GitHub (Jun 1, 2023). ### qBittorrent & operating system versions qBittorrent: 4.6.0 b2 qt6 x64 ; qBittorrent: 4.5.3 qt6 x64 ; qBittorrent: 4.5.2 qt6 x64 ; qBittorrent: 4.3.9 qt5 x64 ; Windows 11 (10.0.22xxx) ### What is the problem? The background color under the progress bar of the selected line (line in focus) changes to "highlighted". Expected - the background color remains white/gray (corresponds to the color of the alternating line) as other elements of selected line. I have not found a way to avoid coloring the background of the selected progress bar It looks like a bug (design bug). ### Steps to reproduce 1. use the theme 2. add torrent 3. "select" (focus on) line ### Additional context I wanted an elegant (not fatty) progressbar with thin border. ![capture_002_01062023_101524](https://github.com/qbittorrent/qBittorrent/assets/11581901/c4f6bad2-f364-4d82-a006-6197d71ad8e2) Here you can see that when selecting a line (the line in focus), the background color: 1. under the progress bar background color changes to "highlighted". 2. under the elements (except the progress bar) background color remains white / gray (the color of the rows when alternating). I created a simple theme that only changes the progress bar The theme consists of an empty config.json (for compatibility) and file stylesheet.qss ``` QProgressBar { border: 1px solid #887788; text-align: center; border-radius: 4px; margin: 4px 4px; } QProgressBar::chunk { background-color: #4882e1; } ``` for 4.3.9 it was compiled to ".qbtheme" screenshots qBittorrent: 4.5.3 qt6 x64 ; qBittorrent: 4.5.2 qt6 x64 ; qBittorrent: 4.3.9 qt5 x64 ; ![capture_001_01062023_101516](https://github.com/qbittorrent/qBittorrent/assets/11581901/08c7c950-bb75-461e-8e5f-2de859fb0ef5) ![capture_002_01062023_101524](https://github.com/qbittorrent/qBittorrent/assets/11581901/c4f6bad2-f364-4d82-a006-6197d71ad8e2) ![capture_003_01062023_101531](https://github.com/qbittorrent/qBittorrent/assets/11581901/9848f34a-4f8d-4489-a554-b454480781f0) ![460-b2-c2](https://github.com/qbittorrent/qBittorrent/assets/11581901/1256d218-8eb4-4aa9-9f40-108c7293b1c3) ### Log(s) & preferences file(s) [config.json.txt](https://github.com/qbittorrent/qBittorrent/files/11623028/config.json.txt) [stylesheet.qss.txt](https://github.com/qbittorrent/qBittorrent/files/11623029/stylesheet.qss.txt) _No response_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#14650
No description provided.