FFA ~ Orientation Updates still need fixing v15.0.1




Firefox for Android
6 years ago
2 years ago


(Reporter: Gotta Getmedat, Unassigned)



15 Branch

Firefox Tracking Flags

(Not tracked)




6 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1
Build ID: 20120905151427

Steps to reproduce:

Firefox for Android Version 15.0.1 
looking at a jQuery webpage, which expects ...
$(window).bind('resize', updateWindowResized);
to handle resize events.

Actual results:

orientation changes don't seem to work as expected. 
it should adjust to the window size not stay the same... more or less... randomly.

Expected results:

The size of the windows width and height should change to match the screen.
See native Android browser for a proper flawless example.


6 years ago
Keywords: dom0
OS: Windows 7 → Android
Hardware: x86_64 → Other
Do you have a test page that shows the error in question?

Comment 2

6 years ago
not really available sorry.
Try www.google.ca with android firefox (HTC Amaze 4G specifically) and start switching the device orientation around, I notice some odd behavior even there.

First turn to landscape, and the right side is cut off slicing second 'g' down the middle.
Second turn back zoomed in to the slice point now, well behond slightly I see 'Goo', well missing the top of the big 'G' from scrolling, but I've not scrolled any.
So it's not hard to reproduce odd behavior.
If I do the same thing with the native app just called "Internet" (earth icon) the correct behavior occurs as expected.

Comment 3

6 years ago
It likely related to pages with div content that stick out past the edges of the page (clipped content).
In the case of the Google site they have a scrollable icons along the bottom part of the page.

I suspect and page with ads that slide in from the "right" side etc. will also help to determine where you have a major fundamental error.

Anyway how about the way it handles this page...
You'll wanna look at what a normal browser does first.
Well not all pages are as well designed/built as the Google agreed but this page has the same slice&dice problem at least (not all the other problems I've experienced randomly).
zooming region is unpredictable as well.

I've also just quickly tried www.hp.com which has also some issues eventually with relation to the slicing issue I've only just discovered try to find good examples. I've also just discovered you can't get to the desktop version either with their in page button or the browser setting for desktop version or any combination.
I'll keep looking for a good demonstration of the other problems I have with orientation. 
It might also be that you send an orientation changed event but not a window resized event I added that but still noticed issues.

Anyway once the slice & dice effect has occurred, returning the page orientation obviously must lead to further problems since it's lost touch with reality.
Kats, thoughts?
Ever confirmed: true
I'd like a test page or clear STR to reproduce what the problem is here. I'm unable to see any unexpected behaviour on rotation on google.ca, the codeacademy page, or hp.com. (Using a GN with latest nightly) Then again, I'm not clear on what I'm supposed to be looking for. Even screenshots of what you're seeing (both in FF and the stock browser) would be useful so I can understand the problem better.
You need to log in before you can comment on or make changes to this bug.