Wrong doc for PreviewHeader widget
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | unity-scopes-api (Ubuntu) |
Undecided
|
Unassigned | ||
| | unity8 (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
Hi,
in the current doc at https:/
I read:
```
The header widget displays basic infomation about the result.
List of attributes:
title A string specifying the title
subtitle A string specifying the subtitle
mascot A URI specifying the mascot
emblem A URI specifying the emblem
```
Unfortunately, that is wrong... Right now PreviewHeader widget supports only:
```
/*! This preview widget shows a header
* The title comes in widgetData["title"]
* The mascot comes in widgetData[
* The subtitle comes in widgetData[
* The attributes comes in widgetData[
*/
```
From the code: http://
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: libunity-scopes-doc 0.6.14+
ProcVersionSign
Uname: Linux 3.18.0-13-generic x86_64
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Feb 23 17:35:17 2015
Dependencies:
InstallationDate: Installed on 2014-09-18 (157 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha amd64 (20140917)
PackageArchitec
SourcePackage: unity-scopes-api
SystemImageInfo:
current build number: 0
device name:
channel: daily
last update: Unknown
UpgradeStatus: Upgraded to vivid on 2015-01-23 (31 days ago)
| Leo Iannacone (l3on) wrote : | #1 |
| Michi Henning (michihenning) wrote : | #2 |
| Albert Astals Cid (aacid) wrote : | #3 |
It's both :)
It's a bug in the documentation because we don't support it, and we shouldn't be telling people they can use stuff we don't implement
It's a bug in unity8 because it should support it ( already exists at https:/
| Changed in unity8 (Ubuntu): | |
| status: | New → Invalid |
| Michi Henning (michihenning) wrote : | #4 |
OK, I think I'll close this then as "not a bug", seeing that the doc correctly describes what should happen.
| Changed in unity-scopes-api (Ubuntu): | |
| status: | New → Invalid |
| Albert Astals Cid (aacid) wrote : | #5 |
The doc is making people lose their time implementing something that might never be implemented on the unity8 side, fixing it in the doc is probably like 5 seconds time and on unity8 is hours or days, we had someone in the IRC channels that had lost a full afternoon trying to get to get it to work, you really think you investing those 5 seconds to fix it is not worth it?
| Leo Iannacone (l3on) wrote : | #6 |
Please, consider to reopen this bug.
This kind of issue should be considered seriously in a doc for developers.
Specially for a new framework that is trying to attract even more people day by day.


Not clear to me whether this is a bug in the scopes API doc, or a bug in the shell. Saviq, which one do you think?