You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Timo Tiuraniemi (JIRA)" <ji...@apache.org> on 2015/09/24 10:38:04 UTC

[jira] [Created] (CB-9696) Add possibility to use non-immersive fullscreen in all Android versions

Timo Tiuraniemi created CB-9696:
-----------------------------------

             Summary: Add possibility to use non-immersive fullscreen in all Android versions
                 Key: CB-9696
                 URL: https://issues.apache.org/jira/browse/CB-9696
             Project: Apache Cordova
          Issue Type: Improvement
          Components: Android
    Affects Versions: Master
            Reporter: Timo Tiuraniemi
            Priority: Minor


Issue CB-8902 added a fullscreen immersive mode for Android version >=4.4 Kitkat.

As I commented on the issue, unfortunately this change broke my >=KitKat app. Immersive mode is significantly different from the old behavior:

1. Fullscreen in 4.1.1 is triggered later during boot than in 4.0.0, which cause my layout to slightly break as CSS is evaluated before fullscreen is ready. 
2. When activating the keyboard, to navigation bar comes back. It didn't in 4.0.0. When I close the keyboard, the navigation bar doesn't get hidden but fullscreen is lost.

I propose that we introduce a new setting "fullscreen-immersive" to turn immersive off, but keep fullscreen on like this:

<preference name="fullscreen" value="true" />
<preference name="fullscreen-immersive" value="false" />

The new setting would default to true, making this change non-breaking for everyone.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org