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

jcelle

  • Senior Community Member
  • Posts: 186
  • 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

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3529
  • Hero Points: 471
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: 186
  • 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

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3529
  • Hero Points: 471
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: 186
  • 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

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3529
  • Hero Points: 471
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: 2702
  • Hero Points: 336
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

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3529
  • Hero Points: 471
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: 2702
  • Hero Points: 336
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: 186
  • 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: 186
  • 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

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3529
  • Hero Points: 471
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: 186
  • 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: 186
  • 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

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3529
  • Hero Points: 471
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.