Page 1 of 1
AUI problems on v3.5.5377
Posted: Tue Jan 03, 2012 12:40 pm
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
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
Re: AUI problems on v3.5.5377
Posted: Tue Jan 03, 2012 5:38 pm
by jfouche
Well, CodeLite is just 100% CPU
Re: AUI problems on v3.5.5377
Posted: Tue Jan 03, 2012 10:12 pm
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.
Re: AUI problems on v3.5.5377
Posted: Tue Jan 03, 2012 10:28 pm
by eranif
jfouche wrote: CodeLite is 100 % CPU
Can you check and see whether codelite_indexer.exe is running ? (in the task manager)
Eran
Re: AUI problems on v3.5.5377
Posted: Thu Jan 05, 2012 1:42 pm
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
Re: AUI problems on v3.5.5377
Posted: Thu Jan 05, 2012 1:56 pm
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
Re: AUI problems on v3.5.5377
Posted: Thu Jan 05, 2012 4:01 pm
by jfouche
I'll test Colin & Eran solutions next week end (too busy those days)
Thanks for the analysis
Re: AUI problems on v3.5.5377
Posted: Thu Jan 05, 2012 7:24 pm
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