Closed
Bug 775191
Opened 12 years ago
Closed 10 years ago
bookmarks toolbar items oversized
Categories
(Firefox :: Theme, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 734326
People
(Reporter: bugz, Assigned: nssreedevipillai)
References
Details
(Whiteboard: [mentor=darkowlzz][lang=css])
Attachments
(2 files, 10 obsolete files)
13.02 KB,
image/png
|
Details | |
2.10 KB,
patch
|
MattN
:
review-
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1 Build ID: 20120713134347 Steps to reproduce: moved the "bookmarks toolbar items" from the "bookmarks toolbar" up into the main toolbar where the location bar is. Actual results: all the items have no top or bottom margins, so they become oversized, please see screenshot for illustration Expected results: they should not stretch to the edge of the toolbar
Severity: normal → trivial
OS: Windows Vista → All
Hardware: x86_64 → All
Comment 1•12 years ago
|
||
Confirmed on http://hg.mozilla.org/releases/mozilla-release/rev/e5728a4e106c Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1 ID:20120713134347
I would like to work on this bug, Can you please assign this?
Comment 3•10 years ago
|
||
(In reply to Seetu from comment #2) > I would like to work on this bug, Can you please assign this? Sure thing. First check if you can still reproduce this with the Australis redesign on Nightly.
Assignee: nobody → nssreedevipillai
Status: NEW → ASSIGNED
I could reproduce it, Can you give me some more details about this bug, In which file will be the bug present?. Can you please help me with this.
Comment 5•10 years ago
|
||
Hi Seetu, After our irc discussion and some searching, I found that you need to make changes to browser.css [1][2][3] of the respective platforms (which is I guess, all the platforms). I am on OS X, I added some values to the margin-top and the buttons appeared to become a bit small. I am adding 2 attachments, which would perhaps help you see the difference. [1]: http://mxr.mozilla.org/mozilla-central/source/browser/themes/osx/browser.css#169 (for OS X) [2]: http://mxr.mozilla.org/mozilla-central/source/browser/themes/linux/browser.css#78 (for Linux) [3]: http://mxr.mozilla.org/mozilla-central/source/browser/themes/windows/browser.css#284 (for Windows) I have tested [1]. [2] & [3] should be right for respective platforms too.
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
Updated•10 years ago
|
Whiteboard: [mentor=darkowlzz][lang=css]
Attachment #8360437 -
Flags: review?(indiasuny000)
Comment 9•10 years ago
|
||
(In reply to Seetu from comment #8) > Created attachment 8360437 [details] [diff] [review] > patch.patch The patch doesn't contains your changes. Read this [1] to learn how to create a proper patch. Also, I haven't given a r+ (review+) yet. Once the patch is ready for checkin, you could add `r` to it, not now. [1]: https://developer.mozilla.org/en-US/docs/Mercurial_FAQ#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F
Updated•10 years ago
|
Attachment #8360437 -
Flags: review?(indiasuny000)
Assignee | ||
Comment 10•10 years ago
|
||
Attachment #8361114 -
Flags: review?(indiasuny000)
Comment 11•10 years ago
|
||
Comment on attachment 8361114 [details] [diff] [review] bugpatch.patch Review of attachment 8361114 [details] [diff] [review]: ----------------------------------------------------------------- Good start. This patch tries to fix the oversized bookmarks toolbar items in Linux. Could you try for Windows and OS X too? Also, I haven't given r+ yet. You can have r=me once you get a r+. ::: browser/themes/linux/browser.css @@ +77,5 @@ > #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder { > + margin-left: 0; > + margin-right:10px; > + margin-top:10px; > + margin-bottom:10px; We only need to set margin for top and bottom, keeping left and right 0 as before. I would like you to use Two-value syntax of margin, like margin: 4px 0px; After fiddling a bit on my machine and comparing various margin sizes, I found that 4px for top and bottom is good enough.
Attachment #8361114 -
Flags: review?(indiasuny000) → review-
Updated•10 years ago
|
Attachment #8360437 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8359749 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8359750 -
Attachment is obsolete: true
Assignee | ||
Comment 12•10 years ago
|
||
Attachment #8361744 -
Flags: review?(indiasuny000)
Comment 13•10 years ago
|
||
Comment on attachment 8361744 [details] [diff] [review] LinuxFix.patch Review of attachment 8361744 [details] [diff] [review]: ----------------------------------------------------------------- Thanks! That does the job for linux. I am giving you r+ on this patch. Now you can submit this patch again with r=me :) No need to ask for review on resubmission of this patch again. I would suggest you to submit separate patches for Windows and OS X. Good Luck!
Attachment #8361744 -
Flags: review?(indiasuny000) → review+
Updated•10 years ago
|
Attachment #8361114 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8361744 -
Attachment description: patch2.patch → LinuxFix.patch
Assignee | ||
Comment 14•10 years ago
|
||
Assignee | ||
Comment 15•10 years ago
|
||
Attachment #8362229 -
Flags: review?(indiasuny000)
Assignee | ||
Comment 16•10 years ago
|
||
Updated•10 years ago
|
Attachment #8361744 -
Attachment is obsolete: true
Comment 17•10 years ago
|
||
Comment on attachment 8362232 [details] [diff] [review] Osx.patch Review of attachment 8362232 [details] [diff] [review]: ----------------------------------------------------------------- Looks fine on OS X.
Attachment #8362232 -
Flags: review+
Updated•10 years ago
|
Attachment #8362085 -
Flags: review+
Assignee | ||
Comment 18•10 years ago
|
||
Attachment #8362236 -
Flags: review?(indiasuny000)
Updated•10 years ago
|
Attachment #8362232 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8362085 -
Attachment description: patch2.patch → Linux.patch
Updated•10 years ago
|
Attachment #8362236 -
Flags: review?(indiasuny000) → review+
Assignee | ||
Comment 19•10 years ago
|
||
Attachment #8362522 -
Flags: review?(indiasuny000)
Updated•10 years ago
|
Attachment #8362229 -
Attachment is obsolete: true
Attachment #8362229 -
Flags: review?(indiasuny000)
Comment 20•10 years ago
|
||
Comment on attachment 8362522 [details] [diff] [review] windows.patch Review of attachment 8362522 [details] [diff] [review]: ----------------------------------------------------------------- This looks fine :)
Attachment #8362522 -
Flags: review?(indiasuny000) → review+
Updated•10 years ago
|
Attachment #8362522 -
Attachment description: windows2.patch → windows.patch
Updated•10 years ago
|
Keywords: checkin-needed
Comment 21•10 years ago
|
||
Doesn't have review from a theme peer. Also, can you please fold these patches together when this is ready to land?
Keywords: checkin-needed
Comment 22•10 years ago
|
||
Comment on attachment 8362236 [details] [diff] [review] Osx.patch I'll review the patches. Sunny, thanks for your help but in the future, please don't mark r+ if you aren't a peer for the module in question. Feel free to use feedback+ though. Also, we should indicate in the commit message that this conflicts with Australis so it gets backed out of Holly to avoid merge issues.
Attachment #8362236 -
Flags: review?(MattN+bmo)
Updated•10 years ago
|
Whiteboard: [mentor=darkowlzz][lang=css] → [lang=css]
Comment 23•10 years ago
|
||
Sunny, it was helpful for you to mentor the bug and there was nothing wrong with that. Patches still have to follow the Firefox Code Review[1] rules though. [1] https://wiki.mozilla.org/Firefox/Code_Review
Whiteboard: [lang=css] → [mentor=darkowlzz][lang=css]
Comment 24•10 years ago
|
||
Thanks Matthew. Seetu, fold the 3 patches into a single patch, removing `r=me`. Once done, ask MattN for review. I won't be available for a week. Hope to see your patch land soon. :)
Assignee | ||
Comment 25•10 years ago
|
||
Attachment #8363621 -
Flags: review?(MattN+bmo)
Updated•10 years ago
|
Attachment #8362085 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8362522 -
Attachment is obsolete: true
Comment 26•10 years ago
|
||
Comment on attachment 8363621 [details] [diff] [review] Bugfix.patch Review of attachment 8363621 [details] [diff] [review]: ----------------------------------------------------------------- All of the changes you made also affect when the bookmarks items are in their default toolbar but the bug seems to be about when they're moved outside of it e.g. to the nav-bar. I don't think we should bother fixing this before implementing bug 734326 since it will change how this works anyways and I believe will make this case look much better. Thanks for your time on this. Hopefully you can find another bug of interest to you. (bug 734326 is not so small). ::: browser/themes/windows/browser.css @@ +274,5 @@ > /* ::::: bookmark buttons ::::: */ > > toolbarbutton.bookmark-item, > #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder { > + margin: 7px 0px; This increases the height of the Bookmark toolbar and adds too much margin when the items are there (in their default position)
Attachment #8363621 -
Flags: review?(MattN+bmo) → review-
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Updated•10 years ago
|
Attachment #8362236 -
Attachment is obsolete: true
Attachment #8362236 -
Flags: review?(MattN+bmo)
You need to log in
before you can comment on or make changes to this bug.
Description
•