Author Topic: Program dialogs (Preferences, project data, etc.) have width and height of 0  (Read 3553 times)

Offline Epicurus

  • Single posting newcomer
  • *
  • Posts: 4
Hello Code::Blockers,

This is my first post on these forums. I looked through the FAQs, previous threads, and the bug report on BerliOS for a solution to this issue and did not find one, so I post here

I have Code::Blocks 10.05 installed and working on my Windows 7 Ultimate machine. Everything about it works fine EXCEPT for a sporadic but persistent issue with pop-up dialogs such as the preferences window, the Pane Switcher (Ctrl-Tab), and other windows generated by the program.

Sometimes, they will generate with a width and height of 0. They are active, but completely invisible. As you can imagine, this gets pretty confusing after a while and severely detracts from writing code.

Luckily, I had already written an AutoHotKey script which adjusts these parameters for the active window. They usually serve their purpose admirably, expanding the contents of the window to the point where I can interact with them. However, this only works for the current instance of a given window - generating another window, or even that same window, will create the problem anew. Furthermore, certain windows such as the Pane Switcher do not respond to the script.

This problem does not emerge all the time. Indeed, I suspect the problem could be the very interaction between the AHK script and Code::Blocks. It does not happen with each launch of the program, but occurs frequently enough to warrant posting on this forum.

I did not read anything about reporting interactions between programs, so I hope that this thread is okay to post. I would appreciate any information which I could use to make sure this problem does not emerge again.

Thank you and great work on the IDE!

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Sometimes, they will generate with a width and height of 0. They are active, but completely invisible. As you can imagine, this gets pretty confusing after a while and severely detracts from writing code.
This has been fixed a long time ago. Please use a recent nightly build and (for the sake of avoiding other issues) use a more recent compiler from here: http://tdm-gcc.tdragon.net/download

At the time 10/05 was released there was no Win7, so it is not fully compatible to some extend. However, nightlies are.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Epicurus

  • Single posting newcomer
  • *
  • Posts: 4
It worked! Thanks for the quick reply!