desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #16657
[Bug 849048] Re: Poor heading shown for multi-item exhibit
The client will now either show:
- title_translated if that is part of the returned json data
- the html title (if that is defined) in the html of the json
- the first h1 tag from the html *if* that does not contain any subtags (like <emph><b> etc)
The best long term fix IMO is to re-introduce either title_translated or
ensure to always add a html title.
** Changed in: software-center (Ubuntu)
Status: New => Fix Committed
--
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/849048
Title:
Poor heading shown for multi-item exhibit
Status in Online service used by software center:
New
Status in “software-center” package in Ubuntu:
Fix Committed
Bug description:
software-center trunk r2309, Ubuntu 11.10 beta 1
1. PISTON_MINI_CLIENT_DISABLE_SSL_VALIDATION=1 SOFTWARE_CENTER_BUY_HOST=http://sc.staging.ubuntu.com/ ./software-center
2. Click on the banner for "frozen bubble, k3b, vim and blender".
3. Look at the header for the list.
What you see: "frozen-bubble,k3b,vim,blender"
What you should see: "Morley's morsels", or some similarly imaginative
title.
This is because the API no longer includes a title_translated field,
on the grounds that the HTML made it unnecessary. But it's still
necessary when showing the list. (Even when we switch from the list
view to a tile view later, we couldn't really just reuse the banner
verbatim, because that would risk looking as if clicking the banner
hadn't done anything.)
A short-term improvement in the client would be to show no heading at
all, rather than the list of package names. Beyond that, though, we
probably need to reintroduce title_translated in the API and the admin
interface.
To manage notifications about this bug go to:
https://bugs.launchpad.net/software-center-agent/+bug/849048/+subscriptions
References