The focus randomly changes between windows if easystroke is in use and the evdev driver is built with mtdev

Bug #1048865 reported by David López on 2012-09-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
easystroke (Ubuntu)
xorg-server (Ubuntu)

Bug Description

I have a wetab tablet, I used ubuntu 12.04 with easystroke 0.5.4 and xserver-xorg-input-evdev 2.7.0 from official repos. I have a strange problem, the focus sometimes changes between windows. For example, if I have a text editor and a terminal opened, click in the editor and write with the onboard keyboard, I expected that my text were written in the editor. However, the focus moves to the terminal and the text is written in the terminal. Clicking in the editor window doesn't return the focus to the editor, but moving the editor window gives the focus to the editor.

It's only an example, the problem don't depend on the editor and the terminal, lots of apps seems to randomly change the focus.

I've tested in the same tablet with Arch Linux, which uses xf86-input-evdev driver with mtdev support, and the problem persists. However, rebuilding the same evdev driver but without mtdev support the problem dissapears. I've noticed that this problem doesn't appear if easystroke is not in use. So this problem seems to be connected to easystroke, evdev and mtdev.

My tablet has an egalax touchscreen. I've read the same problem in a different machine with the same touchscreen: Wish this information helps

Related branches

David López (david-lopez-upct) wrote :

Only to add that the problem occurs both with easystroke 0.5.4 and with easystroke

Tom Jaeger (thjaeger) wrote :

Seems like this is the X server's fault, which doesn't generate EnterNotify events on touch input.

Changed in mtdev:
status: New → Invalid
Changed in evdev:
status: New → Invalid
Tom Jaeger (thjaeger) wrote :

Can you check if this is still an issue with 0.5.6?

David López (david-lopez-upct) wrote :

Hi. Today easystroke has been updated in the archlinux's repos. I've tested with 3 different drivers

- xf86-input-evdev 2.7.3 built with mtdev driver
- xf86-input-evdev 2.7.3 built without mtdev driver
- xf86-input-evdev 2.6.0 built without mtdev driver

I haven't found this issue with any of the three drivers. It seems that this bug is fixed, thanks

Tom Jaeger (thjaeger) wrote :

Thanks for testing!

Changed in xorg-server (Ubuntu):
status: New → Invalid
Changed in easystroke (Ubuntu):
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package easystroke - 0.5.6-0ubuntu1

easystroke (0.5.6-0ubuntu1) raring; urgency=low

  [ Logan Rosen ]
  * New upstream release. Should fix the following bugs, according to
    Tom Jaeger on Launchpad:
    - Exceptions don't work (LP: #995841).
    - The focus randomly changes between windows if easystroke is in use and
      the evdev driver is built with mtdev (LP: #1048865).
  * debian/source/format: Indicate format of 3.0 (quilt).
  * debian/control: Bump Standards-Version to 3.9.4.

  [ Andrew Starr-Bochicchio ]
  * debian/copyright: Update to DEP-5 style.
 -- Logan Rosen <email address hidden> Tue, 08 Jan 2013 01:44:02 -0500

Changed in easystroke (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers