software center doesn't let you review installed apps without restarting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Fix Released
|
Medium
|
Gary Lasker | ||
Natty |
Fix Released
|
Medium
|
Gary Lasker |
Bug Description
Binary package hint: software-center
TEST CASE:
1. Open Software Center version 4.0 (stock Natty).
2. Navigate to the details view for any package that is not yet installed.
3. Note that the string in the reviews section reads "You need to install this app before you can review it"
4. Install the package.
5. After the package installation is complete, note that the string still reads "You need to install this app before you can review it"
6. Uninstall the package.
7. Close Software Center and upgrade to version 4.0.1 in natty-proposed.
8. Open Software Center and navigate back to the test package.
9. Verify that the string again reads "You need to install this app before you can review it" (as it is not installed)
10. Install the package.
11. After installation is complete, verify that the text has changed to "Be the first to review it" or "Write your own review", and when clicked brings up the reviews login dialog.
---
After installing an application, software center still says "you need to install this app before you can review it." The only way to review an app is to close software center, and then re-open it after installation.
str (from dupe bug 765396):
1- go to an app in the software centre (i used radio-tray)
2- click install, authenticate, wait for this to complete
3- (optionally) launch the application and play with it
what should happen:
- i can enter comments about the application in the software centre
what does happen:
- it still says "you need to install this application" etc
The problem seems to be that the reviews section ought to reload or update after installation but it does not. The inverse problem appears after deinstallation (ie you can still review it.)
(Separately, it might be reasonable to let people review software they previously tried and then deinstalled: Android Market does that for example.)
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: software-center 4.0
ProcVersionSign
Uname: Linux 2.6.38-
NonfreeKernelMo
Architecture: i386
Date: Sat Apr 23 05:20:43 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110413)
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in software-center (Ubuntu): | |
status: | New → Confirmed |
Changed in software-center (Ubuntu): | |
status: | Confirmed → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Gary Lasker (gary-lasker) |
description: | updated |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Changed in software-center (Ubuntu): | |
status: | Fix Committed → Fix Released |
tags: | added: testcase |
Thanks a lot for this Gary, I merged it into trunk and the 4.0 branch and its ready for a SRU! Having a testcase for it would be nice (e.g. in tests/test_ appdetails_ view.py) but I think the code is pretty straightforward so I merged it.