multiple instances or double icons of application detected on bamfdaemon respawn
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BAMF |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
Unity |
Fix Released
|
High
|
Marco Trevisan (Treviño) | ||
Unity Distro Priority |
Fix Released
|
Medium
|
Unassigned | ||
bamf (Ubuntu) |
Fix Released
|
High
|
Marco Trevisan (Treviño) | ||
Precise |
Fix Released
|
High
|
Marco Trevisan (Treviño) | ||
unity (Ubuntu) |
Fix Released
|
High
|
Marco Trevisan (Treviño) | ||
Precise |
Fix Released
|
High
|
Marco Trevisan (Treviño) |
Bug Description
Doesn't happen 100% of the time, but quite easy to tackle:
test case
1. start a non pinned app e.g. system monitor
2. open terminal and type 'killall bamfdaemon; /usr/lib/
What happens:
you see two icons of system monitor in launcher
-> This case is fixed, but:
For example, try to run an application with no desktop file (i.e. Xclock, valkyrie...) then kill bamfdaemon: the icons will be duplicated.
I just using mail client - thunderbird, I close it. When I open thunderbird again, next icon appears in unity, while both icons forwarding to this one instance of thunderbird. After right click on the icon in unity panel, there is blank line instead app name on the newly created icon. I guess it'll happen with more apps.
Another case:
TEST CASE:
1. open a single instance of an application
2. killall bamfdaemon
-> when bamfdaemon will respawn, 2 arrows will appear on the launcher, alt-tab think there are two instances as well.
Not that in 5.4, some icons are doubled (no more double arrows)
Unity Issue test case:
1. Open gnome-control-
2. killall bamfdaemon
libbamf issue test case:
1. Open xclock
2. killall bamfdaemon
expected:
-> when bamfdaemon reconnect, only one instance in launcher/alt+tab is seen.
Related branches
- Michal Hruby (community): Approve
- Tim Penhey (community): Approve
- Marco Trevisan (Treviño): Pending requested
- Thomi Richards: Pending requested
-
Diff: 226 lines (+84/-17)6 files modifiedplugins/unityshell/src/BamfLauncherIcon.cpp (+2/-1)
plugins/unityshell/src/LauncherController.cpp (+4/-3)
tests/autopilot/autopilot/emulators/bamf.py (+10/-0)
tests/autopilot/autopilot/emulators/unity/launcher.py (+13/-11)
tests/autopilot/autopilot/tests/__init__.py (+6/-2)
tests/autopilot/autopilot/tests/test_launcher.py (+49/-0)
- Michal Hruby (community): Approve
-
Diff: 892 lines (+410/-120)9 files modifiedlib/libbamf/Makefile.am (+1/-0)
lib/libbamf/bamf-application-private.h (+30/-0)
lib/libbamf/bamf-application.c (+71/-8)
lib/libbamf/bamf-factory.c (+157/-44)
lib/libbamf/bamf-factory.h (+17/-0)
lib/libbamf/bamf-matcher.c (+68/-38)
lib/libbamf/bamf-view-private.h (+2/-0)
lib/libbamf/bamf-view.c (+62/-29)
lib/libbamf/bamf-window.c (+2/-1)
Changed in unity: | |
assignee: | nobody → Jason Smith (jassmith) |
importance: | Undecided → Medium |
Changed in unity (Ubuntu): | |
importance: | Undecided → Medium |
Changed in unity: | |
status: | New → Triaged |
Changed in unity (Ubuntu): | |
status: | New → Triaged |
Changed in unity: | |
milestone: | none → 5.4.0 |
Changed in unity-distro-priority: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
Changed in unity: | |
milestone: | 5.4.0 → 5.6.0 |
tags: | added: distro-priority |
description: | updated |
summary: |
- multiple instances of application detected on bamfdaemon respawn + multiple instances or double icons of application detected on bamfdaemon + respawn |
Changed in unity: | |
assignee: | Jason Smith (jassmith) → Marco Trevisan (Treviño) (3v1n0) |
Changed in unity: | |
importance: | Medium → High |
Changed in unity (Ubuntu): | |
importance: | Medium → High |
description: | updated |
Changed in unity: | |
milestone: | 5.6.0 → 5.8.0 |
tags: | added: rls-mgr-p-tracking |
tags: | added: precise |
Changed in unity: | |
milestone: | 5.8.0 → 5.10.0 |
Changed in unity-distro-priority: | |
status: | Fix Released → Fix Committed |
Changed in unity: | |
milestone: | none → 5.10.0 |
status: | Fix Released → Triaged |
Changed in unity (Ubuntu Precise): | |
status: | Fix Released → Triaged |
description: | updated |
Changed in unity: | |
milestone: | 5.10.0 → 5.12.0 |
Changed in unity: | |
status: | Triaged → In Progress |
Changed in unity (Ubuntu Precise): | |
status: | Triaged → In Progress |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in bamf: | |
status: | New → In Progress |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
milestone: | none → 0.2.116 |
importance: | Undecided → Medium |
Changed in unity: | |
milestone: | 5.12.0 → 5.14.0 |
Changed in bamf: | |
milestone: | 0.2.116 → 0.2.118 |
Changed in unity: | |
status: | In Progress → Fix Committed |
milestone: | 5.14.0 → 5.12.0 |
Changed in bamf: | |
status: | In Progress → Fix Released |
Changed in unity: | |
status: | Fix Committed → Fix Released |
Changed in bamf: | |
status: | Fix Released → Fix Committed |
Changed in bamf (Ubuntu): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in bamf (Ubuntu Precise): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
description: | updated |
Changed in bamf (Ubuntu): | |
importance: | Undecided → High |
Changed in bamf (Ubuntu Precise): | |
importance: | Undecided → High |
status: | Confirmed → Fix Committed |
Changed in bamf: | |
status: | Fix Committed → Fix Released |
Changed in unity-distro-priority: | |
status: | Fix Committed → Fix Released |
no longer affects: | bamf (Ubuntu Quantal) |
Would this definitely be fixed for Unity 5.4? It is happening very frequently thereby messing with the alt-tab.