unity launcher does not handle apps launched from shell scripts correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BAMF |
Fix Released
|
Low
|
Marco Trevisan (Treviño) | ||
Unity |
Fix Released
|
Low
|
Marco Trevisan (Treviño) | ||
unity-2d |
Won't Fix
|
Undecided
|
Unassigned | ||
bamf (Ubuntu) |
Fix Released
|
Undecided
|
Marco Trevisan (Treviño) | ||
unity (Ubuntu) |
Fix Released
|
Low
|
Marco Trevisan (Treviño) |
Bug Description
Binary package hint: unity
If I launch a Java app from, says, a bash script, unity shows an icon for the application and allows me to tick 'keep in launcher'. However, after the application closes, clicking on the unity-launcher icon for the application does not launch it. The icon flashes for a while but no error is reported and the application does not run.
If I use a .desktop file to specify the bash script and add this to the unity-launcher, clicking on the icon does launch the script but unity-launcher displays a new icon for it (ie it can't connect it to the window that is launched).
DockbarX includes the ability to edit the window identifier for each application so that the above works correctly, but unity-launcher doesn't seem to have anything like this.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.8.8-0ubuntu2
ProcVersionSign
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
CompizPlugins: [core,bailer,
Date: Tue Apr 19 11:17:28 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100602.2)
ProcEnviron:
LANGUAGE=en_AU:en
LANG=en_AU.UTF-8
SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: Upgraded to natty on 2011-04-13 (5 days ago)
Related branches
- Christopher Townsend (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 602 lines (+195/-92)11 files modifiedlauncher/ApplicationLauncherIcon.cpp (+36/-37)
launcher/LauncherDragWindow.cpp (+1/-1)
launcher/SoftwareCenterLauncherIcon.cpp (+0/-1)
tests/mock-application.h (+1/-0)
tests/test_application_launcher_icon.cpp (+118/-39)
tests/test_launcher.cpp (+4/-4)
tests/test_software_center_launcher_icon.cpp (+1/-1)
unity-shared/ApplicationManager.h (+2/-0)
unity-shared/BamfApplicationManager.cpp (+11/-0)
unity-shared/BamfApplicationManager.h (+2/-0)
unity-shared/StandaloneAppManager.cpp (+19/-9)
- Christopher Townsend (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 417 lines (+174/-28)6 files modifiedsrc/bamf-application.c (+36/-2)
src/bamf-legacy-window-test.c (+14/-0)
src/bamf-legacy-window-test.h (+1/-0)
src/bamf-legacy-window.c (+43/-25)
src/bamf-legacy-window.h (+3/-0)
tests/bamfdaemon/test-application.c (+77/-1)
Changed in unity: | |
status: | New → Confirmed |
Changed in unity (Ubuntu): | |
status: | New → Confirmed |
Changed in unity: | |
importance: | Undecided → Low |
Changed in unity (Ubuntu): | |
importance: | Undecided → Low |
Changed in bamf: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in bamf (Ubuntu): | |
status: | New → Confirmed |
Changed in unity-2d: | |
status: | New → Confirmed |
Changed in unity-2d: | |
status: | Confirmed → Won't Fix |
Changed in bamf (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in unity (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in bamf: | |
status: | Confirmed → In Progress |
Changed in unity: | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
status: | Confirmed → In Progress |
milestone: | none → 7.1.2 |
Changed in bamf: | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in bamf (Ubuntu): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in unity (Ubuntu): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in bamf: | |
milestone: | none → 0.5.0 |
Changed in unity: | |
milestone: | 7.1.2 → 7.1.1 |
status: | Fix Committed → Fix Released |
Related to bug #751909