menu item for command in terminal breaks terminal launcher

Bug #1175135 reported by Bracken
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Confirmed
Undecided
Unassigned
unity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have an icon on my launcher for the terminal, recently I made a new item for "application in terminal" in the Main Menu, it is a shell script like the one below and gave this new menu item an IRC client icon. If I open this with a terminal open, it opens in a terminal under the same icon on the launcher as the existing terminal. If I open it first it opens under a new icon in the launcher with the IRC icon, then all subsequent terminal windows I open end up under the same icon on the launcher. This makes it annoying to find my terminals and the terminal with my IRC client.

here's the script, it opens two IRC clients, one locally one not so locally:
  gnome-terminal -e weechat-curses &
  while [ 1 ]; do
    ssh -t my.domain.name "screen -rd irc"
  done

Steps to re-create
==============
1. Start on an empty desktop.
2. make a script like the one above to open some application (like weechat) in a terminal.
3. Use the "Main Menu" editor to add an "irc" icon to your dash, which is an "application in terminal" pointing to your script, do not pin it to the launcher.
4. Pin the standard terminal to your launcher.
5. Make sure the desktop is still empty of any windows.
5. Open "irc" via the dash.
6. Open a standard terminal from the launcher icon.

Expected results
=============
The terminal containing weechat and the standard terminal are under the terminal icon on the launcher.

Actual results
===========
Both the IRC chat and any terminals you open are now under the irc icon in the launcher with whatever icon it has set in the menu.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: unity 6.12.0-0ubuntu0.2
ProcVersionSignature: Ubuntu 3.5.0-27.46-generic 3.5.7.7
Uname: Linux 3.5.0-27-generic x86_64
NonfreeKernelModules: symap_custom_3.5.0_27_generic_x86_64 symev_custom_3.5.0_27_generic_x86_64 nvidia
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,imgpng,obs,place,snap,move,vpswitch,resize,mousepoll,session,grid,gnomecompat,regex,commands,unitymtgrabhandles,mag,wall,resizeinfo,animation,workarounds,fade,scale,expo,unityshell]
Date: Wed May 1 11:28:16 2013
InstallationDate: Installed on 2013-01-02 (118 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Bracken (abdawson) wrote :
Andrea Azzarone (azzar1)
Changed in unity:
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
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.