Issue 88: marave is really CPU-hungry
Status:  New
Owner: ----
Reported by gerlo...@gmail.com, Jul 7, 2010
What steps will reproduce the problem?
1. run marave and change background music
2. look at cpu usage in top or htop

What version of the product are you using? On what operating system?
I'm running marave-editor 0.7 beta, installed on Kubuntu 10.04 using easy_install marave. 

Please provide any additional information below.
I'm running it on a MacBook Pro 5.5, with a  intel Core 2 Duo @2.26 GHz. After some moments I started marave-editor, the CPU fan start to spin and CPU usage increase a lot. At the moment, htop says that the process is using ~60% of my CPU.

Jul 7, 2010
Project Member #1 roberto.alsina
And without music that doesn't happen? How about with/without key clicks?
Feb 21, 2011
#2 zob...@gmail.com
Ubuntu 10.10, marave-0.7. All the time program eat 100% cpu. Sound disabled.
Mar 27, 2011
#3 fnavar...@gmail.com
This issue seems to be a problem with MainWidget.scenechanged. Near line 1330, the condition should be something like the code below. Otherwise it will always be true. This is what causes high cpu load.

# Bottom-Left corner dragged
[...]
if x != self.editorX-2*m or \
    y != self.editorY+self.editorH:
[...]

Btw, great editor!
Oct 3, 2012
#5 aaron.hamid
fnavar...'s fix works for me (replace + with -).  Linked patch does NOT work for me with 0.7-6.fc16 on Fedora 16.