Author Topic: Folding Background  (Read 3391 times)

Offline Spare Time Hacker

  • Single posting newcomer
  • *
  • Posts: 8
Folding Background
« on: May 01, 2020, 11:06:11 am »
Hi all,
Just switched to a complete new computer, with from the scratch installation.
System is Kubuntu 20.04 with C::B as listed below.

I'd like to know how to set the background of the vertical bar of the folding in the editor window. It shows a grid background (see attached screenshot) making the folding rather difficult to read. I appreciate your help.

Thanks a lot in advance!


Quote
Name             : Code::Blocks
Version          : 20.03-r11997
SDK Version      : 2.0.0
Scintilla Version: 3.7.5
Author           : The Code::Blocks Team
E-mail           : info@codeblocks.org
Website          : http://www.codeblocks.org

wxWidgets Library (wxGTK port)
Version 3.0.4 (Unicode: wchar_t, debug level: 1),
Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.14.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Folding Background
« Reply #1 on: May 01, 2020, 11:33:02 am »
Hm, I guess you're on a high dpi monitor. What is the dpi of your monitor?

To change the colours go to Settings -> Environment -> Colours -> Editor : Margins XXX.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Spare Time Hacker

  • Single posting newcomer
  • *
  • Posts: 8
Re: Folding Background
« Reply #2 on: May 02, 2020, 09:55:11 am »
Thanks for your assistance.
Yeah, you're right I'm using a highres monitor at 3840 x 2160. However, with the settings Editor : Margin chrome colour and Editor : Margin chrome highlight colour I can set what appeares grey in my screenshot but the black grids are still the same.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Folding Background
« Reply #3 on: May 02, 2020, 12:36:21 pm »
Are you saying that the black grid doesn't disappear if you set both margin colours to the same value?

What is the size of the monitor you use? Or the DPI or the scaling factor?
Unfortunately I have to use a low-dpi monitor at the moment, so I cannot test this.
Would it be possible to log this in the issue tracker at sf.net, so we don't forget about it?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Spare Time Hacker

  • Single posting newcomer
  • *
  • Posts: 8
Re: Folding Background
« Reply #4 on: May 02, 2020, 06:45:53 pm »
Quote
Are you saying that the black grid doesn't disappear if you set both margin colours to the same value?
Exactly. If I set both colours to blue the grey squares turn to blue surrounded by the black grid (see new attached image). If set to different colours, it seems to become a mix of both colours.

Display Data:
  • Laptop display of 15.6" on a Thinkpad P52s
  • X-Server says: 192 x 193 dpi
  • Global scaling set to 250%

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Folding Background
« Reply #5 on: May 02, 2020, 06:48:02 pm »
Would it be possible to build the stc wxWidgets sample from wx-master and test it?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Spare Time Hacker

  • Single posting newcomer
  • *
  • Posts: 8
Re: Folding Background
« Reply #6 on: May 02, 2020, 06:49:47 pm »
To be honest, I have no clue how to do that  ;D.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Folding Background
« Reply #7 on: May 02, 2020, 08:38:54 pm »
1. Download wxwidgets with git
2. run git sudmodule update --init or similar
3. setup a build folder
4. run configure
5. cd sample/stc
6. run make
7. run ./stcdemo or similar.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Spare Time Hacker

  • Single posting newcomer
  • *
  • Posts: 8
Re: Folding Background
« Reply #8 on: May 03, 2020, 10:06:05 am »
Okay, will try. Give me some time. Will comeback to you.

Offline Spare Time Hacker

  • Single posting newcomer
  • *
  • Posts: 8
Re: Folding Background
« Reply #9 on: May 03, 2020, 11:12:46 am »
Just FIY because it was the easiest thing to do.

I reset the display scaling to 100% and the folding appearance is fine. Then I tried 200% and get the same issue. However 100% scaling is not working for me it, everything is way too small to read.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Folding Background
« Reply #10 on: May 03, 2020, 12:20:19 pm »
Please log an issue on the sf.net ticket tracker.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Spare Time Hacker

  • Single posting newcomer
  • *
  • Posts: 8
Re: Folding Background
« Reply #11 on: May 03, 2020, 07:18:29 pm »
Ticket done and thanks again for looking in that matter.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Folding Background
« Reply #12 on: May 03, 2020, 09:00:47 pm »
I don't plan to look at this at the moment. I'm waiting for a critical mass of gtk3 related issues to gather.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]