AUI problems on v3.5.5377

CodeLite installation/troubleshooting forum
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

AUI problems on v3.5.5377

Post by jfouche »

Hi Eran,

I installed the v3.5 on a WinXP SP2, and I encounter several AUI problems:
1 - drawing the AUI titles are very slow : I can that the blue on the output view title is draw from left to right. It takes 1s :o
2 - Moving toolbar is very slow also
3 - Repainting the application is very slow (ALT-TAB to switch between applications, and going back to CodeLite).

I don't remember that I saw this when I installed this version on my Win7 computer.
Am I alone to face this problem ? I don't have time today to test the wx AUI sample with MinGW 4.6.1 to see if I encounter the same problems (I'll try at the end of the week).

Those problems are not very important for me, coding with CodeLite is fine.
Thanks for this new version, and I wish you a happy new year
Jérémie
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: AUI problems on v3.5.5377

Post by jfouche »

Well, CodeLite is just 100% CPU
Jérémie
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: AUI problems on v3.5.5377

Post by jfouche »

I tried to completely remove the Codelite directory and the codelite appData directory. It's the same : CodeLite is 100 % CPU.
I'll try to investigate in a few days.
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: AUI problems on v3.5.5377

Post by eranif »

jfouche wrote: CodeLite is 100 % CPU
Can you check and see whether codelite_indexer.exe is running ? (in the task manager)
Eran
Make sure you have read the HOW TO POST thread
ColinTaylor
CodeLite Expert
Posts: 152
Joined: Fri Jul 15, 2011 2:49 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: AUI problems on v3.5.5377

Post by ColinTaylor »

Hi Jérémie

Initially after upgrading to v3.5.5377 I had very similar problems to you (I tried it on Windows XP Pro SP3 and Windows 7 Home, and both showed the same issue).

I created a 'mini' AUI app and it worked and performed fine, suggesting the problem was in my code or project. After a lot of trials, I eventually noticed a couple of breakpoints were still in the 'problem' project (from before the v3.5.5377 upgrade) and deleting these has totally fixed the problem. Quite why I don't know, but its any easy thing for you to check.

All my other projects have compiled/debugged fine under v3.5.5377 and I'm now totally satisfied with the upgrade, Colin
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: AUI problems on v3.5.5377

Post by eranif »

Hi Jeremie,

I managed to reproduce the 100% CPU when re-sizing any AUI pane 1 of my CPUs is 100% occupied

In trunk I did the following:
- Removing the "Live Update" seems to completely remove the CPU problems when resizing any pane
- I created a custom ArtProvider which uses wxMemoryDC + bitmap (i.e. double-buffering) when drawing the captions - this removed the flicker and the increased the speed of drawing the captions

All my changes are only workarounds to the actual problem: wxAUI ...
If you could build a trunk version of codelite and see if it helps it will be great

Thanks,
Eran
Make sure you have read the HOW TO POST thread
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: AUI problems on v3.5.5377

Post by jfouche »

I'll test Colin & Eran solutions next week end (too busy those days)
Thanks for the analysis
Jérémie
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: AUI problems on v3.5.5377

Post by jfouche »

eranif wrote:If you could build a trunk version of codelite and see if it helps it will be great
Ok Eran, you made a good job : there's no more slow events on my computer (I use the last trunk version for 2 hours now).
Thanks a lot
Jérémie
Post Reply