Community
Participate
Working Groups
When in vertical-mode, iPad automatically zooms out of any html-document (i.e. below a 1-1 pixel-mapping) and reports a greater width/height than the display actually has. This makes the application unusable unless zoomed in manually, in which case the user has to scroll around as the layout is still based on the reported size. Fixing this should also solve the problem of bad relayouting when changing from portrait to landscape orientation.
Even when zoom is forced to e at least 1:1, the relayout on orientation change is broken because incorrect width/heigh values are reported to the server.
Fixed in CVS HEAD. Fixed reporting of width/height by changing code in qx.html.Window and rwt-index.html to use documentElement.clientWidth/height instead of window.innerWidth/height. The minimum zoom-factor now is set to 1.0 (using the "viewport" meta-tag), meaning that even in vertical orientation, the applications width matches that of the screen. I was unable to solve the problem that when changing the orientation from vertical to horizontal, the browser zooms in a bit. I experimented quite a bit, (for example with the viewport meta-tag), but it seems impossible to reset the zoom programatically. (It is detectable though).