Java Swing applications displayed with wrong name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BAMF |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
Unity |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
bamf (Ubuntu) |
Fix Released
|
Undecided
|
Marco Trevisan (Treviño) | ||
openjdk-6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
openjdk-7 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: unity
On launcher, all Java Swing applications are with wrong name. Their tooltip shows the Java class name, with the dots changed by hiphens.
For example, Netbeans icon itself gets inactive after startup.
Then an icon with a '?' shows up indicating "java-lang-Thread" on mouseover.
-------
Treviño: this issue is java related (affecting javaws apps as well) and it's caused by the fact that the Java apps doesn't correctly set the WM_CLASS X property on their windows. There was a bug for it (including a patch): http://
The ubuntu java package should probably include it.
A workaround to fix it is to use this window matching agent: https:/
.desktop file to change the Exec value including -javaagent:
Related branches
- Brandon Schaefer (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 1004 lines (+594/-125)6 files modifiedsrc/bamf-application.c (+216/-111)
src/bamf-application.h (+18/-6)
src/bamf-unity-webapps-application.c (+1/-1)
src/bamf-unity-webapps-observer.c (+7/-1)
tests/bamfdaemon/test-application.c (+338/-6)
tests/bamfdaemon/test-bamf.c (+14/-0)
- Andrea Azzarone (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 531 lines (+94/-92)14 files modifieddebian/control (+1/-1)
launcher/ApplicationLauncherIcon.cpp (+13/-14)
launcher/ApplicationLauncherIcon.h (+2/-0)
launcher/MockLauncherIcon.h (+5/-3)
launcher/StandaloneLauncher.cpp (+2/-0)
panel/PanelMenuView.cpp (+4/-1)
panel/PanelMenuView.h (+1/-0)
tests/mock-application.h (+15/-22)
tests/test_application_launcher_icon.cpp (+8/-10)
tests/test_switcher_controller.h (+0/-2)
tests/test_switcher_controller_class.cpp (+3/-2)
unity-shared/ApplicationManager.h (+6/-4)
unity-shared/BamfApplicationManager.cpp (+32/-27)
unity-shared/BamfApplicationManager.h (+2/-6)
Changed in unity: | |
status: | New → Confirmed |
Changed in bamf: | |
status: | New → Confirmed |
Changed in unity-2d: | |
status: | New → Confirmed |
summary: |
- Java applications displayed with wrong name + Java Swing applications displayed with wrong name |
Changed in unity-2d: | |
importance: | Undecided → High |
description: | updated |
Changed in openjdk-6 (Ubuntu): | |
status: | New → Confirmed |
Changed in openjdk-7 (Ubuntu): | |
status: | New → Confirmed |
description: | updated |
Changed in bamf: | |
milestone: | none → 0.4.0 |
no longer affects: | bamf/0.2 |
no longer affects: | bamf/0.3 |
Changed in bamf: | |
milestone: | 0.4.0 → 0.5.0 |
Changed in bamf: | |
importance: | Undecided → Medium |
Changed in unity: | |
importance: | Undecided → Low |
no longer affects: | unity-2d |
Changed in bamf: | |
status: | Confirmed → In Progress |
Changed in unity: | |
status: | Confirmed → In Progress |
importance: | Low → Medium |
Changed in bamf: | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in unity: | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
milestone: | none → 7.1.0 |
Changed in bamf (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in openjdk-7 (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in openjdk-6 (Ubuntu): | |
status: | Confirmed → Invalid |
used Netbeans 6.9.
Package: netbeans Maintainer: Yulia Novozhilova <email address hidden> 2-java (>= 6.9), libnb-ide13-java (= 6.9-0ubuntu2), libnb-java4-java (= 6.9-0ubuntu2), libnb-apisuppor t2-java (= 6.9-0ubuntu2) n/netbeans/ netbeans_ 6.9-0ubuntu2_ all.deb 9ecbbce17a20b4d 35 f9df0d1f1c73112 463866bab0 e5ffe2ca597b9d1 99ad3e9158a2e78 1a3536905594101 6c63 gsumgebung (IDE) www.netbeans. org /bugs.launchpad .net/ubuntu/ +filebug
Priority: optional
Section: universe/devel
Installed-Size: 2540
Maintainer: Ubuntu Developers <email address hidden>
Original-
Architecture: all
Version: 6.9-0ubuntu2
Replaces: netbeans-ide, netbeans5.5
Depends: libnb-platform1
Conflicts: netbeans-ide, netbeans5.5
Filename: pool/universe/
Size: 1090162
MD5sum: 3d98bc837074c6d
SHA1: f2aa83298f7031d
SHA256: 0b618d2caee4aa7
Description-de: Erweiterbare Integrierte Java-Entwicklun
Integrated Development Environment for software developers. It supports
development of desktop, enterprise, web, and mobile applications. Package
includes the Base IDE, Java Development Tools and Plug-in Development
Tools. Support for PHP, Ruby, C/C++, Java EE and others can be added.
Homepage: http://
Bugs: https:/
Origin: Ubuntu