Author Topic: New to CB ... getting a lot of IDE screen screw ups ...  (Read 2720 times)

Offline cwmoser

  • Multiple posting newcomer
  • *
  • Posts: 12
New to CB ... getting a lot of IDE screen screw ups ...
« on: March 08, 2023, 02:03:51 pm »
In the Code Blocks IDE, I am getting a lot of screen screw ups like menus not working, the wxWidgets display not switching properly from the code window.

Is it my video card or something I am doing wrong?
Every other program I run seems to be OK.


Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1557
Re: New to CB ... getting a lot of IDE screen screw ups ...
« Reply #1 on: March 08, 2023, 02:52:04 pm »
Please specify OS and C::B version

Offline cwmoser

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: New to CB ... getting a lot of IDE screen screw ups ...
« Reply #2 on: March 08, 2023, 03:59:18 pm »
My PC is:
Ubuntu Mate 22.04
Intel i7 cpu
Video card:  Radeon HD 6570
1920x1080 resolution

Code Blocks:  20.03
wxWidgets:  tried both 3.0.x and 3.1.x

Window Manager:  Was using Compiz but switched to Marco (picom:Hybrid) but still get video corruption.


$ echo $XDG_SESSION_TYPE
x11





« Last Edit: March 10, 2023, 07:36:30 pm by cwmoser »

Offline cwmoser

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: New to CB ... getting a lot of IDE screen screw ups ...
« Reply #3 on: March 08, 2023, 10:48:27 pm »
I also note corruption with the display components of the IDE environment on my Laptop too.
It too has Ubuntu 22.04 also.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: New to CB ... getting a lot of IDE screen screw ups ...
« Reply #4 on: March 09, 2023, 09:44:31 pm »
Can you show a screenshot?
Where did you get codeblocks from?
I just tried to install codeblocks version from this post https://forums.codeblocks.org/index.php/topic,25302.msg172438.html#msg172438
you have to follow the instructions for installing the  Debian 11 (Bullseye) instruction and it works fine on my ubuntu 20.4 installation

Offline cwmoser

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: New to CB ... getting a lot of IDE screen screw ups ...
« Reply #5 on: March 10, 2023, 01:06:00 pm »
Here is a Screen Recording demonstration this screen corruption in the IDE:

https://www.youtube.com/watch?v=aTPA1602rfQ

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: New to CB ... getting a lot of IDE screen screw ups ...
« Reply #6 on: March 10, 2023, 09:06:31 pm »
Thank you for the video, it helps a lot.
I have tried wxSmith on ubuntu with the version from my previous post and it works a lot better than your installation, but still has some problems...
At least the property works with the new version.

There are multiple issues with wxSmith i found by 1min testing:
1) Some times it blacks out completely. This is fixed by closing the and reopening the editor (not whole codeblocks, just the wxSmith editor)
2) The control toolbar at the bottom, where you select the controls has not enough space on my screen to show all controls, so we need some fix for this (scrollbar, or two rows)

Well we need some time to debug and fix this.

In your position i would try the version i mentioned in the upper post. It is easy to install if you follow the directions.

Thank you again for the reporting and detailed description!

Offline cwmoser

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: New to CB ... getting a lot of IDE screen screw ups ...
« Reply #7 on: March 11, 2023, 12:17:06 am »
Thanks BlueHazzard.
I also downloaded the latest source code for CodeBlocks and wxWidgets and compiled it and installed it on my PC.
Same problems.

I appreciate your help.


Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: New to CB ... getting a lot of IDE screen screw ups ...
« Reply #8 on: March 11, 2023, 12:32:08 am »
Also with the toolbar?

Offline cwmoser

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: New to CB ... getting a lot of IDE screen screw ups ...
« Reply #9 on: March 11, 2023, 01:17:00 am »
I did not notice anything abnormal with the widgets toolbar other than they were very hard to see.
The upper toolbar would get partly obscured and I had to Fit or Optimize the toolbar.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: New to CB ... getting a lot of IDE screen screw ups ...
« Reply #10 on: March 11, 2023, 09:19:07 pm »
I just tried it again after a reboot of linux, and everything works fine... verry strange...
Can you post the content of the dialog when you go in codeblocks menu bar:
help->About->Information
my content is:
Code
Name                   : Code::Blocks
Version                : svn-r0
SDK Version            : 2.24.0
Scintilla Version      : 3.7.5
Author                 : The Code::Blocks Team
E-mail                 : info@codeblocks.org
Website                : https://www.codeblocks.org
OS                     : Linux 5.19.0-35-generic x86_64
Desktop environment    : GNOME
Scaling factor         : 1.000000
Detected scaling factor: 1.000000
Display PPI            : 96x96
Display count          : 1
Display 0              : XY=[0,0]; Size=[1920,975]; Primary


wxWidgets Library (wxGTK port)
Version 3.2.2 (Unicode: wchar_t, debug level: 1),
compiled at Mar 10 2023 21:13:24


Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.33.

Offline cwmoser

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: New to CB ... getting a lot of IDE screen screw ups ...
« Reply #11 on: March 11, 2023, 09:27:35 pm »
My Help -> About -> Information:

Name                   : Code::Blocks
Version                : svn-r13231
SDK Version            : 2.24.0
Scintilla Version      : 3.7.5
Author                 : The Code::Blocks Team
E-mail                 : info@codeblocks.org
Website                : https://www.codeblocks.org
OS                     : Linux 5.15.0-67-generic x86_64
Scaling factor         : 1.000000
Detected scaling factor: 1.000000
Display PPI            : 96x96
Display count          : 2
Display 0              : XY=[0,0]; Size=[1920,1080]; Primary
Display 1              : XY=[1920,0]; Size=[1920,1080];

wxWidgets Library (wxGTK port)
Version 3.2.2 (Unicode: wchar_t, debug level: 1),
compiled at Feb 14 2023 10:37:24

Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.33.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: New to CB ... getting a lot of IDE screen screw ups ...
« Reply #12 on: March 11, 2023, 09:31:33 pm »
And desktop environment?
[Edit:] found it from your previous post... sry about the noise