cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10288) statusbar plugin interaction with iOS multitasking
Date Wed, 13 Jan 2016 11:54:39 GMT

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

jcesarmobile commented on CB-10288:
-----------------------------------

I've been doing a lot of tests and I get the same results with and without that line, when
I pull the cordova app from the right, or I am on the cordova app and pull another from the
right, it resizes correctly (I'm testing on the simulator, I don't have any real device with
multitask support to test)

The real problem is using hide, show, overlaysWebView(true) or overlaysWebView(false) when
the multitask is present, it will break the app layout.

Using  [UIApplication sharedApplication].keyWindow.bounds as I mentioned yesterday isn't enough
as the plugin uses the invertFrameIfNeeded in a lot of places, and it' based on this assumption
"landscape is where (width > height). On iOS < 8, we need to invert since frames are
always in Portrait context", and that's not true on multitasking. 
Not inverting the frame seems to work on iOS 9.2, will continue testing.


> statusbar plugin interaction with iOS multitasking
> --------------------------------------------------
>
>                 Key: CB-10288
>                 URL: https://issues.apache.org/jira/browse/CB-10288
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>         Environment: cordova ios 4.0.0
>            Reporter: Nick Redding
>              Labels: cordova-ios-4.1.0, ios, triaged
>
> In pluginInitialize the statement
> [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(statusBarDidChangeFrame:)
name: UIApplicationDidChangeStatusBarFrameNotification object:nil];
> causes incorrect rendering behavior when using iOS multitasking split window. When pulling
the cordova app onto the screen from the right, the window resizing is not handled correctly
(much larger widths thsn actual are reported and reflected in the rendering).
> Commenting out this statement eliminates the problem, but it is not clear what the potentially
unwanted effects of this would be.



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