I sincerely hope that read the entire thread before throwing questions.
On Thu, May 30, 2013 at 12:39 AM, Vivien <
vnic...@mozilla.com> wrote:
> On 24/05/2013 07:53, Casey Yee wrote:
>> Hi All,
>> Having talked with Tim, we have agreed to go with the suggestion to
>> use the app-icon zoom approach instead of the empty app screen shots
>> approach.
>>
>> This solution:
>> - Removes the complexity and glitches of screen-shot.
> Which complexity / glitches?
As I said in previously in the same thread,
1) including splashes of every screen size for every built-in Gaia app
is not a scale-able solution, nor a web-friendly solution
2) mixing icons with splashes in the same manifest entry results
serious confusing: should window manager scale the icon/splash to full
screen or not? should window manager apply sampling to the background
color or not? what about a "loading" label? abusing the "icons" entry
in the manifest is not a future-proof implementation, in every way.
>> - Easily scales to other resolutions >HVGA
> This is the main point of the solution. I agree that it makes it way
> easier to deal with bigger screen. On the other hand it limit a bit the
> creativity of designers. The main goal of the current solution was to
> offer a nice looking splash for apps with only a simple icon as well as
> a way to fully customize the splash if that what apps developer want to do.
>
No, it will not be as simple as you'd imagined; even if this work with
built-in Gaia apps or even packaged apps, it will not work with open
web apps in general. please read above.
> I would like to focus the discussion more on the technical side.
> Why is it not possible to have splash that fits multiple screen size ?
You are very welcome to pitch in a scalable solution w/o without
problems mentioned above.
In short, if you don't have nothing better than screenshot-taking
solution that we had just removed, we shouldn't implement it.
> And more broadly how can we make an application works on multiple screen
> resolutions without requiring a build time flag (like the HIDPI=1 flag
> that is currently use when building Gaia). I feel like app author would
> like to ship only one application, that fits all screen sizes.
The splash solution is exactly counter your vision here.
> Is there
> a way to make assets fits most screen size? I think that others use dpi
> to decide this. Can / should we make this?
>
Layout should work on all screen resolutions. This is how web works,
and Gaia was implemented on such way until we decided to only focus on
HVGA. I prefer we stop landing HVGA-only feature (like splashes) but
start fixing them -- this actually aligns with our product schedule.
HIDPI=1 simply switches @2x images with @1x ones (and remove the dup'd
images), in order to reduce build image size on build time. We could
certainly replace this with runtime media queries, but our hardware
partner is not going to like it.
No, and the current solution does not address devPixelsPerPx in any way.
>> - Reduces app-loading speeds.
> Reduce? :)
>>
>> I will continue to:
>> - I will work with James on a transition that will fade the app in
>> from black. This should make for a more polished looking startup and
>> smoother transition into the app.
>> - Work with visual design team to come up with a fav-icon based
>> startup splash screen for websites pinned to home-screen or apps
>> without icons defined in manifest.
>
> fwiw apps always have an icon. If not this is probably a bug and such
> app should not be installed on FFOS.
> (re) fwiw I opened a bug last week about having a way to get the
> dominant color of the image from the system app in order to use it as
> the splash color for app with only an icon.
>
https://bugzilla.mozilla.org/show_bug.cgi?id=875370
>
Yeah that's good, land it with UX approval.
> Also, and to make sure. Casey have you discussed this with
> Josh/Peter/Patryk as well? I think they were in favor of the splash
> approach...
>
>
>> Thanks!
>>
>>
>> Casey Yee
>> Mozilla
>> UX Design Engineer
>>
>>
>>
>> On May 23, 2013, at 11:46 PM, Tim Chien wrote:
>>
>>> Casey, Mounir,
>>>
>>> Given their presence on the home screen, and Open Web App will always
>>> have an icon. I have no problem with using that as loading splash,
>>> and/or using color sampling technique. What I have problems with is
>>> the HVGA splash screens checked-in in Gaia master that poses
>>> themselves as "the largest icon".
>>>
>>> The purpose of this thread is to figure out the future plan for having
>>> or not having a splash image for Apps in FxOS, and make sure that the
>>> current HVGA splashes is indeed an incomplete implementation toward
>>> that.
>>>
>>> If it's not, I think I should probably file a patch to remove these
>>> premature optimizations.
>>>
>>> On Thu, May 23, 2013 at 11:24 PM, Casey Yee <
cy...@mozilla.com
>>> <mailto:
cy...@mozilla.com>> wrote:
>>>> On May 22, 2013, at 2:28 AM, Andreas Gal wrote:
>>>>
>>>>>
>>>>> For web content (loading from the web) we need some UX guidance how to
>>>>> handle this. I have no opinion whats a good paradigm, but it probably
>>>>> involves some sort of "I am loading" indicator.
>>>>
>>>>
>>>> From talking to James Burke, it sounds like what you are talking
>>>> about is the screen that shows after the transition into the app
>>>> before first paint? If so, a generic loading screen as you have
>>>> suggested would make sense here.
>>>>
>>>> In terms of the transition into hosted apps, I do have a few questions:
>>>> 1) Where do we get the splash icon from? What if the dev does not
>>>> define a icon? Do we use the favicon? Maybe a generic icon or none
>>>> at all?
>>>>
>>>> 2) Would it also make sense to after a certain amount of time (say 2
>>>> or 3 seconds) to offer some UI to cancel/close the app if for
>>>> whatever reason the app takes too long to load or fails to load at
>>>> all? I understand that this is a possibility in poor network
>>>> conditions to have this screen freeze for a significant amount of
>>>> time waiting for a response from the app?
>>>>
>>>> Casey Yee
>>>> Mozilla
>>>> UX Design Engineer
>>>>
>>>>>
>>>>> For local (offline) content we must paint so quickly that splash
>>>>> screens
>>>>> are never needed. Period. Its possible, and the ways to do that are
>>>>> well
>>>>> documented. Even on low-end hardware we can reach first paint below
>>>>> 600ms. Lets just do that and eliminate the need for lame splash screens
>>>>> whenever possible.
>>>>>
>>>>> Andreas
>>>>>
>>>>>> Alive Kuo <mailto:
al...@mozilla.com>
>>>>>> May 21, 2013 11:25 PM
>>>>>> For any app specific feature,
>>>>>> hacking the manifest surely could solve the problem,
>>>>>> but we will end up with a end-less-long manifest field list …
>>>>>>
>>>>>> AFAIK manifest is derived from w3c standards,
>>>>>> I am not sure if we could arbitrarily add/remove property of the
>>>>>> manifest structure.
>>>>>>
>>>>>> See
http://www.w3.org/2012/sysapps/manifest/
>>>>>> Correct me if I am wrong.
>>>>>> --
>>>>>> Alive C. Kuo, Front-end Eng., Mozilla Corp. (Taiwan, Taipei)
>>>>>>
>>>>>> James Burke <
jrb...@gmail.com <mailto:
jrb...@gmail.com>> 於
>>>>>> 2013/5/22 下午1:47 寫道:
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> dev-gaia mailing list
>>>>>>
dev-...@lists.mozilla.org <mailto:
dev-...@lists.mozilla.org>
>>>>>>
dev-...@lists.mozilla.org <mailto:
dev-...@lists.mozilla.org>
>>>>>>
https://lists.mozilla.org/listinfo/dev-gaia
>>>>> _______________________________________________
>>>>> dev-gaia mailing list
>>>> On May 22, 2013, at 2:28 AM, Andreas Gal wrote:
>>>>
>>>>>
>>>>> For web content (loading from the web) we need some UX guidance how to
>>>>> handle this. I have no opinion whats a good paradigm, but it probably
>>>>> involves some sort of "I am loading" indicator.
>>>>
>>>>
>>>> From talking to James Burke, it sounds like what you are talking
>>>> about is the screen that shows after the transition into the app
>>>> before first paint? If so, a generic loading screen as you have
>>>> suggested would make sense here.
>>>>
>>>> In terms of the transition into hosted apps, I do have a few questions:
>>>> 1) Where do we get the splash icon from? What if the dev does not
>>>> define a icon? Do we use the favicon? Maybe a generic icon or none
>>>> at all?
>>>>
>>>> 2) Would it also make sense to after a certain amount of time (say 2
>>>> or 3 seconds) to offer some UI to cancel/close the app if for
>>>> whatever reason the app takes too long to load or fails to load at
>>>> all? I understand that this is a possibility in poor network
>>>> conditions to have this screen freeze for a significant amount of
>>>> time waiting for a response from the app?
>>>>
>>>> Casey Yee
>>>> Mozilla
>>>> UX Design Engineer
>>>>
>>>>>
>>>>> For local (offline) content we must paint so quickly that splash
>>>>> screens
>>>>> are never needed. Period. Its possible, and the ways to do that are
>>>>> well
>>>>> documented. Even on low-end hardware we can reach first paint below
>>>>> 600ms. Lets just do that and eliminate the need for lame splash screens
>>>>> whenever possible.
>>>>>
>>>>> Andreas
>>>>>
>>>>>> Alive Kuo <mailto:
al...@mozilla.com>
>>>>>> May 21, 2013 11:25 PM
>>>>>> For any app specific feature,
>>>>>> hacking the manifest surely could solve the problem,
>>>>>> but we will end up with a end-less-long manifest field list …
>>>>>>
>>>>>> AFAIK manifest is derived from w3c standards,
>>>>>> I am not sure if we could arbitrarily add/remove property of the
>>>>>> manifest structure.
>>>>>>
>>>>>> See
http://www.w3.org/2012/sysapps/manifest/
>>>>>> Correct me if I am wrong.
>>>>>> --
>>>>>> Alive C. Kuo, Front-end Eng., Mozilla Corp. (Taiwan, Taipei)
>>>>>>
>>>>>> James Burke <
jrb...@gmail.com <mailto:
jrb...@gmail.com>> 於
>>>>>> 2013/5/22 下午1:47 寫道:
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> dev-gaia mailing list
>>>>>>
dev-...@lists.mozilla.org <mailto:
dev-...@lists.mozilla.org>
>>>>>>
dev-...@lists.mozilla.org <mailto:
dev-...@lists.mozilla.org>
>>>>>>
https://lists.mozilla.org/listinfo/dev-gaia
>>>>> _______________________________________________
>>>>> dev-gaia mailing list
>>>>>
dev-...@lists.mozilla.org <mailto:
dev-...@lists.mozilla.org>
>>>>>
https://lists.mozilla.org/listinfo/dev-gaia
>>>>
>>>> _______________________________________________
>>>> dev-gaia mailing list