Going back to search results forgets characters depending on typing speed

Bug #537512 reported by Matthew Paul Thomas
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Medium
Olivier Tilloy
Lucid
Fix Released
Medium
Olivier Tilloy

Bug Description

Ubuntu Software Center 1.1.23, Ubuntu Lucid

TEST CASE:
1. Select and copy the following number into your clipboard: 1234
2. Open Ubuntu Software Center (USB). In the "Get Software" view, click in the search field and paste the value from the clipboard. The "1234" will appear and the resulting search results will be displayed.
3. Click "More Info" on the first result.
4. Click the Back navigation button.
5. Exit and relaunch USC. Note that the search field is again empty (it is always reset on a fresh launch of USC).
6. In the "Get Software" view, *slowly* type "1234" into the search field -- type slowly enough for the display to update completely after each digit.
7. Click "More Info" on the first result.
8. Click the Back navigation button.

What should happen:
4. You return to search results for "1234".
8. You return to search results for "1234".

What actually happens:
4. You return to search results for "1234".
8. You return to search results for "1". The "234" has been lost.

Exactly how many characters get lost from a search string depends on how slowly you typed the string, versus how fast USC was at doing the live search.

Related branches

description: updated
Alex Wardle (awardle)
Changed in software-center (Ubuntu):
status: New → Confirmed
description: updated
summary: - Going back to search results forgets last keypress
+ Going back to search results forgets characters depending on typing
+ speed
Changed in software-center (Ubuntu):
importance: Undecided → Medium
Olivier Tilloy (osomon)
Changed in software-center (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
status: Confirmed → In Progress
Michael Vogt (mvo)
Changed in software-center (Ubuntu):
status: In Progress → Fix Committed
Michael Vogt (mvo)
description: updated
Changed in software-center (Ubuntu Lucid):
status: Fix Committed → In Progress
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted software-center into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in software-center (Ubuntu Lucid):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 2.0.3

---------------
software-center (2.0.3) lucid-proposed; urgency=low

  [ Michael Vogt ]
  * debian/control:
    - updated Vcs-Bzr location to point to lucid branch
  * softwarecenter/apt/aptcache.py:
    - fix flickering when a application is instaleld (LP: #563163)

  [ Olivier Tilloy ]
  * data/templates/AppDetailsView.html:
    - fix missing padding for small details window sizes (LP: #560026)
  * softwarecenter/view/widgets/searchentry.py:
   - Set the search entry's text color to black when not empty.
     This makes it readable on dark themes with a light text color by
     default (LP: #500174)
  * softwarecenter/app.py:
    - avoid 100% usage when waiting for software-sources to finish
      (LP: #459521)
  * softwarecenter/view/navhistory.py:
    - keep the search terms updated to ensure the navigation history
      always has the latest used search terms (LP: #537512)

  [ Kiwinote ]
  * data/featured.menu.in:
    - Update featured applications list per Desktop team (LP: #548534)
    - Feature 'fretsonfire-game' rather than 'fretsonfire' (LP: #538646)
 -- Michael Vogt <email address hidden> Tue, 27 Apr 2010 19:06:44 +0200

Changed in software-center (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Copied lucid-proposed to maverick.

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
Changed in software-center (Ubuntu Lucid):
status: Fix Released → Fix Committed
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

What should happen:
4. You return to search results for "1234". <---
8. You return to search results for "1234".

What actually happens:
4. You return to search results for "1234". <---
8. You return to search results for "1". The "234" has been lost.

Point 4 return, when relaunched, at initial page with nothing set from previous session.
Point 8 work correctly.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 2.0.3

---------------
software-center (2.0.3) lucid-proposed; urgency=low

  [ Michael Vogt ]
  * debian/control:
    - updated Vcs-Bzr location to point to lucid branch
  * softwarecenter/apt/aptcache.py:
    - fix flickering when a application is instaleld (LP: #563163)

  [ Olivier Tilloy ]
  * data/templates/AppDetailsView.html:
    - fix missing padding for small details window sizes (LP: #560026)
  * softwarecenter/view/widgets/searchentry.py:
   - Set the search entry's text color to black when not empty.
     This makes it readable on dark themes with a light text color by
     default (LP: #500174)
  * softwarecenter/app.py:
    - avoid 100% usage when waiting for software-sources to finish
      (LP: #459521)
  * softwarecenter/view/navhistory.py:
    - keep the search terms updated to ensure the navigation history
      always has the latest used search terms (LP: #537512)

  [ Kiwinote ]
  * data/featured.menu.in:
    - Update featured applications list per Desktop team (LP: #548534)
    - Feature 'fretsonfire-game' rather than 'fretsonfire' (LP: #538646)
 -- Michael Vogt <email address hidden> Tue, 27 Apr 2010 19:06:44 +0200

Changed in software-center (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Reopening this because Fabio found it to not working still. (But this didn't block the -updates migration since it is not a regression).

Changed in software-center (Ubuntu Lucid):
status: Fix Released → Confirmed
Changed in software-center (Ubuntu):
status: Fix Released → Confirmed
tags: removed: verification-needed
Revision history for this message
Olivier Tilloy (osomon) wrote :

@Fabio, Martin: the test case doesn't mention that the searched terms should be remembered between two sessions (nor does the specification, AFAIK).
In any case, I think that would be better tracked in a separate bug report, this one being about part of the searched terms being forgotten when going back from a 'more info' view.

description: updated
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hi Fabio, thanks very much for testing this fix and for your comment. Actually, I think the description was a little bit vague so I have updated it. As Olivier mentioned, the search results are not retained between launches of Ubuntu Software Center, so the search field will always be empty on a new start of Software Center.

Based on this, I'll set this bug back to Fix Released.

Thanks again!

Changed in software-center (Ubuntu):
status: Confirmed → Fix Released
Changed in software-center (Ubuntu Lucid):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.