Invalid SDL_ACTIVEEVENT events generated on mouse clicks when compiz enabled

Bug #566856 reported by Paul Broadhead
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz Core
Fix Released
Undecided
Unassigned
compiz (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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

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 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

Tags: lucid
Revision history for this message
Paul Broadhead (pjbroad) wrote :
description: updated
Paul Broadhead (pjbroad)
tags: added: lucid
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at http://www.ubuntu.com/download to know how to install that version.Thanks in advance.

Changed in compiz (Ubuntu):
status: New → Incomplete
Revision history for this message
Paul Broadhead (pjbroad) wrote :

I'm sticking with lucid for now on my desktop machine so can't test Natty on that. Driver issues mean I can't boot from alive disk either. However, on a different machine running Natty the test program shows the correct behaviour. This is for both the unity interface and Gnome classic. However, user settings no longer provides control of compiz so I have no idea if compiz is enabled or off.

Paul Broadhead (pjbroad)
Changed in compiz (Ubuntu):
status: Incomplete → Opinion
status: Opinion → New
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. Compiz, in particular, is in heavy development and this bug may have been fixed in the development version of Ubuntu (12.04) if not on your current version. If you are able, it would be of great help if you could confirm if the bug still exists by testing a livecd (available at ubuntu.com). When you test it and it is still an issue, kindly upload the updated logs by running apport-collect <bug #> and any other logs that are relevant for this particular issue. If you are unable to test the development version, please let us know if you are able to reproduce this issue on Ubuntu 11.10.

Thank you for your help and patience.

Changed in compiz (Ubuntu):
status: New → Incomplete
Changed in compiz-core:
status: New → Incomplete
Revision history for this message
Paul Broadhead (pjbroad) wrote :

Description: Ubuntu 11.10
Release: 11.10

compiz:
  Installed: 1:0.9.6+bzr20110929-0ubuntu6.1
  Candidate: 1:0.9.6+bzr20110929-0ubuntu6.1
  Version table:
 *** 1:0.9.6+bzr20110929-0ubuntu6.1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ oneiric-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:0.9.6+bzr20110929-0ubuntu3 0

I upgraded to oneiric only recently. The test program works as it should on oneiric. I guess the problem had been fixed.

Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

This bug report is being closed due to your last comment regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in compiz-core:
status: Incomplete → Fix Released
Changed in compiz (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.