Clicking on "Reinstall previous purchase" twice shows endless spinner
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt | ||
Precise |
Fix Released
|
Medium
|
Michael Vogt |
Bug Description
[TEST CASE]
1. Launch the current Ubuntu Software Center in Precise.
2. Choose menu item "File"->"Reinstall Previous Purchases" and wait for the list to be displayed.
3. Repeat step 2.
4. Notice that the spinner is displayed, and it remains indefinitely.
5. Close Ubuntu Software Center.
6. Update to the latest version of software-center in precise-proposed.
7. Repeat steps 1 through 3.
8. Verify that the list is now displayed correctly the second time (that is, the spinner, if it appears, does not remain).
[REGRESSION POTENTIAL]
This is a very straightforward fix and as such the risk of regression is extremely low. Look for the resulting list not displayed as expected.
---
Test case:
1. open software-center
2. click on "File/Reinstall previous purchase"
3. wait until the list is displayed
4. repeat (2)
5. verify that there is a spinner visible that never goes away
Related branches
- Gary Lasker (community): Approve
-
Diff: 72 lines (+27/-6)2 files modifiedsoftwarecenter/ui/gtk3/app.py (+3/-1)
test/gtk3/test_app.py (+24/-5)
Changed in software-center (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Michael Vogt (mvo) |
Changed in software-center (Ubuntu Precise): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in software-center (Ubuntu Precise): | |
status: | In Progress → Fix Committed |
Changed in software-center (Ubuntu): | |
status: | In Progress → Fix Committed |
description: | updated |
Changed in software-center (Ubuntu Precise): | |
assignee: | nobody → Michael Vogt (mvo) |
The debug output:
2012-06-11 11:46:47,354 - softwarecenter. ui.gtk3. app - DEBUG - on_menu_ file_activate ui.gtk3. panes.softwarep ane - DEBUG - show_appview_ spinner ui.gtk3. panes.available pane - DEBUG - on_previous_ purchases_ activated with query: Xapian: :Query( AHfor-pay- needs-reinstall ) ui.gtk3. session. navhistory - DEBUG - appending: 'GetSof:2 None None "" None * SoftwareChannel center- agent :Query( AHfor-pay- needs-reinstall ) ui.gtk3. session. navhistory - DEBUG - A:[GetSof:0 None None "" None None, GetSof:2 None None "" None * SoftwareChannel center- agent :Query( AHfor-pay- needs-reinstall ) ui.gtk3. panes.softwarep ane - DEBUG - refresh_apps ui.gtk3. panes.softwarep ane - DEBUG - show_appview_ spinner ui.gtk3. panes.softwarep ane - DEBUG - softwarepane query: [Xapian: :Query( (AHfor- pay-needs- reinstall AND <alldocuments>))] db.enquire - DEBUG - initial query: 'Xapian: :Query( (AHfor- pay-needs- reinstall AND <alldocuments>))' performance - DEBUG - calculate nr_apps and nr_pkgs: : 0.000637054443359 db.enquire - DEBUG - nearly completely filtered query: 'Xapian: :Query( (AHfor- pay-needs- reinstall AND <alldocuments>))' db.enquire - DEBUG - found ~11 matches performance - DEBUG - append new matches to existing ones:: 0.000160217285156 ui.gtk3. panes.available pane - DEBUG - applist-changed <AvailablePane object at 0x31805a0 (softwarecenter +ui+gtk3+ panes+available pane+AvailableP ane at 0x3019680)> 11 ui.gtk3. models. appstore2 - DEBUG - set_from_matches len(matches)='11' performance - DEBUG - store.append_ initial: 0.00243282318115 ui.gtk3. panes.softwarep ane - DEBUG - hide_appview_ spinner performance - DEBUG - populate model from query: 'Xapian: :Query( (AHfor- pay-needs- reinstall AND <alldocuments>))' (threaded: True): 0.0704529285431 performance - DEBUG - enquirer. set_query( ): 0.0707421302795
2012-06-11 11:46:50,604 - softwarecenter.
2012-06-11 11:46:50,605 - softwarecenter.
2012-06-11 11:46:50,606 - softwarecenter.
name: Previous Purchases
origin: software-
component: None
display_name: Previous Purchases
iconname: unknown-channel
query: Xapian:
sort_mode: 1
installed_only: False'
2012-06-11 11:46:50,606 - softwarecenter.
name: Previous Purchases
origin: software-
component: None
display_name: Previous Purchases
iconname: unknown-channel
query: Xapian:
sort_mode: 1
installed_only: False, ]
2012-06-11 11:46:50,607 - softwarecenter.
2012-06-11 11:46:50,607 - softwarecenter.
2012-06-11 11:46:50,608 - softwarecenter.
2012-06-11 11:46:50,608 - softwarecenter.
2012-06-11 11:46:50,609 - softwarecenter.
2012-06-11 11:46:50,609 - softwarecenter.
2012-06-11 11:46:50,611 - softwarecenter.
2012-06-11 11:46:50,611 - softwarecenter.
2012-06-11 11:46:50,674 - softwarecenter.
2012-06-11 11:46:50,674 - softwarecenter.
2012-06-11 11:46:50,677 - softwarecenter.
2012-06-11 11:46:50,678 - softwarecenter.
2012-06-11 11:46:50,678 - softwarecenter.
2012-06-11 11:46:50,679 - softwarecenter.
It looks like the spinner tab is simply not returning to the content page here, when running with SOFTWARE_ CENTER_ DEBUG_TABS= 1 I can see the content just fine.