Mouse clicks not detected in JAVA after touching eGalax touchscreen

Bug #1206880 reported by Nyyr
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

We have all-in-one PC terminal with touchscreen with Ubuntu 10.10 and JAVA application on Oracle JAVA JRE with some buttons. Working fine.

After I did a minimal clean install from Ubuntu Server 12.04 CD (just with fluxbox WM) and Oracle JAVA JRE I run the JAVA application via javaws. I can click the buttons in the JAVA application using mouse, but when I try the same with touchscreen, the mouse pointer moves to the place I touched but the button is not pressed. After that when trying to use the mouse again even the mouse clicks are not detected !!!
At first I thought it is the application problem but the same applies to the javaws laucher windows as well.

Configuration of X11 in both versions of Ubuntu seems to be the same (no xorg.conf, just calibration.conf), no other adjustments.

Touchscreen in Fluxbox is working fine in both versions. Since the JAVA version is the same in both versions of Ubuntu it cannot be problem of JAVA.

To me it seems that in Ubuntu 12.04 the touchscreen/mouse events are passed to the JAVA VM differently than in Ubuntu 10.10.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.13.0-40-generic.
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.0.1-0ubuntu17.8
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1c', '/dev/snd/pcmC0D2c', '/dev/snd/pcmC0D3c', '/dev/snd/pcmC0D4p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info: Error: [Errno 2] No such file or directory
Card0.Amixer.values: Error: [Errno 2] No such file or directory
CurrentDmesg: [ 630.974265] perf samples too long (5026 > 5000), lowering kernel.perf_event_max_sample_rate to 25000
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=6d3a7fc5-93df-46a4-9dd2-4aa18bb16551
InstallationMedia: Ubuntu-Server 12.04.4 LTS "Precise Pangolin" - Release i386 (20140204)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.

 eth1 no wireless extensions.
MachineType: PhoenixAward 945GSE
MarkForUpload: True
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=cs_CZ.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-40-generic root=/dev/mapper/hostname--vg-root ro
ProcVersionSignature: Ubuntu 3.13.0-40.69~precise1-generic 3.13.11.10
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-40-generic N/A
 linux-backports-modules-3.13.0-40-generic N/A
 linux-firmware 1.79.18
RfKill: Error: [Errno 2] No such file or directory
Tags: precise
Uname: Linux 3.13.0-40-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 07/01/2009
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: 945GSE
dmi.board.vendor: PhoenixAward
dmi.board.version: 6.0
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd07/01/2009:svnPhoenixAward:pn945GSE:pvr6.0:rvnPhoenixAward:rn945GSE:rvr6.0:cvn:ct3:cvr:
dmi.product.name: 945GSE
dmi.product.version: 6.0
dmi.sys.vendor: PhoenixAward

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1206880/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Nyyr (nyyr1) wrote :

Downloaded driver from home.eeti.com.tw and now it works even with JAVA :-)

Revision history for this message
penalvch (penalvch) wrote :

Nyyr, thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 1206880

affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Nyyr (nyyr1) wrote : AcpiTables.txt

apport information

tags: added: apport-collected precise
description: updated
Revision history for this message
Nyyr (nyyr1) wrote : AlsaDevices.txt

apport information

Revision history for this message
Nyyr (nyyr1) wrote : BootDmesg.txt

apport information

Revision history for this message
Nyyr (nyyr1) wrote : Card0.Codecs.codec97.0.ac97.0.0.txt

apport information

Revision history for this message
Nyyr (nyyr1) wrote : Card0.Codecs.codec97.0.ac97.0.0.regs.txt

apport information

Revision history for this message
Nyyr (nyyr1) wrote : Lspci.txt

apport information

Revision history for this message
Nyyr (nyyr1) wrote : Lsusb.txt

apport information

Revision history for this message
Nyyr (nyyr1) wrote : PciMultimedia.txt

apport information

Revision history for this message
Nyyr (nyyr1) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Nyyr (nyyr1) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Nyyr (nyyr1) wrote : ProcModules.txt

apport information

Revision history for this message
Nyyr (nyyr1) wrote : UdevDb.txt

apport information

Revision history for this message
Nyyr (nyyr1) wrote : UdevLog.txt

apport information

Revision history for this message
Nyyr (nyyr1) wrote : WifiSyslog.txt

apport information

Revision history for this message
Nyyr (nyyr1) wrote :

OK, did a clean install again, then

apt-get update
apt-get dist-upgrade
apt-get install xorg
apt-get install fluxbox
apt-get install nodm
apt-get install ttf-mscorefonts*
apt-get install librxtx-java
apt-get install mc
apt-get install firefox

and installed latest HWE.

Unpacked JDK 6 update 45 and launched the application. A JAVA security window appeared on which I was able to click on "Always trust content from this publisher" checkbox, but "Run" and "Cancel" buttons did not work when trying to click on them, as I described in the first post.

After that I sent the info above by apport-collect.

Revision history for this message
penalvch (penalvch) wrote :

Nyyr, could you please test the latest upstream kernel available from the very top line at the top of the page (the release names are irrelevant for testing, and please do not test the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue.

If the test did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested exactly shown as:
kernel-fixed-upstream-3.18-rc7

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: regression-release
Changed in linux (Ubuntu):
importance: Low → Medium
Revision history for this message
Nyyr (nyyr1) wrote :

OK, tried version http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18-rc7-vivid/, the problem persists, but now event the "Always trust content from this publisher" checkbox is not clickable after trying to use the touchscreen (not even with a mouse). I can only close the JAVA window by clicking on the X icon at the upper right corner of the window - even with the touchscreen.

Edit: Hm, strange. After playing with it for a while, I can sometimes click on the checkbox (but not on the butons).

Anyway, after Xorg restart, mouse works.

Revision history for this message
Nyyr (nyyr1) wrote :

Sorry, the bugs.launchpad.net GUI is not intuitive enough for me to find out, how to add a tag.

Revision history for this message
penalvch (penalvch) wrote :

Nyyr, in order to find the tags area, as per https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1206880/comments/19 :
"This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description."

As a worst case Ctrl+F -> bug description or Ctrl+F -> tags

Despite this, when booting into the 3.18-rc7 kernel a few times, do you consistently have to restart Xorg to get it to work, or was that a fluke?

Revision history for this message
Nyyr (nyyr1) wrote :

Yes, whenever I boot into X, mouse works, touchscreen works in fluxbox, but when I try to use touchscreen to click buttons in JAVA app, after that I cannot click JAVA buttons even with mouse until X restart. In fluxbox touchscreen works even after click on button in JAVA app (I closed that JAVA app using touchscreen by clicking on the top-right "X" control button of the window).

When I install manufacturer's driver (eGalax) for the touchscreen, all works fine. It is strange that only JAVA handles these events differently....

tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-3.18-rc7
Revision history for this message
penalvch (penalvch) wrote :

Nyyr, for dependency testing, would you be able to test this using a different desktop environment or would the application have to be significantly re-written?

Revision history for this message
Nyyr (nyyr1) wrote :

Installed openbox and the behavior is the same.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
penalvch (penalvch) wrote :

Nyyr, could you please test the latest mainline kernel 3.19 and advise to the results?

Changed in linux (Ubuntu):
status: Expired → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.