← Back to team overview

openjdk team mailing list archive

[Bug 751909] Re: Java Swing applications displayed with wrong name

 

This bug was fixed in the package unity - 7.0.1+13.10.20130702-0ubuntu1

---------------
unity (7.0.1+13.10.20130702-0ubuntu1) saucy; urgency=low

  [ Michal Hruby ]
  * A few changes to unity-core API/ABI.

  [ Ted Gould ]
  * Fix upstart job to handle legacy case and not duplicate events.

  [ Marco Trevisan (Treviño) ]
  * ApplicationManager: Use nux::ROProperty for Window and Application
    title and icon So BamfApplicationManager connect to {name,icon}-
    changed signals, set getters for properties and
    ApplicationLauncherIcon update icon tooltip_text and icon when App
    title/icon changes. (LP: #751909)
  * BamfApplicationManager: always use std::make_shared and use
    glib::SignalManager::Add Also add some helper constructors.
  * ApplicationLauncherIcon: only use a simple std::vector to cache the
    quicklist entries Remove the ugly std::string indexed std::map.
  * ConnectionManager: add a class container of sigc::connection that
    takes care of disconnection Connections added will be disconnected
    on class destruction on on explicit removal or replacement request.

  [ Lars Uebernickel ]
  * unity-panel-service: call ido_init() and honor indicator's position
    requests.

  [ Chris Townsend ]
  * Fixes some panel shadow regressions caused by rev. 3381. - No panel
    shadow when logging in, ie, no windows are opened. - Indicator drop
    down menus have the panel shadow painted over them. - Notification
    bubbles cause the panel shadow to be drawn on top of everything. -
    Minimizing all windows caused the panel shadow to not be drawn. (LP:
    #1194865)

  [ Didier Roche ]
  * now build-depends on the desktop definition for scopes as libunity-
    common is dead.

  [ Sebastien Bacher ]
  * use correct ellipses.

  [ Andrea Azzarone ]
  * Remove not necessary assert. (LP: #1192503)

  [ Łukasz 'sil2100' Zemczak ]
  * Revert revision 3380. This caused regression of all autopilot tests
    as show_desktop was invalidly detected every time there are no
    visible windows on screen.

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 3396
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Tue, 02 Jul 2013 05:32:40 +0000

** Changed in: unity (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/751909

Title:
  Java Swing applications displayed with wrong name

Status in BAMF Application Matching Framework:
  In Progress
Status in Unity:
  Fix Committed
Status in “bamf” package in Ubuntu:
  In Progress
Status in “openjdk-6” package in Ubuntu:
  Confirmed
Status in “openjdk-7” package in Ubuntu:
  Confirmed
Status in “unity” package in Ubuntu:
  Fix Released

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://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6528430
  The ubuntu java package should probably include it.

  A workaround to fix it is to use this window matching agent: https://github.com/jelmerk/window-matching-agent then you need to update the application
  .desktop file to change the Exec value including -javaagent:agent.jar=<AppWMClass> and adding StartupWMClass=<AppWMClass>.

To manage notifications about this bug go to:
https://bugs.launchpad.net/bamf/+bug/751909/+subscriptions