Author Topic: dark mode : scroll bar are difficult to spot  (Read 3101 times)

jcelle

  • Senior Community Member
  • Posts: 253
  • Hero Points: 5
dark mode : scroll bar are difficult to spot
« on: November 23, 2021, 09:02:58 AM »
Hello,
I was wondering if it was possible to modify the colors of the scroll bar (the bar you can grab with the mouse) ?
In dark mode it is very difficult to distinguish what is the bar (you can grab with the mouse) from the whole scrollbar background.
See screenshot.
Thanks for any advice.

Dennis

  • Senior Community Member
  • Posts: 3962
  • Hero Points: 517
Re: dark mode : scroll bar are difficult to spot
« Reply #1 on: November 23, 2021, 01:58:20 PM »
This was addressed in SlickEdit 2020 (25.0.2).  Which version of SlickEdit are you using?  And what platform?  And, if Windows, what OS color theme?

jcelle

  • Senior Community Member
  • Posts: 253
  • Hero Points: 5
Re: dark mode : scroll bar are difficult to spot
« Reply #2 on: November 23, 2021, 03:08:25 PM »
Ah there has been some regression too then ...
I am using version 2021 (v26.0.0.6 64-bit Qt5) and Dark Theme.

« Last Edit: November 23, 2021, 03:51:43 PM by jcelle »

Dennis

  • Senior Community Member
  • Posts: 3962
  • Hero Points: 517
Re: dark mode : scroll bar are difficult to spot
« Reply #3 on: November 23, 2021, 06:19:04 PM »
Linux, Windows, or Mac?  And when you say Dark Theme, do you mean the SlickEdit application theme or the OS theme?

jcelle

  • Senior Community Member
  • Posts: 253
  • Hero Points: 5
Re: dark mode : scroll bar are difficult to spot
« Reply #4 on: November 24, 2021, 06:57:59 AM »
Hi, sorry I was too quick in my answer.
So platform is Windows 10, not in dark theme.
In Slickedit I picked some Dark theme that I changed and saved (but not the scrollbar) so now it appears as "Dark: jcelle" in Appearance/Colors/Default color profiles.

Dennis

  • Senior Community Member
  • Posts: 3962
  • Hero Points: 517
Re: dark mode : scroll bar are difficult to spot
« Reply #5 on: December 02, 2021, 09:28:19 PM »
There was no regression between 25.0.2 and 26.0.0.  In your example, the colors look distinct enough to me.  Do you have HDR enabled on your display?  Maybe a subtle difference in contrast settings is the difference?  In either case, you can work around this by setting the scrollbar colors in the apptheme_profiles in <config>/user.cfg.xml.  Try adding this before </options> near the end of the file. 

This change makes the scrollbar handle lighter:  (and window background colors too)
Code: [Select]
<apptheme_profiles n="apptheme_profiles.Dark" version="1">
<window v="0x303030"/>
</apptheme_profiles>

This change makes the scrollbar background lighter (and effects a lot of other things too):
Code: [Select]
<apptheme_profiles n="apptheme_profiles.Dark" version="1">
        <button v="0x504040"/>
</apptheme_profiles>

Graeme

  • Senior Community Member
  • Posts: 2796
  • Hero Points: 347
Re: dark mode : scroll bar are difficult to spot
« Reply #6 on: December 03, 2021, 01:45:23 AM »
I don't use slick dark mode but I enabled it just to see what the scrollbar looks like and on my Win 10 machine it's very hard to see the scrollbar.

Dennis

  • Senior Community Member
  • Posts: 3962
  • Hero Points: 517
Re: dark mode : scroll bar are difficult to spot
« Reply #7 on: December 03, 2021, 01:37:29 PM »
This can be adjusted slightly for 26.0.1.  Would you want the scrollbar handle darker or the scrollbar background lighter?

Graeme

  • Senior Community Member
  • Posts: 2796
  • Hero Points: 347
Re: dark mode : scroll bar are difficult to spot
« Reply #8 on: December 03, 2021, 10:33:37 PM »
vis studio dark theme looks like this - attached.  When the mouse cursor lands on the moveable scrollbar it changes to an even lighter colour.

jcelle

  • Senior Community Member
  • Posts: 253
  • Hero Points: 5
Re: dark mode : scroll bar are difficult to spot
« Reply #9 on: December 11, 2021, 07:47:45 PM »
Thanks for all these replies and suggestions. I'll have a closer look tomorrow. If any change is possible in next hotfix/version I think makes sense to have the handle lighter.
All the best.

jcelle

  • Senior Community Member
  • Posts: 253
  • Hero Points: 5
Re: dark mode : scroll bar are difficult to spot
« Reply #10 on: December 13, 2021, 09:31:25 AM »
So I gave a deeper look: problem is mainly because the colors are inverted : it makes sense to have the background dark and anything else light (dark background, light code for instance :) )
So the same must be applied everywhere: dark background and light scroller handle.

Dennis

  • Senior Community Member
  • Posts: 3962
  • Hero Points: 517
Re: dark mode : scroll bar are difficult to spot
« Reply #11 on: December 13, 2021, 01:55:30 PM »
We may make that change in a future version, but inverting the color roles is a bit much for 26.0.1.  I have adjusted the colors to make the scrollbar handle more visible, even on Windows where the background color is darker.

jcelle

  • Senior Community Member
  • Posts: 253
  • Hero Points: 5
Re: dark mode : scroll bar are difficult to spot
« Reply #12 on: December 13, 2021, 02:07:19 PM »
And that sounds perfect to me Dennis to wait for 26.0.1.
Thanks for your reactivity.

jcelle

  • Senior Community Member
  • Posts: 253
  • Hero Points: 5
Re: dark mode : scroll bar are difficult to spot
« Reply #13 on: December 17, 2021, 02:58:19 PM »
 :( unless mistaken, not present in 26.0.1...
Here I am expecting the bottom light part to be the scroller, which is not.

Dennis

  • Senior Community Member
  • Posts: 3962
  • Hero Points: 517
Re: dark mode : scroll bar are difficult to spot
« Reply #14 on: December 20, 2021, 12:51:15 PM »
I adjusted the colors.  The dark portion is still the scroll bar handle.