I can't get the debugging windows to show up on the screen. I have attached a screenshot where they all are enabled but as the screenshot shows, there is for example no callstack window.
I'm using codeblocks 16.01 rev 10760 on Linux Mint 18.1. I ran the default version that came with Linux Mint, which is 13.12 and this had the same problem.
I have turned on the application debug log to see if anything is written when I turn on/off windows but it is silent. I also removed the .codeblocks configuration directory to rule out any configs. That didn't help either.
Have you tried View -> Perspective -> Delete current? Or switching to another perspective?
The config folder is no longer in ~/.codeblocks, but in ~/config/.codeblocks.
Yes, I have tried deleting and restoring the default perspective as well. I'm aware of the config file move so I made sure none of them existed. I know that works because I get the question to select compilers at start the first time.
Can you post your default.conf file then? Do you have two or monitors?
Sure, I have attached the config file.
I have three monitors.
I managed to get the callstack window visible by enabling it on a laptop and merging the view3 xml node in default.conf to the stationary computer's config (where I couldn't enable it in the UI). Now it can be turned off and on again. But if I remove the config, the problem reappears.
What is your monitor configuration? What video card and drivers? X11 or Wayland?
Left: HP display 1920x1200
Middle: Tilted ASUS display 1200x1920
Right: HP display 1920x1200
Video card: NVidia Geforce GTX 760
Drivers: xserver-xorg-video-nouveau 1:1.0.12-1build2
X11
I've compared your config to mine and it seems that the info about dock_sizes is missing. What is the version of wxGTK that you're using?
Also what locale or language/translation do you use? Is it something different than English?
I'm not sure how to know which wxGTK is used.
I have the OS language set to Swedish. Code::Blocks doesn't turn up in Swedish though.
Try ldd /usr/bin/codeblocks
What happens if you move the management pane on the right side and restart codeblocks? Is this preserved?
Edit: Also are you sure the debugging windows aren't shown behind the main window? What happens if you grab the main window and move it around? What WM are you using? Cinnamon?
Last edit: Teodor Petrov 2017-06-06
Moving the management pane across restarts preserves the new position.
The debugging window isn't behind the main window, but I think I see the problem now. I removed the config directory and retried. When activating the debug windows they end up on the left screen and I have Code::Blocks on the middle. The problem is that they may end up outside the visible area so I can't see or reach them. This is the setup:
The debugging windows end up above the left screen, marked [here]. I have moved the screens slightly since last test and one of the windows was just barely visible on the top of the left screen now. In my previous screen setup they ended up completely outside the screen area.
OK, I'll try to reproduce this at work where I have two displays.
Can you try to setup your displays as
and see if the windows show successfully?
Yep, I can reproduce this problem if I rearrange the monitors in the nvidia-settings on my work machine.
I'm not at home to test until Friday, but I guess I won't need to test the alternate screen setup now when you have reproduced it.
Yes, as expected, the windows show up when the upper parts of the screens are aligning in the display settings.