Author Topic: ComboBox for select compiler, whats wrong?  (Read 7168 times)

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
ComboBox for select compiler, whats wrong?
« on: October 12, 2006, 01:32:25 pm »
I try change compiler into "Settings/Compiler and debugger".
Wow, combobox like a "freezed". On mouse click, listbox being opened, but on a left mouse button click C::B is not responded.
May anybody confirm this trouble?
On keys combobox has strange reaction too.
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5267
Re: ComboBox for select compiler, whats wrong?
« Reply #1 on: October 12, 2006, 01:54:35 pm »
which version of CB, which os , ...

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: ComboBox for select compiler, whats wrong?
« Reply #2 on: October 12, 2006, 02:03:27 pm »
Sorry :oops:
Version 1.0 revision 3077 (2006-10-12 02:23:44)   gcc 3.4.2 Windows/unicode
Win 2000 SP4, wxWidgets 2.6.2
I compile this C::B today.
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5267
Re: ComboBox for select compiler, whats wrong?
« Reply #3 on: October 12, 2006, 02:09:23 pm »
works for me

Offline artoj

  • Almost regular
  • **
  • Posts: 206
  • Location: Supporting my team
    • http://ajonsson.kapsi.fi/
Re: ComboBox for select compiler, whats wrong?
« Reply #4 on: October 12, 2006, 02:12:21 pm »
I try change compiler into "Settings/Compiler and debugger".
Wow, combobox like a "freezed". On mouse click, listbox being opened, but on a left mouse button click C::B is not responded.
May anybody confirm this trouble?
On keys combobox has strange reaction too.

I don't have this problems either.

Has this problem existed there always or did it start happening from specific version?

Have you considered upgrading to wxWidgets 2.6.3 (patch 2)?

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: ComboBox for select compiler, whats wrong?
« Reply #5 on: October 12, 2006, 02:26:48 pm »
Has this problem existed there always or did it start happening from specific version?

Who knows.. :(
On "Version 1.0 revision 3004 (2006-10-02 17:27:47)   gcc 3.4.2 Windows/unicode" - all right! Trouble not repeated.

Have you considered upgrading to wxWidgets 2.6.3 (patch 2)?

My be you right, I thought about upgrade.

Thanks you, I being search a bit more information.
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline artoj

  • Almost regular
  • **
  • Posts: 206
  • Location: Supporting my team
    • http://ajonsson.kapsi.fi/
Re: ComboBox for select compiler, whats wrong?
« Reply #6 on: October 12, 2006, 02:54:22 pm »
Who knows.. :(
On "Version 1.0 revision 3004 (2006-10-02 17:27:47)   gcc 3.4.2 Windows/unicode" - all right! Trouble not repeated.

OK, could you test for example build from October 7th (or revision 3030)  if the problem still exists. If it does, test build from October 5th (or revision 3012), if the problems exists there.

If the problem doesn't exists in October 7th build (or revision 3030), test the build from 9th (or revision 3050) etc.

We need to know the date / revision when this problem started appearing.

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: ComboBox for select compiler, whats wrong?
« Reply #7 on: October 12, 2006, 03:09:28 pm »
OK, could you test for example build from October 7th (or revision 3030)  if the problem still exists. If it does, test build from October 5th (or revision 3012), if the problems exists there.

If the problem doesn't exists in October 7th build (or revision 3030), test the build from 9th (or revision 3050) etc.

We need to know the date / revision when this problem started appearing.

This method is very simple :)
In other hand this is very slow. But I can't choose.
I will try beginning from a top revision to lowest.
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline artoj

  • Almost regular
  • **
  • Posts: 206
  • Location: Supporting my team
    • http://ajonsson.kapsi.fi/
Re: ComboBox for select compiler, whats wrong?
« Reply #8 on: October 12, 2006, 03:16:56 pm »
This method is very simple :)
In other hand this is very slow. But I can't choose.
I will try beginning from a top revision to lowest.

Remember that you don't need to test _every_ revision from current to 3004, just the ones that have a nightly build released. :)

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: ComboBox for select compiler, whats wrong?
« Reply #9 on: October 12, 2006, 03:23:25 pm »
Remember that you don't need to test _every_ revision from current to 3004, just the ones that have a nightly build released. :)

I understand it. Otherwise my Life is stopped :wink:
See you later

