[SRU] [REGRESSION] launching byobu from unity uses the terminal icon rather than the application icon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BAMF |
Triaged
|
Medium
|
Marco Trevisan (Treviño) | ||
bamf (Ubuntu) |
Triaged
|
Medium
|
Marco Trevisan (Treviño) | ||
Wily |
Confirmed
|
Medium
|
Unassigned | ||
byobu (Ubuntu) |
Fix Released
|
Medium
|
Dustin Kirkland | ||
Wily |
Triaged
|
Medium
|
Dustin Kirkland | ||
gnome-terminal (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
Wily |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I just upgraded to Wily yesterday, and it seems this regression has crept up again (it happened around the Utopic timeframe too).
Install Byobu.
sudo apt-get install byobu
Open from the Unity Launcher. Press Windows icon. Type 'byobu'. Click on the Ubuntu terminal icon. Byobu open in the default terminal (as specified in the byobu.desktop file), but the icon on the left in the unity bar is the Terminal icon, not the Byobu one.
=======
[Impact]
* The icon is not displayed properly in the unity bar on the left
[Test Case]
* sudo apt-get install -y byobu
* Press the Unity launcher key
* Type 'byobu' and press enter
* See the gnome terminal icon (black square with a prompt, like >_ on it)
* Install the package from wily-proposed
* Close byobu, and launch it again
* See the byobu logo (a three panel Japanese screen)
[Regression Potential]
* None
[Other Info]
* One line fix in the byobu.desktop file
* Already applied upstream and released in xenial
* Diff looks like this:
=== modified file 'usr/share/
--- a/usr/share/
+++ b/usr/share/
@@ -7,3 +7,4 @@
Terminal=true
Categories=
X-GNOME-
+StartupWMClass
=======
Related branches
Changed in byobu (Ubuntu): | |
status: | New → Invalid |
importance: | Undecided → Medium |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in unity (Ubuntu): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
no longer affects: | unity (Ubuntu) |
Changed in byobu (Ubuntu): | |
status: | Invalid → Triaged |
status: | Triaged → Invalid |
Changed in bamf: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
milestone: | none → 0.5.2 |
Changed in bamf (Ubuntu): | |
status: | New → Confirmed |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Changed in byobu (Ubuntu): | |
status: | Invalid → In Progress |
Changed in byobu (Ubuntu Wily): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Dustin Kirkland (kirkland) |
milestone: | none → wily-updates |
summary: |
- [REGRESSION] launching byobu from unity uses the terminal icon rather - than the application icon + [SRU] [REGRESSION] launching byobu from unity uses the terminal icon + rather than the application icon |
tags: |
added: verification-failed removed: verification-needed |
Changed in bamf (Ubuntu Wily): | |
importance: | Undecided → Medium |
tags: | added: regression-release wily |
Changed in gnome-terminal (Ubuntu): | |
importance: | Undecided → Medium |
Changed in gnome-terminal (Ubuntu Wily): | |
importance: | Undecided → Medium |
Changed in byobu (Ubuntu): | |
status: | Fix Released → Triaged |
Changed in byobu (Ubuntu Wily): | |
status: | Fix Committed → Triaged |
Changed in byobu (Ubuntu): | |
status: | Triaged → In Progress |
Changed in bamf: | |
milestone: | 0.5.3 → 0.5.4 |
So, I guess this is mostly related to the changes in gnome-terminal that now uses GApplication instead of the old factory.
It also doesn't support anymore the "--class" parameter as it used to be in the past, but this shouldn't be related to this issue.
I gave a quick look (not with code yet), but it seems that at this point for BAMF is quite tricky to understand who has launched that window, and thus using the right icon (since the new terminal window is create by the same main process of the other terminals). Passing a --class or --window-role parameter (together with a StartupWMClass .desktop file paramter) might help in doing this matching, but at this point things seems quite tricky.