cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9513) Status bar show/hide have no response in Fullsrceen
Date Mon, 28 Dec 2015 10:37:49 GMT

    [ https://issues.apache.org/jira/browse/CB-9513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15072616#comment-15072616
] 

Vladimir Kotikov commented on CB-9513:
--------------------------------------

This appears to be related to how cordova-android deals with {{Fullscreen}} preference. The
behaviour was changed in [d005359|https://github.com/apache/cordova-android/commit/d005359f89c095cf1f9a4ba3062e2603ce484b6a],
so the problem actually depends on cordova-android version, not the cordova-cli one.

> Status bar show/hide have no response in Fullsrceen
> ---------------------------------------------------
>
>                 Key: CB-9513
>                 URL: https://issues.apache.org/jira/browse/CB-9513
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>         Environment: Test Device: Google nexus5
> Cordova CLI 5.2
> Cordova-android 4.1
>            Reporter: lijingjing
>              Labels: Android
>
> Test Steps:
> 1.cordova create statusbar com.example.statusbar statusbar
> 2.cordova platform add android
> 3.config.xml-----add:
> {code}
> <preference name="Fullscreen" value="true" />
> <preference name="disableImmersive" value="true" />
> {code}
> 4.replace index.html:
> {code}
> <script src="./cordova.js"></script>
> <div id="header">
>   <h3 id="main_page_title">Status Bar Test In Fullscreen</h3>
> </div>\n<br><br>
> <p>Click "Status Bar Show" button to show status bar:</p>
> <button onclick="StatusBar.show();">Status Bar Show</button><br><br>
> <p>Click "Status Bar Hide" button to hide status bar:</p>
> <button onclick="StatusBar.hide();">Status Bar Hide</button>
> {code}
> 5. cordova plugin add cordova-plugin-statusbar.
> 6. cordova build android.
> 7.Then install statusbar.apk on the test device.
> 8.click "status Bar show/hide" button.
> Expected Outcome:
> Status Bar can show or hide.
> Actual Outcome:
> have no response.
> Issue Analysis:
> this issue only happen on Cordova Android 4.1 and Cordova CLI 5.2.If use Cordova CLI
5.1,apk can run successfully.
> error log:
> {code}
> V/StatusBar( 4028): Executing action: show
> D/audio_hw_primary(  184): select_devices: out_snd_device(2: speaker) in_snd_device(0:
)
> W/InputMethodManagerService(  753): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@432d6328
attribute=null, token = android.os.BinderProxy@42f61a70
> {code}



--
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


Mime
View raw message