Fix for Dark Fusion theme

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

Post Reply
User avatar
MARK2580
Posts: 88
Joined: Tue Nov 20, 2018 5:22 am

Fix for Dark Fusion theme

Post by MARK2580 »

Please make the scrollbar in the dark theme more "noticeable". You can, for example, make the background brighter or the slider itself. When there are many files in a folder, it is almost impossible to see it.
oS26XIBO0c.png
oS26XIBO0c.png (21.99 KiB) Viewed 1216 times
seabirdr
Posts: 18
Joined: Fri May 15, 2020 9:53 am

Re: Fix for Dark Fusion theme

Post by seabirdr »

I think this is designed to look like this.If it were brighter it might be too eye-catching. The color is very subtle and the slightest misstep could destroy the harmony.
User avatar
MARK2580
Posts: 88
Joined: Tue Nov 20, 2018 5:22 am

Re: Fix for Dark Fusion theme

Post by MARK2580 »

seabirdr wrote: Fri May 28, 2021 3:16 pm I think this is designed to look like this.If it were brighter it might be too eye-catching. The color is very subtle and the slightest misstep could destroy the harmony.
Unfortunately, it is practically invisible. I have to turn the mouse wheel and look for at least some movement in order to understand where he is.
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Fix for Dark Fusion theme

Post by XnTriq »

MARK2580 wrote: Thu May 27, 2021 2:32 amPlease make the scrollbar in the dark theme more "noticeable".
As a workaround, you could add the following lines to ViewThemeDark themestyle_sheet_win.qss:

Code: Select all

QScrollBar::handle {
background-color: rgb(128, 128, 128);
}
QScrollBar::handle:hover {
background-color: rgb(153, 153, 153);
}
QScrollBar::handle:pressed {
background-color: rgb(204, 204, 204);
}
User avatar
MARK2580
Posts: 88
Joined: Tue Nov 20, 2018 5:22 am

Re: Fix for Dark Fusion theme

Post by MARK2580 »

XnTriq wrote: Sat May 29, 2021 7:00 pm
MARK2580 wrote: Thu May 27, 2021 2:32 amPlease make the scrollbar in the dark theme more "noticeable".
As a workaround, you could add the following lines to ViewThemeDark themestyle_sheet_win.qss:

Code: Select all

QScrollBar::handle {
background-color: rgb(128, 128, 128);
}
QScrollBar::handle:hover {
background-color: rgb(153, 153, 153);
}
QScrollBar::handle:pressed {
background-color: rgb(204, 204, 204);
}
This is a bad workaround. "dark theme" is terrible, I like Fusion better.
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Fix for Dark Fusion theme

Post by XnTriq »

MARK2580 wrote: Sun May 30, 2021 1:45 amThis is a bad workaround. "dark theme" is terrible, I like Fusion better.
Changes to style_sheet_win.qss are applied to all themes including Fusion dark (restart required).

Here's an even brighter version:

Code: Select all

QScrollBar::handle {
background-color: rgb(153, 153, 153);
border-color: rgb(102, 102, 102);
}
QScrollBar::handle:hover {
background-color: rgb(170, 170, 170);
border-color: rgb(119, 119, 119);
}
QScrollBar::handle:pressed {
background-color: rgb(187, 187, 187);
border-color: rgb(136, 136, 136);
}
In case you prefer HEX values:

Code: Select all

QScrollBar::handle {
background-color: #999;
border-color: #666;
}
QScrollBar::handle:hover {
background-color: #aaa;
border-color: #777;
}
QScrollBar::handle:pressed {
background-color: #bbb;
border-color: #888;
}
User avatar
MARK2580
Posts: 88
Joined: Tue Nov 20, 2018 5:22 am

Re: Fix for Dark Fusion theme

Post by MARK2580 »

XnTriq wrote: Sun May 30, 2021 12:45 pm
MARK2580 wrote: Sun May 30, 2021 1:45 amThis is a bad workaround. "dark theme" is terrible, I like Fusion better.
Changes to style_sheet_win.qss are applied to all themes including Fusion dark (restart required).
For me, changes only occur in the "dark" theme, when I select Fusion everything returns as it was. Yes, I restarted the program more than once. 🙄
Strip1.jpg
Strip1.jpg (56.27 KiB) Viewed 1053 times
UPD: in general, I realized what I want to see: help me to make the background of the scrollbar become as dark as next, then the scrollbar itself will always be perfectly visible (in Dark Fusion style)
en0NL0GbEC.png
en0NL0GbEC.png (19.15 KiB) Viewed 1039 times
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Fix for Dark Fusion theme

Post by XnTriq »

xnview wrote: Thu Jun 17, 2021 10:18 amI've asked Qt Team for the contrast problem of scrollbar...
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Fix for Dark Fusion theme

Post by xnview »

please check this topic
Pierre.
Post Reply