ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #09997
Re: New splash screen features
The idea of the image is not to fake the looks of the running
application (like a screenshot) but to be more like a traditional splash
screen image such as a big application logo or something.
Faking the running application with an image would require a more
sophisticated (complex!) approach as it would have to consider not only
the orientation (landscape vs. portrait) but also the screen aspect
ratio and maybe even its resolution. So we left this option out for now.
Should probably have made it more clear in the X-Ubuntu-Splash-Image
documentation.
On 29/09/14 11:26, Jelmer Prins wrote:
>
> So do you also need to provide different image sizes like landscape
> and portait for option 3 ?
>
> Sent from Blue Mail <http://r.bluemailapp.com>
>
> On 29 Sep 2014, at 16:07, Daniel d'Andrada
> <daniel.dandrada@xxxxxxxxxxxxx <mailto:daniel.dandrada@xxxxxxxxxxxxx>>
> wrote:
>
> We now offer 3 kinds of splash screens for applications:
> 1. A splash with a gradient background, the application icon and
> application name (default)
> 2. A splash with a gradient background and an image
> 3. A splash faking a MainView with header text set giving the illusion
> that the
> application has started instantly but with its contents being shown
> later on.
>
> Apps by default get option 1 and the gradient background is all black by
> default as well.
> So nothing changes until you start adding the new entries to the desktop
> file of your application.
> Those entries are the following:
>
> X-Ubuntu-Splash-Show-Header (boolean)
> ------------------------------------------------------------------------
>
>
> Whether an application header should be shown on the splash screen. It
> turns on splash
> screen mode 3 (as described above)
>
> The header will display the text in X-Ubuntu-Splash-Title, if defined,
> or the application
> name otherwise.
>
> X-Ubuntu-Splash-Title (text, to be
> localizable soon)
> ------------------------------------------------------------------------
>
>
> See X-Ubuntu-Splash-Show-Header
>
> X-Ubuntu-Splash-Image (file name)
> ------------------------------------------------------------------------
>
>
> File name of an image present in the directory stated in the Path entry.
>
> The splash image is centered on the splash screen and displayed in
> its actual size (ie, it's not stretched or shrinked and aspect ratio
> is kept).
>
> X-Ubuntu-Splash-Color (color)
> -----------------------------
>
> Background color of the splash screen.
>
> It uses QColor::setNamedColor to parse a color value out of a text string.
> The see its documentation for valid string formats and values.
>
> If X-Ubuntu-Splash-Show-Header is true, it defaults to the theme's
> background color,
> otherwise it defaults to black.
>
> X-Ubuntu-Splash-Color-Header (color)
> ------------------------------------------------------------------------
>
>
> Background color used in the upper area of the splash screen (ie, its
> header area)
>
> It uses QColor::setNamedColor to parse a color value out of a text string.
>
> There will be a
> vertical gradient between X-Ubuntu-Splash-Color-Header
> and X-Ubuntu-Splash-Color in the upper half of the splash background.
>
> By default it uses X-Ubuntu-Splash-Color (or its default value, if not set).
>
> X-Ubuntu-Splash-Color-Footer (color)
> ------------------------------------------------------------------------
>
>
> Background color used in the bottom area of the splash screen (ie, its
> footer area)
>
> It uses QColor::setNamedColor to parse a color value out of a text string.
>
> There will be a vertical gradient between X-Ubuntu-Splash-Color and
> X-Ubuntu-Splash-Color-Footer in the lower half of the splash background.
>
> By default it uses X-Ubuntu-Splash-Color (or its default value, if not set).
>
Follow ups
References