← Back to team overview

desktop-packages team mailing list archive

[Bug 855666] Re: Long non-wrapping text if an older version is in Ubuntu archives

 

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.

** Branch linked: lp:~mmcg069/software-center/bug855666

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/855666

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

Status in “software-center” package in Ubuntu:
  Triaged

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>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/855666/+subscriptions