Closed
Bug 1137097
Opened 9 years ago
Closed 9 years ago
[Header] we don't recalculate when changing orientation
Categories
(Firefox OS Graveyard :: Gaia::Components, defect)
Tracking
(blocking-b2g:2.2+, b2g-v2.2 fixed, b2g-master fixed)
People
(Reporter: julienw, Assigned: julienw)
References
Details
Attachments
(3 files)
Gaia Header should listen to the orientationchange event and run runFontFitSoon. See https://developer.mozilla.org/en-US/docs/Web/API/CSS_Object_Model/Managing_screen_orientation#Listening_orientation_change for more information.
Comment 6•9 years ago
|
||
julien is going to take this as he is currently working on some other gaia-header improvements.
Flags: needinfo?(wilsonpage)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → felash
Assignee | ||
Comment 7•9 years ago
|
||
Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8579666 -
Flags: review?(wilsonpage)
Assignee | ||
Updated•9 years ago
|
Attachment #8579523 -
Flags: review?(wilsonpage)
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8579666 [details] [review] gaia-header PR I realize I'd like to skip recalculating in 2 situations: * when not-flush is used * when innerWidth does not change I'll finish this tomorrow.
Attachment #8579666 -
Flags: review?(wilsonpage)
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8579666 [details] [review] gaia-header PR Hey Wilson, I think this is now ready, tell me what you think :)
Attachment #8579666 -
Flags: review?(wilsonpage)
Updated•9 years ago
|
Attachment #8579523 -
Flags: review?(wilsonpage) → review+
Comment 11•9 years ago
|
||
Comment on attachment 8579666 [details] [review] gaia-header PR Some questions and comments on pull-request.
Attachment #8579666 -
Flags: review?(wilsonpage)
Assignee | ||
Comment 12•9 years ago
|
||
Comment on attachment 8579666 [details] [review] gaia-header PR Ready for next review !
Attachment #8579666 -
Flags: review?(wilsonpage)
Assignee | ||
Comment 13•9 years ago
|
||
1st patch font-fit master: https://github.com/gaia-components/font-fit/commit/9d00191f130a519e3688fca0cca5b8bf5b7a44c1 stamped 0.3.0: https://github.com/gaia-components/font-fit/commit/dc569f228c2e91fb8b698b44d0bf99b22db08a0d
Comment 14•9 years ago
|
||
Comment on attachment 8579666 [details] [review] gaia-header PR r+ (conditional) All looks good apart from the `notFlush` part. Perhaps I'm missing something, I think the resize logic should be run in this case too.
Attachment #8579666 -
Flags: review?(wilsonpage) → review+
Assignee | ||
Comment 15•9 years ago
|
||
Fixed the last comments and landed gaia-header master: ee7e4f0b1ebe827bb38f67408e70e363c46061f2
Assignee | ||
Comment 16•9 years ago
|
||
gaia-header v0.8.0 stamp: 64da8f8103b21960230b2d6e3f2412e8441d052f
Assignee | ||
Comment 17•9 years ago
|
||
Assignee | ||
Comment 18•9 years ago
|
||
gaia master: https://github.com/mozilla-b2g/gaia/commit/869a9112a2f3c982362aeacb7187f56e05a5e801
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 19•9 years ago
|
||
Comment on attachment 8581788 [details] [review] gaia PR to ugprade gaia-geader [Approval Request Comment] Note that this uplift is also necessary for bug 1140613. [Bug caused by] (feature/regressing bug #): bug 1112131 (although I'm not really sure this specific bug is new) [User impact] if declined: in these apps that handle both portrait and landscape orientations, we don't resize the text. It looks like this can lead to bugs like bug 1141832 as well. [Testing completed]: yes (unit and manually) [Risk to taking this patch] (and alternatives if risky): low [String changes made]: none note that the same
Attachment #8581788 -
Flags: approval-gaia-v2.2?
Updated•9 years ago
|
Attachment #8581788 -
Flags: approval-gaia-v2.2? → approval-gaia-v2.2+
Comment 20•9 years ago
|
||
v2.2: https://github.com/mozilla-b2g/gaia/commit/ed1e0bd76c98babdfd94559c8f9d44921eec462d
You need to log in
before you can comment on or make changes to this bug.
Description
•