"Find it in menu" hint should use X-GNOME-FullName

Bug #635464 reported by Michael Terry
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Medium
Kiwinote

Bug Description

Binary package hint: software-center

I see that a hint about where to find applications after installation has been added. I like it! But it does one thing wrong. For applications that provide an X-GNOME-FullName in the .desktop file, it should be preferred over Name for the app name (at least if the user's environment is GNOME).

For example, deja-dup. Software Center tells the user to find it in Applications -> System Tools -> Deja Dup. But it will actually be found as "Deja Dup Backup Tool".

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: software-center 2.1.18.1
ProcVersionSignature: Ubuntu 2.6.35-20.29-generic 2.6.35.4
Uname: Linux 2.6.35-20-generic x86_64
Architecture: amd64
Date: Fri Sep 10 22:56:35 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: software-center

Revision history for this message
Michael Terry (mterry) wrote :
Revision history for this message
Kiwinote (kiwinote) wrote :

Hi Michael! Thanks for your bug report. The bug you describe has been fixed in the branch I have linked and should be available in the next release. Please continue to report any bugs you may find in software-center. Thanks again for your help!

Changed in software-center (Ubuntu):
assignee: nobody → Kiwinote (kiwinote)
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Fix merged to trunk. Thanks kiwinote!

And a shout out to Mike Terry, me old compatriot!!

Revision history for this message
Colin Watson (cjwatson) wrote :

software-center (2.1.19) maverick; urgency=low

  [ Gary Lasker ]
  * softwarecenter/view/widgets/mkit.py:
    - fix crash during action_bar refresh (LP: #635044)
  * softwarecenter/backend/channel.py:
    - always display the partner channel, even if its
      source is not enabled (LP: #635003)
  * softwarecenter/db/application.py,
    softwarecenter/db/database.py,
    softwarecenter/view/appview.py,
    softwarecenter/view/softwarepane.py:
    - make StoreDatabase.get_appname return None if the
      name is not defined in the xapian doc
    - consolidate code to generate application name and
      summary for display in the UI to a single place
    - wire applist, appdetails and the navigation bar
      to use it (LP: #636004)

  [ Kiwinote ]
  * data/software-center.menu.in:
    - fix typo to now use applications-ocaml icon, thanks mpt (LP: #635732)
  * softwarecenter/backend/channel.py:
    - allow 'for purchase' to have an icon in non-English locales (LP: #636242)
  * softwarecenter/db/application.py:
    - try to open deb file, except on any sort of error (LP: #633379)
    - simplify when we use which warnings for deb files (LP: #635015)
    - reload pkg cache object and xapian doc if it turns out that the pkgname
      of a deb file is different than what we guessed on basis of the file name
  * softwarecenter/utils.py:
    - fix crash when desktop_file is None (LP: #635596)
  * softwarecenter/view/appdetailsview_gtk.py:
    - use the display name for app entry in 'where is it' (LP: #635464)
    - restore correct padding in addons status bar (LP: #625230)
  * minor tweaks to lp:~gary-lasker/software-center/title-summary-fixes
    - use installed state in status bar for reinstallable debs (LP: #635015)

  [ Matthew Paul Thomas ]
  * data/software-center.menu.in:
    - fix incorrect Category value in the xml for the Debugging
      subcategory of Developer Tools (LP: #538911)

  [ Colin Watson ]
  * Fix update-apt-xapian-index crashes when the Dir::Cache::pkgcache file
    doesn't exist (LP: #267330).

  [ Michael Vogt ]
  * softwarecenter/backend/aptd.py:
    - fix "reload()" in enable_channel() and only update the particular
      channel file
  * softwarecenter/distro/Ubuntu.py:
    - fix crash for icons loaded from extras.ubuntu.com
  * merged lp:~mmcg069/software-center/Bug635375 (LP: #635375)
  * merged lp:~mmcg069/software-center/tiny-pathbar-tweak
  * merged lp:~mmcg069/software-center/Bug625443 (LP: #625443)

 -- Michael Vogt <email address hidden> Tue, 14 Sep 2010 12:16:47 +0200

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Daniël van Eeden (dveeden) wrote :

A solution might be:
if (gnome3) {
  prefix=_(Activities)
}
find_it=prefix+find_it

An other solution might be needed for Unity?

Revision history for this message
Mike Mestnik (cheako) wrote :

Applications have a .desktop file, but I think it's more accurate to say that a package provides menu entries in a .desktop file.

Actually this is causing problems for me, as many applications don't read and possibly won't ever read .desktop files. That's the reason Debian created it's menu system.

I believe that any package providing .desktop file(s) should be corrected to provide the menu file and if there are deficiencies in the menu package/system they should be addressed and corrected.

...I don't believe there are any, the menu system will populate .desktop files with the correct information.

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.