openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #08744
[Bug 1073349] [NEW] Main Java application window loses focus when a sub-dialog is closed
Public bug reported:
When a Java application running under Open Java 7 JRE opens a modal
dialog, and the dialog is answered/closed, the main application window
does not regain focus.
Furthermore, the Java application window is not in the taskbar
(Lubuntu/LXDE). If you do Alt-Tab to return focus to it, the Java
application is not there. The only way to return focus to the main Java
application window is to click on it.
In comparison, on Java 7 in Windows, the Java application windows also
do not appear in the taskbar, but focus is restored to the main
application window when a sub-dialog is dismissed/closed, and if you do
Alt-Tab, the Java application windows are accessible that way also.
When using Open Java 6, the Java application windows always appeared in
the taskbar, but not on Open Java 7, and I had no loss-of-focus problem.
If I remove the Open Java 7 packages, the problem goes away.
If the application is launched using JNLP (using Javaws), the Java
application windows do appear in the taskbar, and there is no loss of
focus problem. The problem occurs with Java applications launched using
the "java -jar" command.
Unfortunately, I cannot use javaws to launch my application because the
default Java Sound synthesizer (Gervill) can't be used when the
application is started via javaws (that problem has been reported in a
separate bug report).
I have also observed the problem using the Unity desktop (Ubuntu).
Version: 7u9-2.3.3-0ubuntu1-12.10.1 (quantal-updates)
7u7-2.3.2a-1ubuntu1 (quantal)
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: openjdk-7-jre 7u9-2.3.3-0ubuntu1~12.10.1
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic i686
ApportVersion: 2.6.1-0ubuntu6
Architecture: i386
Date: Tue Oct 30 15:58:25 2012
InstallationDate: Installed on 2012-04-26 (186 days ago)
InstallationMedia: Lubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
MarkForUpload: True
SourcePackage: openjdk-7
UpgradeStatus: Upgraded to quantal on 2012-10-20 (10 days ago)
** Affects: openjdk-7 (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 quantal
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1073349
Title:
Main Java application window loses focus when a sub-dialog is closed
Status in “openjdk-7” package in Ubuntu:
New
Bug description:
When a Java application running under Open Java 7 JRE opens a modal
dialog, and the dialog is answered/closed, the main application window
does not regain focus.
Furthermore, the Java application window is not in the taskbar
(Lubuntu/LXDE). If you do Alt-Tab to return focus to it, the Java
application is not there. The only way to return focus to the main
Java application window is to click on it.
In comparison, on Java 7 in Windows, the Java application windows also
do not appear in the taskbar, but focus is restored to the main
application window when a sub-dialog is dismissed/closed, and if you
do Alt-Tab, the Java application windows are accessible that way also.
When using Open Java 6, the Java application windows always appeared
in the taskbar, but not on Open Java 7, and I had no loss-of-focus
problem. If I remove the Open Java 7 packages, the problem goes away.
If the application is launched using JNLP (using Javaws), the Java
application windows do appear in the taskbar, and there is no loss of
focus problem. The problem occurs with Java applications launched
using the "java -jar" command.
Unfortunately, I cannot use javaws to launch my application because
the default Java Sound synthesizer (Gervill) can't be used when the
application is started via javaws (that problem has been reported in a
separate bug report).
I have also observed the problem using the Unity desktop (Ubuntu).
Version: 7u9-2.3.3-0ubuntu1-12.10.1 (quantal-updates)
7u7-2.3.2a-1ubuntu1 (quantal)
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: openjdk-7-jre 7u9-2.3.3-0ubuntu1~12.10.1
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic i686
ApportVersion: 2.6.1-0ubuntu6
Architecture: i386
Date: Tue Oct 30 15:58:25 2012
InstallationDate: Installed on 2012-04-26 (186 days ago)
InstallationMedia: Lubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
MarkForUpload: True
SourcePackage: openjdk-7
UpgradeStatus: Upgraded to quantal on 2012-10-20 (10 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1073349/+subscriptions
Follow ups
References