Closed
Bug 1077003
Opened 10 years ago
Closed 10 years ago
[System] Layout problem in browser with SHB enabled
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.1 S6 (10oct)
People
(Reporter: kgrandon, Assigned: kgrandon)
References
Details
(Whiteboard: [systemsfe])
Attachments
(2 files)
It seems that there's an empty gap in the browser now.
I'm only seeing this in master and not 2.1
Assignee | ||
Comment 1•10 years ago
|
||
Let me see if I can write a test for this.
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8499012 [details]
Github pull request
I thought about writing a test for this one, but I'm not sure how much value it would be as these menus are getting changed in 2.2 to be of the new style. The test would also be pretty complex.
Could you guys take a look?
Attachment #8499012 -
Flags: review?(mhenretty)
Attachment #8499012 -
Flags: review?(eperelman)
Assignee | ||
Comment 3•10 years ago
|
||
Assignee | ||
Comment 4•10 years ago
|
||
Turns out this was caused by bug 1074033. Assuming we get a review we could land them together.
Blocks: 1074033
Assignee | ||
Comment 5•10 years ago
|
||
Note: You may need the patch from bug 1074033 to test this.
Comment 6•10 years ago
|
||
Let's just fix this in bug 1074033, and mark this as resolved since that one was backed out.
Also of note, this is really similar to bug 1074123. The problem is that we dynamically resize the .dialog-overlay container in the system app sometimes [1][2]. So for instance, before opening the keyboard we want a bottom of the SHB height. After opening and closing keyboard, the container is aware of SHB height, and we want a bottom of 0 at that point. It is really brittle in it's current state, so I'm trying to come up with a better solution right now.
1.) https://github.com/mozilla-b2g/gaia/blob/206ec9ceb12c6e9755ac367f3e313b9f2e04b610/apps/system/js/modal_dialog.js#L157
2.) https://github.com/mozilla-b2g/gaia/blob/206ec9ceb12c6e9755ac367f3e313b9f2e04b610/apps/system/js/system_dialog.js#L173
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 7•10 years ago
|
||
Comment on attachment 8499012 [details]
Github pull request
Clearing review flags.
Attachment #8499012 -
Flags: review?(mhenretty)
Attachment #8499012 -
Flags: review?(eperelman)
Comment 8•10 years ago
|
||
After some investigation, this dialog doesn't live inside of .dialog-overlay, but rather the browser app window. However, I believe the same thing applies since that window get's resized in much the same way as .dialog-overlay. Sorry about the noise here.
You need to log in
before you can comment on or make changes to this bug.
Description
•