Ок.
3074 revision (Nightbuild worked ok)
wxmsw26u_gcc_cb.dll from Nightbuild with my C::B NOT worked. Trouble stays. I being continued.
« Last Edit: October 12, 2006, 03:49:43 pm by kisoft »
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: ComboBox for select compiler, whats wrong?
« Reply #10 on: October 13, 2006, 07:26:59 am »
So, revisions 3012,3023 is OK,
rev.3030 and above - trouble.

I would see logs now.
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline artoj

  • Almost regular
  • **
  • Posts: 206
  • Location: Supporting my team
    • http://ajonsson.kapsi.fi/
Re: ComboBox for select compiler, whats wrong?
« Reply #11 on: October 13, 2006, 12:44:50 pm »
So, revisions 3012,3023 is OK,
rev.3030 and above - trouble.

I would see logs now.


OK, good, so the problem must be introduced between 3024 and 3030. Let's see, here's the list of changes between those revisions:

Code: [Select]
3030      Implemented 'start' offset and 'count' elements for debugging arrays.
          The options existed in the GUI but were not implemented in the driver.

3029      google/msdn search tip added

3028      Google Code

3027      apply [ Patch #1529 ] OpenFileTree was once more not updated
          correctly : fixes [ Bug #9001 ] Untitled1 in Open Files tree after save as

3026      apply [ Patch #1468 ] Expand caret period slider

3025      Got rid of strlen() too

3024      - Added loading of new images and new visual states
          - ProjectFile initialisation through initialiser list
          - Visual state changing only when needed

Revisions 3029 and 3028 made only minor changes to we can rule them out. I don't think it was 3027 either or 3030.

I would start testing from 3024 and moving upwards. I can't really say just looking at the logs which one of those could have introduced the issue.

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: ComboBox for select compiler, whats wrong?
« Reply #12 on: October 13, 2006, 01:08:27 pm »
I would start testing from 3024 and moving upwards. I can't really say just looking at the logs which one of those could have introduced the issue.

I investigate a sources changes for 3024 to 3030 revs, but I don't found nothing. :(

I did upgrade my MinGW to 3.4.5. And I download wxWidgets dll 2.6.3pl2 (from a nightbuild package). No changes.
I think delete the default.conf, and configure all again.
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline artoj

  • Almost regular
  • **
  • Posts: 206
  • Location: Supporting my team
    • http://ajonsson.kapsi.fi/
Re: ComboBox for select compiler, whats wrong?
« Reply #13 on: October 13, 2006, 01:34:04 pm »
OK, I might try running C::B in Windows2000 at some point (via VMWare) but the VMWare page is somehow buggy at the moment and I can't get the registration key.

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: ComboBox for select compiler, whats wrong?
« Reply #14 on: October 13, 2006, 03:05:31 pm »
OK, I might try running C::B in Windows2000 at some point (via VMWare) but the VMWare page is somehow buggy at the moment and I can't get the registration key.
Don't required.
I did debug insertion into:
src\plugins\compilergcc\compileroptionsdlg.cpp
Code: [Select]
void CompilerOptionsDlg::CompilerChanged()
{
    m_CurrentCompilerIdx = XRCCTRL(*this, "cmbCompiler", wxChoice)->GetSelection();

    Manager::Get()->GetMessageManager()->DebugLog(_T("Choice index %d\n"),m_CurrentCompilerIdx);
After open a Choice list of compilers, I do select an any line. ComboBox (wxChoice) don't closed, and DebugLog see like it:
Code: [Select]
[17:01:34.671]: Choice index 0

[17:01:35.500]: Choice index 0

[17:01:36.015]: Choice index 0

[17:01:36.484]: Choice index 0
no changes. :(

Temporary help this change:
Code: [Select]
before: m_CurrentCompilerIdx = XRCCTRL(*this, "cmbCompiler", wxChoice)->GetSelection();
after  : m_CurrentCompilerIdx = XRCCTRL(*this, "cmbCompiler", wxChoice)->GetCurrentSelection();
after this change, Choice index changed on every click, but ComboBox don't closed.
It may be bug into wxWidgets.

Thanks for you help, now more usable. I don't have time for investigate more now.
« Last Edit: October 13, 2006, 03:28:23 pm by kisoft »
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: ComboBox for select compiler, whats wrong? (Resolved)
« Reply #15 on: October 16, 2006, 11:41:51 am »
wxWidgets 2.6.3 p2.
CodeBlocks (full update from trunk).
default.conf & other configs deleting.
All right works!
Thanks all for your help!
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen