incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brooks (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1375) Sample app incorrectly positioned on BB OS 5
Date Wed, 05 Sep 2012 20:02:07 GMT

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

Michael Brooks commented on CB-1375:
------------------------------------

Yea, I agree that our sample application should run on all supported platforms.

The only two options that are see are:

1. Use JavaScript to detect that we're on a BlackBerry and forcefully set the screen height.
This is the solution that we've used for all BlackBerry client work for the past 3 years.
The downside of this is that it complicates the Hello World app. The upside is that it provides
a real world solution for anyone else experiencing the issue.

2. Switch the image from CSS {{background-image}} to {{<img />}}. This only mitigates
the issue by adding more content to the app, which pushes the viewport down. The image isn't
large enough to push the viewport all the way (device screen size dependent). Also the CSS
will need to be rewritten to properly handle landscape and portrait positioning of the image.
                
> Sample app incorrectly positioned on BB OS 5
> --------------------------------------------
>
>                 Key: CB-1375
>                 URL: https://issues.apache.org/jira/browse/CB-1375
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: App Hello World
>    Affects Versions: 2.1.0
>            Reporter: Drew Walters
>            Assignee: Michael Brooks
>
> Launching the hello world app on BlackBerry OS 5 simulator (9550 running 5.0.0.713) results
in only a part of the page being visible. The entire page is shifted up with only a part of
the Cordova robot being visible.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message