Closed
Bug 769001
Opened 11 years ago
Closed 11 years ago
[tablet] Site identity popup takes up the entire screen width
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox15 verified, firefox16 verified, firefox17 verified)
VERIFIED
FIXED
Firefox 16
People
(Reporter: Margaret, Assigned: Margaret)
Details
Attachments
(2 files)
14.32 KB,
patch
|
sriram
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
390.54 KB,
image/jpeg
|
Details |
The issue from bug 716095 also exists for the site identity popup. If we create a way to dynamically position the arrow/popup, we could share a generic arrow panel layout for the doorhanger popup and the site identity popup, and this would also fix bug 764405 and bug 768073.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → margaret.leibovic
Assignee | ||
Comment 1•11 years ago
|
||
Do we have any strategies for avoiding so much duplicate layout code? I only had to change the layout_width on the inner RelativeLayout to get this to work. I tried dynamically doing that in the SiteIdentityPopup constructor, but that wasn't working right because I had to create new LayoutParams, and they didn't account for the top margin that's in the XML. I also know we prefer doing things in XML for performance reasons, but I get worried about these files accidentally getting out of sync.
Attachment #639843 -
Flags: review?(sriram)
Assignee | ||
Comment 2•11 years ago
|
||
This has the patch from bug 739364 backed out to fix bug 771380 locally. Without the backout, the popup just appears lower than it should because of the extra padding on the icon.
Assignee | ||
Updated•11 years ago
|
status-firefox15:
--- → affected
status-firefox16:
--- → affected
Comment 3•11 years ago
|
||
Comment on attachment 639843 [details] [diff] [review] patch Review of attachment 639843 [details] [diff] [review]: ----------------------------------------------------------------- This looks good to me. (So the other patch for arrow isn't needed?)
Attachment #639843 -
Flags: review?(sriram) → review+
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Sriram Ramasubramanian [:sriram] from comment #3) > This looks good to me. > (So the other patch for arrow isn't needed?) Do you mean bug 764405? That's still needed for the arrow to align properly on phones, since we're keeping the same logic there to make the popup take up the entire screen width.
Assignee | ||
Comment 5•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d99fa5ee8bd3
Target Milestone: --- → Firefox 16
Assignee | ||
Comment 6•11 years ago
|
||
Comment on attachment 639843 [details] [diff] [review] patch [Approval Request Comment] Bug caused by (feature/regressing bug #): polish issue with tablet UI, which is new to 15 User impact if declined: site identity popup is too wide Testing completed (on m-c, etc.): just landed on inbound Risk to taking this patch (and alternatives if risky): low-risk style change String or UUID changes made by this patch: n/a
Attachment #639843 -
Flags: approval-mozilla-aurora?
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d99fa5ee8bd3
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
status-firefox16:
affected → ---
Updated•11 years ago
|
Attachment #639843 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 8•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/22dba548db57
Updated•11 years ago
|
Updated•2 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•