← Back to team overview

compiz team mailing list archive

[Bug 566856] Re: Invalid SDL_ACTIVEEVENT events generated on mouse clicks when compiz enabled

 

** Attachment added: "Program source to demonstrate issue."
   http://launchpadlibrarian.net/44842042/test.cc

** Description changed:

  Binary package hint: compiz
  
  Description:	Ubuntu lucid (development branch)
  Release:	10.04
  
  compiz:
-   Installed: 1:0.8.4-0ubuntu15
-   Candidate: 1:0.8.4-0ubuntu15
-   Version table:
-  *** 1:0.8.4-0ubuntu15 0
-         500 http://gb.archive.ubuntu.com/ubuntu/ lucid/main Packages
-         100 /var/lib/dpkg/status
+   Installed: 1:0.8.4-0ubuntu15
+   Candidate: 1:0.8.4-0ubuntu15
+   Version table:
+  *** 1:0.8.4-0ubuntu15 0
+         500 http://gb.archive.ubuntu.com/ubuntu/ lucid/main Packages
+         100 /var/lib/dpkg/status
  
  System->Preference->Appearance, "Visual Effects" tab.  Selected "Normal"
  option.  When using OpenGL graphics, invalid SDL_ACTIVEEVENT events are
  generated each time a mouse button is clicked within the OpenGL
- application window.  This caused the application to think it has lost
+ application window.  This causes the application to think it has lost
  mouse focus; which is causing an issue with a game I help on (Eternal
  Lands).  The expected behaviour is that no SDL_ACTIVEEVENT events are
  generated for mouse button clicks.  This is indeed the behaviour when
  the  "Visual Effects" tab has "None" selected.
  
  I have hacked together a simple demonstration program based on an
  example I found on the web (link on the source).  This demonstration
  program gives the following output:
  
  "Visual Effects" tab  "None":
  SDL_ACTIVEEVENT 1 0 1
  SDL_ACTIVEEVENT 1 1 1
  Mouse Press button: 1  x: 381 y: 302
  Mouse Press button: 3  x: 381 y: 302
  KeyPress Event: escape
  
  "Visual Effects" tab  "Normal":
  SDL_ACTIVEEVENT 1 0 1
  SDL_ACTIVEEVENT 1 1 1
  SDL_ACTIVEEVENT 1 0 1
  SDL_ACTIVEEVENT 1 1 1
  Mouse Press button: 1  x: 323 y: 220
  SDL_ACTIVEEVENT 1 0 1
  SDL_ACTIVEEVENT 1 1 1
  Mouse Press button: 3  x: 323 y: 220
  KeyPress Event: escape

-- 
Invalid SDL_ACTIVEEVENT events generated on mouse clicks when compiz enabled
https://bugs.launchpad.net/bugs/566856
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in ubuntu.



References