xeji doesn't follow mouse outside of its window.

Bug #34414 reported by Adam Buchbinder
4
Affects Status Importance Assigned to Milestone
xeji (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

xeji does not follow the mouse cursor if the cursor is outside its window. The eyes do follow the cursor if the cursor is inside the window.

By comparison, xeyes follows the cursor even when the cursor is not over the xeyes window.

Revision history for this message
Marco Rodrigues (gothicx) wrote :

Hi! Do you still have the same problem at Gutsy ?

Changed in xeji:
assignee: nobody → gothicx
importance: Medium → Low
status: New → Incomplete
Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote : It seems unlikely that it was fixed.

Given that the sole change between 1.2-11ubuntu1 (in Dapper) and 1.2-11ubuntu2 (in Gutsy) was an update to the maintainer listed in debian/control (according to the changelog, at least), it seems very unlikely that the package is fixed.

I'm still on Dapper, but I've asked someone I know who uses Gutsy to check it out.

Changed in xeji:
status: Incomplete → Confirmed
Rich Johnson (nixternal)
Changed in xeji:
assignee: gothicx → nobody
Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

It seems I forgot to update this at the time; I apologize.

I'm now running on Hardy, and this is still present.

Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

Looking at the source, I think the reason xeyes can follow the pointer outside of its window and xeji can't is that they use two different ways of getting the mouse's position. xeyes uses Xt functions--specifically, XtAppAddTimeOut--to query the mouse position every so often. xeji doesn't use Xt, and so has to wait for events; it updates the eye position when it receives events, but this is only when the mouse is actually over the window. It might be possible to make xeji check the event stack (so it still responds to events), but in the absence of that, simply call sleep() and redraw in that fashion. I don't know if there's a good reason to use the Xt functions instead of just doing that.

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.