samsulmaarif / endgame-singularity

Automatically exported from code.google.com/p/endgame-singularity
0 stars 0 forks source link

Scroll Wheel acts like Escape key #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I don't know for sure what is causing this, but when running r947, I cannot
use my mouse's scroll wheel. When I do (either up or down), it essentially
does the exact same thing as pressing the escape key.

I downloaded version 0.30 and it does not have this problem.

I am running Ubuntu 9.04 (with Compiz, if that makes a difference) on an x86.

Original issue reported on code.google.com by SEALLY.1...@gmail.com on 3 Jun 2009 at 5:25

GoogleCodeExporter commented 9 years ago
That means it's crashing, then getting caught. Can you run it from a console, 
and get
us the traceback?

Original comment by evilmrhe...@gmail.com on 3 Jun 2009 at 3:21

GoogleCodeExporter commented 9 years ago
This issue was closed by r948.

Original comment by funnyman3595 on 3 Jun 2009 at 8:00

GoogleCodeExporter commented 9 years ago
Actually, the problem was that it was closing the current Dialog with every 
mouse
scroll, because I messed up in the graphics update.  I forgot that a blank 
return
from Dialog.handle(event) won't work right, because it's interpreted as the 
dialog
closing with return value None.  Switched over to using the special value
constants.NO_RESULT, and it's working fine now.

Fixed in git (19e094) and SVN (r948).

P.S.: Whoa, I didn't do that last post, it happened automatically when I made 
the SVN
commit.  O.O

Original comment by funnyman3595 on 3 Jun 2009 at 8:05