Long non-wrapping text if an older version is in Ubuntu archives

Bug #855666 reported by Matthew Paul Thomas
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

software-center trunk r2404, Ubuntu 11.10 beta

1. Go to <http://www.dropbox.com/downloading?src=index>.
2. Click on the Ubuntu download link, and choose "Open in Ubuntu Software Center".

What you see:
------------
An older version of "nautilus-dropbox" is available in your normal software channels. Only instal
------------
That is, two strings are concatenated into one ribbon, and they don't wrap.

What you should see:
------------
Standalone software package
------------

A minimal improvement would be just to make the existing text wrap.

Separately, we should remove the "An older version ... is available" text altogether. We should advertise newer versions, not older versions. (Or if we should advertise older versions, we should figure out why and how.) <https://wiki.ubuntu.com/SoftwareCenter#gdebi>

Revision history for this message
Matthew Paul Thomas (mpt) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-center (Ubuntu):
status: New → Confirmed
Changed in software-center (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Matthew McGowan (mmcg069) wrote :

the linked branch has the simple line-wrap fix.

@mpt, there are a few strings in the softwarecenter/db/debfile.py that are relevant to this bug:

    @property
    def warning(self):
        # FIXME: use more concise warnings
            if deb_state == DebPackage.VERSION_NONE:
                return utf8(_("Only install this file if you trust the origin.")) # no existing package installed
                if deb_state == DebPackage.VERSION_OUTDATED:
                    return utf8(_("Please install \"%s\" via your normal software channels. Only install this file if you trust the origin.")) % utf8(self.name)
                elif deb_state == DebPackage.VERSION_SAME:
                    return utf8(_("Please install \"%s\" via your normal software channels. Only install this file if you trust the origin.")) % utf8(self.name)
                elif deb_state == DebPackage.VERSION_NEWER:
                    return utf8(_("An older version of \"%s\" is available in your normal software channels. Only install this file if you trust the origin.")) % utf8(self.name)

Could be of interest as far as rewording the warnings or designing an alternative dialog.

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

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

---------------
software-center (5.0.1) oneiric; urgency=low

  [ Michael Vogt ]
  * softwarecenter/ui/gtk3/widgets/reviews.py:
    - Fix i18n bug in the error string for the reviews. This
      adds two new strings for a rare error message in the UI that
      was previously not translatable. Thanks to David Planella
  * softwarecenter/db/database.py:
    - when adding a new database (e.g. on reinstall-previous purchases)
      trigger a "reopen" to ensure that the db docids are reinitialized
  * apt-xapian-index-plugin/software-center.py:
    - do not crash if a apt.Package.candidate has no url (LP: #819907)
  * softwarecenter/ui/gtk3/views/catview_gtk.py:
    - only show the frame with new apps if we actually have information
      about new applications (LP: #862382)

  [ Robert Roth ]
  * softwarecenter/ui/gtk3/widgets/apptreeview.py:
    - fix crash in clear_model() (LP: #863233)

  [ Gary Lasker ]
  * debian/control:
    - add dependency on python-gobject-cairo to prevent crash
      at startup (LP: #829067)
  * softwarecenter/db/application.py,
    softwarecenter/db/update.py,
    softwarecenter/distro/Ubuntu.py,
    softwarecenter/enums.py:
    - display the correct license type for commercial apps as
      specified via the software-center-agent (LP: #864706)

  [ Matthew McGowan ]
  * lp:~mmcg069/software-center/bug855666:
    - add missing linewrap (LP: #855666)
  * lp:~mmcg069/software-center/bug858639 :
    - fix crash when data can not be parsed from the remote reviews server
      LP: #858639
 -- Michael Vogt <email address hidden> Wed, 05 Oct 2011 11:24:05 +0200

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

Other bug subscribers

Bug attachments

Remote bug watches

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