Purchased items are not being added to the Unity launcher
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
High
|
Bilal Akhtar | ||
5.0 |
Fix Released
|
High
|
Bilal Akhtar | ||
software-center (Ubuntu) |
Fix Released
|
High
|
Gary Lasker | ||
Precise |
Fix Released
|
High
|
Gary Lasker | ||
unity (Ubuntu) |
Fix Released
|
High
|
Bilal Akhtar | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
Ubuntu Software Center 5.1.14.1, the Precise Pangolin, beta 2
Unity 5.8.0-0ubuntu2
[Test Case]
1. Launch the current Ubuntu Software Center in Precise.
2. Click the down arrow in the toolbar next to the "All Software" button, and choose the "For Purchase" item.
3. In the list of displayed items for purchase, choose an application (but *not* a magazine or book) that is free (that is, marked as $0 -- unless you wish to purchase something).
4. Click the "More Info" button.
5. In the details view for the application, click the "Buy" button.
6. Follow the purchase process. For a $0 item, you will not be prompted for payment information.
7. Enter the password for the install when prompted.
8: The progress bar activates in Software Center. Note that for purchased items, it can take a bit of time before the progress bar transitions from intdeterminate to determinate.
9: At the very *end* of the installation process (when the progress bar has completed), verify that no icon for the installed purchase item has been added to the Unity launcher.
10. Close Ubuntu Software Center.
11. Update to both the software-center *and* unity packages in precise-proposed.
12. Repeat steps 1 through 8.
13. This time, at the very *end* of the install process, verify that the corresponding icon "flies" to the Unity launcher and is added there.
14. Click the launcher icon and verify that the newly installed application launches.
[Regression Potential]
Risk of regression is very low. Probably the only thing you might watch for would be an unexpected exception reported. If anything like this occurs, of course, please note it in the bug.
---
Bug Description:
Update: With the most recent version of Unity, 5.8.0-0ubuntu2, and Software Center version 5.1.14.1, *no* purchased apps are being installed to the Unity launcher upon installation.
Previous description from the esteemed Mr. Davmor2:
I have install 6 perviously purchase apps of the 6 only 3 have displayed in the app launcher.
In App Launcher:
Braid, Darwinia, family farm
Not In Launcher:
Full Circle Magazine, spacechem, steel storm 2:
Steel storm has an issue on newer versions with the : in it's name so that may be why it failed to appear
Version:
n/a
OS:
64bit Precise
USC Version:
5.1.7
Steps To Reproduce:
1. Open USC
2. install the apps from previous purchases
Expected Results:
I expect all of the applications to appear in the launcher or none of them.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: software-center 5.1.7
ProcVersionSign
Uname: Linux 3.2.0-12-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Wed Feb 1 17:59:01 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120117)
PackageArchitec
ProcEnviron:
LANGUAGE=en_GB:en
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: Upgraded to precise on 2012-01-28 (4 days ago)
Related branches
- Brandon Schaefer (community): Approve
- Tim Penhey (community): Approve
- Marco Trevisan (Treviño): Approve
-
Diff: 42 lines (+6/-1)2 files modifiedlauncher/SoftwareCenterLauncherIcon.cpp (+3/-1)
launcher/SoftwareCenterLauncherIcon.h (+3/-0)
- Michael Vogt: Needs Fixing
- Matthew Paul Thomas: Needs Fixing
-
Diff: 308 lines (+83/-42)7 files modifiedsoftwarecenter/backend/installbackend_impl/aptd.py (+5/-3)
softwarecenter/backend/unitylauncher.py (+5/-5)
softwarecenter/enums.py (+3/-0)
softwarecenter/ui/gtk3/panes/availablepane.py (+47/-30)
softwarecenter/utils.py (+7/-1)
test/gtk3/test_unity_launcher_integration.py (+2/-2)
test/test_utils.py (+14/-1)
- Marco Trevisan (Treviño): Approve
- Brandon Schaefer (community): Approve
- Thomi Richards (community): Approve (quality)
- Tim Penhey (community): Needs Fixing
-
Diff: 120 lines (+44/-2)5 files modifiedplugins/unityshell/src/Launcher.cpp (+2/-0)
plugins/unityshell/src/LauncherController.cpp (+5/-0)
plugins/unityshell/src/SoftwareCenterLauncherIcon.cpp (+7/-1)
plugins/unityshell/src/SoftwareCenterLauncherIcon.h (+3/-0)
tests/autopilot/autopilot/tests/test_launcher.py (+27/-1)
Changed in software-center (Ubuntu): | |
assignee: | nobody → Gary Lasker (gary-lasker) |
importance: | Undecided → Medium |
summary: |
- Some apps are not showing up in applauncher + Some previously purchase items are not being added to the Unity launcher |
Changed in software-center (Ubuntu): | |
status: | New → Triaged |
summary: |
- Some previously purchase items are not being added to the Unity launcher + Purchased items are not being added to the Unity launcher |
Changed in software-center (Ubuntu): | |
milestone: | none → ubuntu-12.04 |
description: | updated |
Changed in software-center (Ubuntu): | |
status: | Triaged → In Progress |
Changed in software-center (Ubuntu): | |
milestone: | ubuntu-12.04 → precise-updates |
tags: | added: ca-escalated |
Changed in software-center (Ubuntu): | |
importance: | Medium → High |
no longer affects: | unity (Ubuntu) |
Changed in unity (Ubuntu): | |
assignee: | nobody → Bilal Akhtar (bilalakhtar) |
Changed in unity (Ubuntu): | |
importance: | Undecided → High |
Changed in unity (Ubuntu): | |
status: | New → Triaged |
Changed in unity (Ubuntu): | |
milestone: | none → ubuntu-12.04.1 |
Changed in unity (Ubuntu): | |
milestone: | ubuntu-12.04.1 → precise-updates |
Changed in unity (Ubuntu): | |
status: | Triaged → In Progress |
Changed in unity: | |
status: | New → In Progress |
importance: | Undecided → High |
milestone: | none → 5.14.0 |
assignee: | nobody → Bilal Akhtar (bilalakhtar) |
Changed in unity: | |
milestone: | 5.14.0 → 6.0 |
Changed in unity: | |
milestone: | 6.0 → 6.2 |
Changed in software-center (Ubuntu Precise): | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in software-center (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in unity (Ubuntu Precise): | |
importance: | Undecided → High |
status: | New → In Progress |
Changed in software-center (Ubuntu Precise): | |
milestone: | none → precise-updates |
description: | updated |
Changed in software-center (Ubuntu Precise): | |
assignee: | nobody → Gary Lasker (gary-lasker) |
Changed in software-center (Ubuntu Precise): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
description: | updated |
Changed in unity: | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
Changed in unity (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in unity: | |
status: | Fix Committed → Fix Released |
The problem appears to stem from the fact that the agent sends the value "software- center- agent" for the desktop file name, and this is not a real desktop file. Initial code in the attached branch, I'll dig in and find a fix for this.