[jbosstools-issues] [JBoss JIRA] (JBIDE-13065) html5 quickstart displayed incorrectly in internal browser

Fred Bricon (JIRA) jira-events at lists.jboss.org
Wed Nov 14 09:32:22 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-13065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734152#comment-12734152 ] 

Fred Bricon commented on JBIDE-13065:
-------------------------------------

Works for me. Check index.html : 
{quote}
With Modernizr, we use media queries and touch detection to see if we are on a mobile, touch based device
or if we're at anything less than 480px.. this gives us a mobile ui on desktop browsers when resized to <480px
width for testing.
{quote}

Change window size and refresh
                
> html5 quickstart displayed incorrectly in internal browser
> ----------------------------------------------------------
>
>                 Key: JBIDE-13065
>                 URL: https://issues.jboss.org/browse/JBIDE-13065
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central, maven
>    Affects Versions: 4.0.0.Beta2
>         Environment: JBDS 6.0.0.Beta2 B62
> OS X 10.8 Mountain Lion
>            Reporter: Martin Malina
>            Assignee: Snjezana Peco
>             Fix For: 4.0.0.CR1
>
>         Attachments: html5-internal-browser.png
>
>
> When you create the html5 project from Central and then run it on AS7 (Project -> Run As -> Run on server) it is opened in the internal browser by default. For some reason the application thinks the eclipse internal browser is a mobile device and displays it as such. I'm pretty sure it worked correctly in the past.
> I assume usually this is controlled by the user agent http header.
> I checked the access_log on a server I own and this is what I get:
> "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.14 (KHTML, like Gecko) Safari/522.0"
> When I just used Safari to display the html5 project, I saw this in the access_log:
> "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17"

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


More information about the jbosstools-issues mailing list