Closed Bug 1252495 Opened 9 years ago Closed 9 years ago

Global Toolbar should be always visible

Categories

(DevTools :: Responsive Design Mode, defect, P1)

defect

Tracking

(firefox48 fixed, firefox49 verified)

VERIFIED FIXED
Firefox 48
Iteration:
48.3 - Apr 25
Tracking Status
firefox48 --- fixed
firefox49 --- verified

People

(Reporter: zer0, Assigned: zer0)

References

Details

(Whiteboard: [multiviewport] [mvp-rdm])

Attachments

(1 file)

With the current implementation of global toolbar – see bug 1239464 – with small values in window's height; the toolbar won't be visible.
Blocks: 1237360
Priority: -- → P3
Whiteboard: [multiviewport][triage] → [multiviewport]
Priority: P3 → P2
Whiteboard: [multiviewport] → [multiviewport] [mvp-rdm]
Flags: qe-verify?
Flags: qe-verify? → qe-verify+
QA Contact: mihai.boldan
Assignee: nobody → zer0
Status: NEW → ASSIGNED
Iteration: --- → 48.3 - Apr 18
Priority: P2 → P1
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)
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 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+
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.
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+
Keywords: checkin-needed
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
(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)
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/
Rebased against the current master after bug 1239461.
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
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)
(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.
Hi Mihai, should this bug be marked as verified? Thanks.
Flags: needinfo?(mihai.boldan)
(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)
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
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: