Closed
Bug 1252495
Opened 9 years ago
Closed 9 years ago
Global Toolbar should be always visible
Categories
(DevTools :: Responsive Design Mode, defect, P1)
DevTools
Responsive Design Mode
Tracking
(firefox48 fixed, firefox49 verified)
People
(Reporter: zer0, Assigned: zer0)
References
Details
(Whiteboard: [multiviewport] [mvp-rdm])
Attachments
(1 file)
58 bytes,
text/x-review-board-request
|
jryans
:
review+
hholmes
:
ui-review+
|
Details |
With the current implementation of global toolbar – see bug 1239464 – with small values in window's height; the toolbar won't be visible.
Updated•9 years ago
|
Priority: -- → P3
Whiteboard: [multiviewport][triage] → [multiviewport]
Updated•9 years ago
|
Priority: P3 → P2
Whiteboard: [multiviewport] → [multiviewport] [mvp-rdm]
Updated•9 years ago
|
Flags: qe-verify?
Updated•9 years ago
|
Flags: qe-verify? → qe-verify+
QA Contact: mihai.boldan
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → zer0
Updated•9 years ago
|
Status: NEW → ASSIGNED
Iteration: --- → 48.3 - Apr 18
Priority: P2 → P1
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/44161/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/44161/
Attachment #8737866 -
Flags: review?(jryans)
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8737866 [details]
MozReview Request: Bug 1252495 - Global Toolbar should be always visible; r=jryans
Helen, what do you think? Probably we could reduce a bit the margin of the global toolbar – at least on top, I left what we had previously –; but it's up to you!
Attachment #8737866 -
Flags: ui-review?(hholmes)
Attachment #8737866 -
Flags: review?(jryans)
Comment on attachment 8737866 [details]
MozReview Request: Bug 1252495 - Global Toolbar should be always visible; r=jryans
https://reviewboard.mozilla.org/r/44161/#review40979
::: devtools/client/responsive.html/index.css:34
(Diff revision 1)
> html, body {
> margin: 0;
> height: 100%;
> }
>
> -body {
> +#root {
What is the purpose of these 3 styles? They didn't appear to make a difference when I disabled them...
::: devtools/client/responsive.html/index.css:48
(Diff revision 1)
> justify-content: center;
> align-items: center;
> flex-direction: column;
> +
> + /* Snap to the top of the app when there isn't enough vertical space anymore
> + to center the viewports (so we don't loose the global toolbar) */
Nit: lose
::: devtools/client/responsive.html/index.css:90
(Diff revision 1)
> padding: 4px 5px;
> display: inline-flex;
> -moz-user-select: none;
> + /* Make sure the global toolbar is visible when there's horizontal overflow
> + and the document is scrolled over the original toolbar's left position */
> + position: sticky;
Since we're allowing the toolbar to scroll out of view vertically, I am not sure we want to make it sticky horizontally?
Comment 4•9 years ago
|
||
Comment on attachment 8737866 [details]
MozReview Request: Bug 1252495 - Global Toolbar should be always visible; r=jryans
(In reply to Matteo Ferretti [:zer0] [:matteo] from comment #2)
> Comment on attachment 8737866 [details]
> MozReview Request: Bug 1252495 - Global Toolbar should be always visible;
> r=jryans
>
> Helen, what do you think? Probably we could reduce a bit the margin of the
> global toolbar – at least on top, I left what we had previously –; but it's
> up to you!
I actually really like what you've done—it scales well, and looks pretty good on smaller screens (which I think is important).
Going to ui-r+ this.
Attachment #8737866 -
Flags: ui-review?(hholmes) → ui-review+
Assignee | ||
Comment 5•9 years ago
|
||
https://reviewboard.mozilla.org/r/44161/#review40979
> What is the purpose of these 3 styles? They didn't appear to make a difference when I disabled them...
As discussed on IRC, they're needed basically to center the whole toolbar + viewports; it might not be obvious if the window's height is not big enough.
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8737866 [details]
MozReview Request: Bug 1252495 - Global Toolbar should be always visible; r=jryans
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/44161/diff/1-2/
Attachment #8737866 -
Flags: review?(jryans)
Comment on attachment 8737866 [details]
MozReview Request: Bug 1252495 - Global Toolbar should be always visible; r=jryans
https://reviewboard.mozilla.org/r/44161/#review41039
Great, thanks for working on this!
Attachment #8737866 -
Flags: review?(jryans) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 8•9 years ago
|
||
failed to apply:
applying 94ddbdf08314
patching file devtools/client/responsive.html/index.css
Hunk #2 FAILED at 102
1 out of 2 hunks FAILED -- saving rejects to file devtools/client/responsive.html/index.css.rej
patch failed to apply
abort: fix up the working directory and run hg transplant --continue
can you take a look, thanks!
Flags: needinfo?(zer0)
Keywords: checkin-needed
Assignee | ||
Comment 9•9 years ago
|
||
(In reply to Carsten Book [:Tomcat] from comment #8)
> failed to apply:
> can you take a look, thanks!
Immediately, thanks! Probably it clashes with my other bug that was just landed before this.
Flags: needinfo?(zer0)
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8737866 [details]
MozReview Request: Bug 1252495 - Global Toolbar should be always visible; r=jryans
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/44161/diff/2-3/
Assignee | ||
Comment 11•9 years ago
|
||
Rebased against the current master after bug 1239461.
Keywords: checkin-needed
Comment 12•9 years ago
|
||
Keywords: checkin-needed
Comment 13•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
Comment 14•9 years ago
|
||
While testing this issue, I've encountered 2 possible issues:
- If the FF window is set to it's minimum height, the Global toolbar is not visible - http://imgur.com/MpYJzsb
- If the viewport is wider than the screen (Eg. 4k Ultra HD Television device is selected) and the window is scrolled to the right, the global toolbar is not visible any more. - My opinion is that the Global toolbar should be visible and centered all the time.
I know that the first issue is an edge case, but should I log a bug for the issues described above?
Note that the tests were performed on FF 48.0a1 (2016-04-12) and on Windows 10 x64, Ubuntu 14.04 x86 and Mac OS X 10.11.
Flags: qe-verify+ → needinfo?(jryans)
(In reply to Mihai Boldan, QA [:mboldan] from comment #14)
> While testing this issue, I've encountered 2 possible issues:
> - If the FF window is set to it's minimum height, the Global toolbar is not
> visible - http://imgur.com/MpYJzsb
I think this issue is okay for now. Helen is planning some tweaks to the global toolbar behavior in bug 1262839, so let's check again once that's done.
> - If the viewport is wider than the screen (Eg. 4k Ultra HD Television
> device is selected) and the window is scrolled to the right, the global
> toolbar is not visible any more. - My opinion is that the Global toolbar
> should be visible and centered all the time.
>
> I know that the first issue is an edge case, but should I log a bug for the
> issues described above?
Helen's new behavior may cover this as well, but let's file a bug for this part just in case.
Flags: needinfo?(jryans)
Comment 16•9 years ago
|
||
(In reply to J. Ryan Stinnett [:jryans] (use ni?) from comment #15)
> (In reply to Mihai Boldan, QA [:mboldan] from comment #14)
> > While testing this issue, I've encountered 2 possible issues:
> > - If the FF window is set to it's minimum height, the Global toolbar is not
> > visible - http://imgur.com/MpYJzsb
>
> I think this issue is okay for now. Helen is planning some tweaks to the
> global toolbar behavior in bug 1262839, so let's check again once that's
> done.
I'm leaving this issue Resolved Fixed until Bug 1262839 is resolved and and I will be able to confirm that the issue described above was fixed.
> > - If the viewport is wider than the screen (Eg. 4k Ultra HD Television
> > device is selected) and the window is scrolled to the right, the global
> > toolbar is not visible any more. - My opinion is that the Global toolbar
> > should be visible and centered all the time.
> >
> > I know that the first issue is an edge case, but should I log a bug for the
> > issues described above?
>
> Helen's new behavior may cover this as well, but let's file a bug for this
> part just in case.
I've logged Bug 1265323 for this issue.
Comment 17•9 years ago
|
||
Hi Mihai, should this bug be marked as verified? Thanks.
Flags: needinfo?(mihai.boldan)
Comment 18•9 years ago
|
||
(In reply to Marco Mucci [:MarcoM] from comment #17)
> Hi Mihai, should this bug be marked as verified? Thanks.
Hi Marco,
I think we should leave this issue Resolved Fixed until the Bug 1262839 is fixed and see if the first issue described in Comment 14 is resolved along with it.
Thanks.
Flags: needinfo?(mihai.boldan)
Comment 19•9 years ago
|
||
Since the first issue from Comment 14 was resolved by the fix from Bug 1262839, I am marking this issue Verified Fixed.
The tests were performed on Firefox 49.0a1 (2016-05-03) and on Mac OS X 10.10.5, Ubuntu 14.04 x86 and on Windows 10 x64.
Status: RESOLVED → VERIFIED
status-firefox49:
--- → verified
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•