Closed
Bug 940379
Opened 11 years ago
Closed 11 years ago
Bookmarks panel isn't aligned with other panels (such as the downloads panel, the main menu panel, etc.)
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
VERIFIED
FIXED
Firefox 30
People
(Reporter: roman.rellum, Assigned: jaws)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [Australis:P3])
Attachments
(2 files)
(deleted),
patch
|
Gijs
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
(deleted),
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20131118094134
Steps to reproduce:
After new update of FF 28 (new Australis UI) download panel is misaligned compared to bookmarks panel. See screenshot:
Download panel: http://fii.cz/vwqns - arrow is just touching download button.
Bookmarks panel: http://fii.cz/sxdmthm - there is space between arrow and bookmarks button.
Expected results:
These two panels, and probably all other (don't know if there are more similar panels, I'm using just these two) should be aligned. I personally don't care which is correct, with space it seems little bit better tho.
Updated•11 years ago
|
Blocks: australis-merge, australis-cust
Assignee | ||
Updated•11 years ago
|
Component: Untriaged → Downloads Panel
Note that the Firefox menu (and other menus if you add them, eg developer tools menu) is at the same height as the downloads panel. The bookmarks menu is the odd one out.
Comment 2•11 years ago
|
||
This might be related to bug 940148 and bug 940265.
Component: Downloads Panel → Bookmarks & History
Updated•11 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [Australis:P4]
Also note that it's strange to have this panel appears in the right direction instead of left like all other panels in this area.
Reporter | ||
Comment 4•11 years ago
|
||
That's true, tho you need to have these icons where panel has enough space to appear in its native position. Otherwise all panels appear to left side when there is not enough place on the right side (icons at right edge of the corner).
Comment 7•11 years ago
|
||
The download panel appears a few pixels higher than the bookmarks panel on Mac as well.
When testing, the download panel's anchor (the button) is five pixels higher than the bookmarks anchor (the dropmarker). However, the download panel anchor is only 20 pixels high while the bookmarks dropmarker is 30 pixels high, so this makes the bookmarks arrow appear 5 pixels lower. The bookmarks panel itself also has a one pixel top margin that the download panel does not have that pushes it down one pixel more.
I don't know enough about the styling of these specific element to know why this is but perhaps this will help clue someone in on what is happening here.
Comment 9•11 years ago
|
||
I think we should try to fix this for 29.
Summary: Download panel is not aligned with new bookmarks panel. → Bookmarks panel isn't aligned with other panels (such as the downloads panel, the main menu panel, etc.)
Whiteboard: [Australis:P4] → [Australis:P3]
Version: 28 Branch → 29 Branch
Comment 10•11 years ago
|
||
Should a new bug be opened about the panel orientation (currently to the right unlike every other panels) ?
Comment 11•11 years ago
|
||
(In reply to Guillaume C. [:ge3k0s] from comment #10)
> Should a new bug be opened about the panel orientation (currently to the
> right unlike every other panels) ?
I suspect we can deal with that in here.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Assignee | ||
Comment 12•11 years ago
|
||
Attachment #8375162 -
Flags: review?(gijskruitbosch+bugs)
Comment 13•11 years ago
|
||
Comment on attachment 8375162 [details] [diff] [review]
Patch
Review of attachment 8375162 [details] [diff] [review]:
-----------------------------------------------------------------
This looks OK to me (I'm assuming you've tested the alignment everywhere), but I don't understand the Linux hunk.
::: browser/themes/linux/browser.css
@@ +1470,5 @@
> margin-bottom: -16px;
> }
>
> +#nav-bar .toolbarbutton-1 > menupopup[side="top"].cui-widget-panel,
> +#nav-bar .toolbarbutton-1 > menupopup[side="bottom"].cui-widget-panel {
Can you explain why this is the same for both top and bottom?
Attachment #8375162 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Comment 14•11 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #13)
> ::: browser/themes/linux/browser.css
> @@ +1470,5 @@
> > margin-bottom: -16px;
> > }
> >
> > +#nav-bar .toolbarbutton-1 > menupopup[side="top"].cui-widget-panel,
> > +#nav-bar .toolbarbutton-1 > menupopup[side="bottom"].cui-widget-panel {
>
> Can you explain why this is the same for both top and bottom?
I can't really explain, just that when I tested it if I used `margin-bottom: -4px;` then the panel was moved in the opposite direction than you may expect.
I needed to add the [side="top]/[side="bottom"] attribute references due to the preceding rules that define a different margin based on the side=left/side=right.
Assignee | ||
Comment 15•11 years ago
|
||
OS: Windows 7 → All
Hardware: x86_64 → All
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 30
Comment 17•11 years ago
|
||
The Bookmarks panel still displays 1px below the other panels. See attached screenshot. Reopening.
Updated•11 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 18•11 years ago
|
||
Jose, please file a new bug for this. Tracking multiple fixes and landings in one bug gets quite cumbersome, especially with aurora-uplift.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Comment 19•11 years ago
|
||
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #18)
> Jose, please file a new bug for this. Tracking multiple fixes and landings
> in one bug gets quite cumbersome, especially with aurora-uplift.
Sorry about that. Filed new bug 974237.
Assignee | ||
Comment 20•11 years ago
|
||
Comment on attachment 8375162 [details] [diff] [review]
Patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): new bookmarks button/panel implementation
User impact if declined: menu offset off when compared to other panels/menus
Testing completed (on m-c, etc.): on m-c for a while now
Risk to taking this patch (and alternatives if risky): none
String or IDL/UUID changes made by this patch: no
Attachment #8375162 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
status-firefox29:
--- → affected
status-firefox30:
--- → fixed
Updated•11 years ago
|
Attachment #8375162 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 21•11 years ago
|
||
Updated•11 years ago
|
QA Contact: cornel.ionce
Comment 22•11 years ago
|
||
Verified as fixed on Firefox 29 beta 4 and latest Aurora using Windows 7 64bit, Windows XP 32bit, Ubuntu 12.04 32bit and Mac OS X 10.9.2.
You need to log in
before you can comment on or make changes to this bug.
Description
•