You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Drew Walters (JIRA)" <ji...@apache.org> on 2012/09/05 16:32:07 UTC

[jira] [Created] (CB-1375) Sample app incorrectly positioned on BB OS 5

Drew Walters created CB-1375:
--------------------------------

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

[jira] [Commented] (CB-1375) Sample app incorrectly positioned on BB OS 5

Posted by "Drew Walters (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449031#comment-13449031 ] 

Drew Walters commented on CB-1375:
----------------------------------

Granted that BB 5 is kind of the ugly step child, it seems to defeat the purpose of a cross platform sample if it doesn't actually render on all the supported platforms. Does the image need to be a background image added by the CSS? Seems like it might be simpler to position things if the image was actually in the DOM.
                
> 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

[jira] [Commented] (CB-1375) Sample app incorrectly positioned on BB OS 5

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
    [ 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

[jira] [Commented] (CB-1375) Sample app incorrectly positioned on BB OS 5

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448984#comment-13448984 ] 

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

This is a known issue with BlackBerry WebWorks. On OS 6 and 7, it can be solved with the meta viewport tag (using both {{height=}} and {{target-densitydpi=}}). Since BB5 isn't running WebKit, the same fix doesn't work. In the past, I've only solved this with JavaScript that force sets the height of the viewport. I'm not sure that we want to do this with the Hello World app. Thoughts?
                
> 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

[jira] [Commented] (CB-1375) Sample app incorrectly positioned on BB OS 5

Posted by "Drew Walters (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449714#comment-13449714 ] 

Drew Walters commented on CB-1375:
----------------------------------

Might be worth adding note to the readme noting the issue.  Also, seems like it would be useful to include the readme in each platforms instance of the hello world project. Doesn't look like this is currently being done.
                
> 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
>             Fix For: Master
>
>
> 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

[jira] [Commented] (CB-1375) Sample app incorrectly positioned on BB OS 5

Posted by "Drew Walters (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449616#comment-13449616 ] 

Drew Walters commented on CB-1375:
----------------------------------

My results with the simulator agree with the above table (that's why I specifically stated OS 5 in the description). BB 4.6 is not in consideration because we have not supported that for a couple of years (its not webworks based).

Although not ideal, I can accept not fixing this for BB OS 5 on the grounds that it will complicate the sample for the other platforms. I wanted to open an issue to make sure it was known and documented.

Should be noted that while BB OS 5 is still the dominate BB version accessing free apps from the app world, it is now the least popular for paid apps:

https://developer.blackberry.com/appworld
                
> 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
>             Fix For: Master
>
>
> 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

[jira] [Commented] (CB-1375) Sample app incorrectly positioned on BB OS 5

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449124#comment-13449124 ] 

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

Same issue exists on BlackBerry 9360 (OS 7.0.0.244)
                
> 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

[jira] [Commented] (CB-1375) Sample app incorrectly positioned on BB OS 5

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449087#comment-13449087 ] 

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

Same issue exists on BlackBerry 9800 (OS 6.0.0.337)
                
> 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

[jira] [Commented] (CB-1375) Sample app incorrectly positioned on BB OS 5

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449188#comment-13449188 ] 

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

Tested on tag 2.1.0rc2. Compiled with PhoneGap Build, so it used cordova-2.0.0js.

||OS||Device||Viewport Renders Correctly|| 
|7.0.0.576|Bold 9900|Yes|
|7.0.0.482|Curve 9380|Yes|  
|7.0.0.344|Bold 9790|Yes| 
|6.0.0.407|Style 9670|Yes| 
|6.0.0.337|Torch 9800|Yes| 
|5.0.0.732|Bold 9650|*No*| 

So, it looks as though the viewport issue only exists on BlackBerry 5.0.

If we want to fix this issue, I think we should provide a real world solution that other developers can use (e.g. a JavaScript function). However, I don't want one of Apache Cordova's least popular and out-dated operating systems (BlackBerry OS 5.0) to hold back and complicate our Hello World application. Dealing with such quirks should be reserved for more detailed articles and applications.

Just to provide more context, if we choose to fix this issue then we should also test it on BlackBerry 4.6.
                
> 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
>             Fix For: Master
>
>
> 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

[jira] [Updated] (CB-1375) Sample app incorrectly positioned on BB OS 5

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Brooks updated CB-1375:
-------------------------------

    Fix Version/s: Master
    
> 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
>             Fix For: Master
>
>
> 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