Application lens launches previous Software Center UI

Bug #839257 reported by Gary Lasker on 2011-09-02
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
unity-lens-applications
Undecided
Unassigned
software-center (Ubuntu)
High
Gary Lasker

Bug Description

I discovered that when launching Software Center via the Unity App Lens (Dash->More Apps->Apps Available For Download), it launches the previous Software Center UI. This previous version is launched as 'software-center'. We recently updated to a new gtk3-based UI as the default for Software Center and it is now launched as 'software-center-gtk3'.

Hmm, it is certainly arguable that it may be better to fix this in software-center itself (by simply also launching the new UI as 'software-center'), rather than changing this in unity-application-lens since there may be other places where this problem is lurking. Any thoughts?

Gary Lasker (gary-lasker) wrote :

The attached branch should take care of it, but we might talk about whether this is the fix we really want to make.

Thanks!

Matthew Paul Thomas (mpt) wrote :

I suggest that we instead (1) rename software-center to software-center-gtk2, (2) rename software-center-gtk3 to software-center, and (3) revert the .desktop file to point to software-center rather than software-center-gtk3.

That way, anything we don't know about that also launches software-center -- other desktop shells, private shell scripts, whatever -- won't be stuck launching an old GUI, or breaking altogether once we remove the GTK2 UI. (And as a minor benefit, it will be easier to launch the standard UI from the terminal.)

Neil J. Patel (njpatel) wrote :

I have to agree with mpt, this is the way to go as you just don't know what has hard-coded "software-center". Gary, if you agree please add a software-center task to this bug...

Didier Roche (didrocks) wrote :

FYI, we had a similar discussion this morning on #ubuntu-desktop and we concluded the the same as mpt suggested.

Changed in software-center (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Gary Lasker (gary-lasker)
Gary Lasker (gary-lasker) wrote :

Indeed, I agree completely. We'll make the fix in Software Center then to launch the new default UI as "software-center". The way to do this is exactly as described by mpt in comment 2.

Thanks all for weighing in!

Changed in software-center (Ubuntu):
status: Triaged → In Progress
Gary Lasker (gary-lasker) wrote :

Fix will be made in software-center itself per comments above, so setting to Invalid for the unity-application-lens task.

Changed in unity-lens-applications:
status: New → Invalid
Changed in software-center (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :
Download full text (5.6 KiB)

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

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

  [ Gary Lasker ]
  * data/ubuntu-software-center.desktop.in,
    debian/rules,
    setup.py,
    software-center,
    software-center-gtk2,
    softwarecenter/toolkit.py:
    - launch the new UI using 'software-center', add script
      to launch the old version if feeling nostalgic (LP: #839257)
  * softwarecenter/ui/gtk3/views/appdetailsview_gtk.py:
    - fix incorrect ellipsize for title and summary in the
      details view (LP: #842271)
  * softwarecenter/ui/gtk3/panes/availablepane.py,
    softwarecenter/ui/gtk3/session/viewmanager.py:
    - hide the search field when in the purchase
      view (LP: #844883)
  * softwarecenter/ui/gtk3/views/catview_gtk.py:
    - don't create the what's new panel if we don't have the
      corresponding category (LP: #835129)
  * softwarecenter/ui/gtk3/panes/installedpane.py:
    - fix crash in rebuild_categorised_view while viewing
      installed items (LP: #834260)
  * test/gtk3/test_catview.py,
    test/gtk3/test_panes.py,
    test/test_addons.py,
    test/test_package_info.py:
    - fix unit tests
  * setup.py:
    - fix build error when merging authors list
  * merged lp:~gary-lasker/software-center/pyflakes-fixes, no
    user visible changes, only code cleanup
  * po/software-center.pot:
    - refresh .pot file

  [ Matthew McGowan ]
  * data/ui/gtk3/css/softwarecenter.css,
    softwarecenter/ui/gtk3/views/appdetailsview_gtk.py:
    - fix grey addon label, only pkgname should be grey
      (LP: #838607)
  * softwarecenter/ui/gtk3/widgets/description.py,
    softwarecenter/utils.py,
    test/test_description_norm.py:
    - description formatting improvements, update unit test
  * data/ui/gtk3/css/softwarecenter.css,
    softwarecenter/ui/gtk3/widgets/cellrenderers.py:
    - use css to set border-radius of cellrenderer button
  * softwarecenter/ui/gtk3/views/appview.py:
    - disable appcount display at the bottom of list views
      for now to allow keyboard scrolling to work (LP: #830258)
  * lp:~mmcg069/software-center/lobby-tweaks:
    - restore tile borders but disable the checkerboard
      rendering, color tweaks and other improvements to the
      title area visuals
  * merge lp:~mmcg069/software-center/image-data-cleanup:
    - cleanup unused image files (LP: #839736)
  * softwarecenter/ui/gtk3/panes/softwarepane.py:
    - fix doubled search results (LP: #840235)
  * softwarecenter/ui/gtk3/app.py:
    - fix "Copy Web Link" feature (LP: #830291)

  [ Andrea Cimitan ]
  * softwarecenter/ui/gtk3/widgets/symbolic_icons.py:
    - Fix blurriness of toolbar icons, reduce shadow alpha level

  [ Gabor Kelemen ]
  * po/POTFILES.in:
    - additional i18n fixes (LP: #836346)

  [ Kiwinote ]
  * remove the old webkit ui
  * remove the need for dummy-screenshot-ubuntu.png (LP: #837223)
  * data/ui/gtk3/SoftwareCenter.ui,
    softwarecenter/ui/gtk3/app.py:
    - make all the accelerators work again (LP: #640426, LP: #660050,
      LP: #828233, LP: #830238, LP: #834988, LP: #843682)
      also fixes (LP: #823094, LP: #837062)
  * softwarecenter/db/appfilter.py,
    softwarecenter/ui/...

Read more...

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
Evgeny Brazgin (xapienz) wrote :

how can I run software-center-gtk2 now?
I don't have this binary.

$ ls /usr/bin/software-center*
/usr/bin/software-center

pablomme (pablomme) wrote :

@xapienz: run /usr/share/software-center/software-center-gtk2

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers