Closed Bug 1001860 Opened 10 years ago Closed 9 years ago

Support short_name in web app manifests on desktop

Categories

(Firefox Graveyard :: Web Apps, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: clouserw, Unassigned)

References

Details

(Whiteboard: [dependency: marketplace-partners])

Attachments

(1 file)

Original discussion on the mailing list [1].

This bug is to add support for an optional 'short_name' field in webapp manifests.  If that field exists and the device thinks it is appropriate to use (you are displaying the name in a space constrained area like an icon grid) you should use the short_name instead of the name.


[1] https://groups.google.com/forum/#!topic/mozilla.dev.webapps/Vzv3evC778Q
Note related bugs:

Bug 1001860 - Support short_name in web app manifests on desktop
Bug 1001861 - Support short_name in web app manifests on FxOS
Bug 1001862 - Support short_name in web app manifests on Android
Bug 1001864 - Show short_name in reviewer tools
(In reply to Wil Clouser [:clouserw] from comment #0)
> Original discussion on the mailing list [1].
> 
> This bug is to add support for an optional 'short_name' field in webapp
> manifests.  If that field exists and the device thinks it is appropriate to
> use (you are displaying the name in a space constrained area like an icon
> grid) you should use the short_name instead of the name.
> 
> 
> [1] https://groups.google.com/forum/#!topic/mozilla.dev.webapps/Vzv3evC778Q

Is this property useful only when there is a space constrained area? I'm thinking about Mac OS X's Launchpad for example, should we show the name or the short name here?
Whiteboard: [dependency: marketplace]
Priority: -- → P2
Attached patch WIPSplinter Review
This adds a short_name getter to ManifestHelper and uses the short name in the following cases:
1) On Linux, in the desktop entry file (so the short name is shown in the system menu or in the dashboard);
2) On Mac, the bundle's display name is the short name (so the short name should be shown in Launchpad and in the dock bar, I haven't tested yet);
3) On Windows, the shortcuts on the desktop and in the system menu.
Whiteboard: [dependency: marketplace] → [dependency: marketplace-partners]
Blocks: 1111077
Per bug 1238079, we're going to disable the desktop web runtime and remove it
from the codebase, so we won't fix these bugs in the integration between Firefox and the runtime.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: