Closed Bug 816256 Opened 12 years ago Closed 11 years ago

Work - richgrid layouts not behaving properly

Categories

(Firefox for Metro Graveyard :: General, defect)

All
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ally, Assigned: mbrubeck)

References

Details

(Keywords: qawanted, steps-wanted, Whiteboard: feature=work [completed-elm])

Attachments

(1 file)

sometimes the <richgrid>s that appears on the about:home lays out improperly. instead of being vertical rows they end up as 2 very, very long horizontal rows (instead of a couple of vertical rows in columns of 4-6), wasting a lot of screen space in landscape mode. I am mostly seeing this with recent history, but it may not be limited to that.

I notice that the behavior does not appear when running on desktop in metro mode.

It is unclear if this is a regression. juanb?
Blocks: 747789
I've seen this too and if its a regression it predates my joining the project as I /think/ I've seen it sporadically since (my) day 1. 

Related: https://bugzilla.mozilla.org/show_bug.cgi?id=793515
We talked about how painful this is at the ux meeting yesterday. I imagine we want to add this to our mvp (as much as I don't want to add to the mvp) and make this work a priority in the upcoming iteration.
Whiteboard: [mvp?]
Agreed.
OS: Mac OS X → Windows 8 Metro
Hardware: x86 → All
Whiteboard: [mvp?] → [metro-mvp][LOE:2][metro-it3]
Depends on: 831410
Attached patch patchSplinter Review
The main bug happens because StartUI.show is called before ContentAreaObserver.update (which sets the correct width and height styles for the start container) isn't called until the first "resize" event is dispatched.  We need to make sure these are set during startup.

On a related note, the patch makes sure the navigation appbar is visible at startup, to avoid jank when it appears suddenly during the startup process.
Assignee: nobody → mbrubeck
Status: NEW → ASSIGNED
Attachment #702980 - Flags: review?(netzen)
Attachment #702980 - Flags: review?(netzen) → review+
https://hg.mozilla.org/projects/elm/rev/816fa14a7a42
Whiteboard: [metro-mvp][LOE:2][metro-it3] → [metro-mvp][LOE:2][metro-it3][completed-elm]
Summary: richgrid layouts not behaving properly → Work - richgrid layouts not behaving properly
Whiteboard: [metro-mvp][LOE:2][metro-it3][completed-elm] → feature=work [completed-elm]
No longer blocks: 747789
Resolving bugs in the Firefox for Metro product that are fixed on the elm branch.  Sorry for the bugspam.  Search your email for "bugspam-elm" if you want to find and delete all of these messages at once.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: