Menu

#469 Debugging windows not visible

Undefined
open
nobody
UI (54)
Bug_Report
2017-06-10
2017-01-28
No

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.

1 Attachments

Discussion

  • Teodor Petrov

    Teodor Petrov - 2017-01-28

    Have you tried View -> Perspective -> Delete current? Or switching to another perspective?
    The config folder is no longer in ~/.codeblocks, but in ~/config/.codeblocks.

     
  • Jonas Hultén

    Jonas Hultén - 2017-01-28

    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.

     
  • Teodor Petrov

    Teodor Petrov - 2017-01-28

    Can you post your default.conf file then? Do you have two or monitors?

     
  • Jonas Hultén

    Jonas Hultén - 2017-01-28

    Sure, I have attached the config file.

    I have three monitors.

     
  • Jonas Hultén

    Jonas Hultén - 2017-01-28

    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.

     
  • Teodor Petrov

    Teodor Petrov - 2017-06-05

    What is your monitor configuration? What video card and drivers? X11 or Wayland?

     
  • Jonas Hultén

    Jonas Hultén - 2017-06-05

    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

     
  • Teodor Petrov

    Teodor Petrov - 2017-06-05

    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?

     
  • Teodor Petrov

    Teodor Petrov - 2017-06-05

    Also what locale or language/translation do you use? Is it something different than English?

     
  • Jonas Hultén

    Jonas Hultén - 2017-06-06

    I'm not sure how to know which wxGTK is used.

    >dpkg -l libwxgtk* | grep -e '^i' | grep -e 'libwxgtk-*[0-9]'
    ii  libwxgtk2.8-0:amd64   2.8.12.1+dfsg2-ppa1~ubuntu16.04.1 amd64        wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime)
    ii  libwxgtk3.0-0v5:amd64 3.0.2+dfsg-1.3ubuntu0.1           amd64        wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime)
    

    I have the OS language set to Swedish. Code::Blocks doesn't turn up in Swedish though.

     
  • Teodor Petrov

    Teodor Petrov - 2017-06-06

    Try ldd /usr/bin/codeblocks

     
  • Jonas Hultén

    Jonas Hultén - 2017-06-06
    libwx_gtk2u_aui-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_aui-2.8.so.0 (0x00007f2a9b48a000)
        libwx_gtk2u_xrc-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_xrc-2.8.so.0 (0x00007f2a9b1db000)
        libwx_gtk2u_qa-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_qa-2.8.so.0 (0x00007f2a9afbc000)
        libwx_gtk2u_html-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0 (0x00007f2a9ad07000)
        libwx_gtk2u_adv-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-2.8.so.0 (0x00007f2a9aa2a000)
        libwx_gtk2u_core-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0 (0x00007f2a9a413000)
        libwx_baseu_net-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_baseu_net-2.8.so.0 (0x00007f2a9a1e4000)
        libwx_baseu-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0 (0x00007f2a99e91000)
        libgtk-x11-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 (0x00007f2a99846000)
    
     
  • Teodor Petrov

    Teodor Petrov - 2017-06-06

    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
  • Jonas Hultén

    Jonas Hultén - 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:

              +-----+
     [here]   |     |
    +-------+ | C:B | +-------+
    |       | |     | |       |
    |       | |     | |       |
    +-------+ +-----+ +-------+
    

    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.

     
  • Teodor Petrov

    Teodor Petrov - 2017-06-07

    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?

     
  • Teodor Petrov

    Teodor Petrov - 2017-06-07

    Yep, I can reproduce this problem if I rearrange the monitors in the nvidia-settings on my work machine.

     
  • Jonas Hultén

    Jonas Hultén - 2017-06-07

    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.

     
  • Jonas Hultén

    Jonas Hultén - 2017-06-10

    Yes, as expected, the windows show up when the upper parts of the screens are aligning in the display settings.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.