baker icon indicating copy to clipboard operation
baker copied to clipboard

Opening modal web view in landscape: 'Safari' button doesn't show

Open Dreeke opened this issue 14 years ago • 2 comments

When viewing a page in landscape and opening an external link with a the modal web view the 'Safari' button in the top right doesn't appear. Rotating to portrait won't make it appear.

One needs to close the modal window first and open it while in portrait view for it to appear. It then stays in both orientations.

Dreeke avatar Apr 10 '12 09:04 Dreeke

Just tested: I can confirm the bug. We will look into it, thanks!

Simbul avatar Apr 10 '12 21:04 Simbul

A first quick investigation shows that the problem is the toolbar width, which is far more than 1024px. The action button is thus displayed out of the viewport.

A related issue is the size of the view and the webView in ModalViewController, which are 768 (instead of 1024, as should be in landscape).

This may prove to be related, so I'm pasting it here as a reminder: http://stackoverflow.com/questions/2664980/uiscreen-applicationframe-returning-incorrect-rectangle-on-landscape-application

Simbul avatar Apr 10 '12 22:04 Simbul