[Bug 722375] Re: CPU usage due to X becomes very high when pgadmin3 runs

2011-03-24 Thread Ricardo Pedroso
I think that this may be related to wxWidgets. I saw this behaviour, for eg, with pyshell from wxPython. And to be more specific, I think that the problem is with wxListCtrl Not sure, but I guess that all wx apps that use ListCtrl will have this issue. -- You received this bug notification becau

[Bug 722375] Re: CPU usage due to X becomes very high when pgadmin3 runs

2011-03-26 Thread Ricardo Pedroso
Attached. I made 2 simple samples, one in c++ (minimal.cpp) to be used with wxWidgets the other with python (minimal.py) to be used with wxPython Both have some directives to be change: USE_MENUS 1 // 1 - with menus 0 - without menus USE_LISTCTRL 1// 1 - with a listctrl 0 - wi

[Bug 722375] Re: CPU usage due to X becomes very high when pgadmin3 runs

2011-03-26 Thread Ricardo Pedroso
I found that the culprit is this patch: http://launchpadlibrarian.net/64734089/wxwidgets2.8_2.8.11.0-0ubuntu6_2.8.11.0-0ubuntu7.diff.gz Probably this bug should go to wxwidgets2.8 and/or appmenu-gtk When run: UBUNTU_MENUPROXY=0 ./minimal There is no CPU usage problem with the problematics USE_ME