Closed
Bug 588027
Opened 15 years ago
Closed 14 years ago
Clean up places library code
Categories
(Firefox :: Bookmarks & History, defect)
Firefox
Bookmarks & History
Tracking
()
RESOLVED
FIXED
Firefox 7
People
(Reporter: kairo, Assigned: kairo)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 3 obsolete files)
22.21 KB,
patch
|
mak
:
review+
|
Details | Diff | Splinter Review |
Neil brought up some good possibilities for cleaning up the places library code when commenting on the SeaMonkey version in bug 585601. I have worked up a patch for making all those cleanups on the Firefox side, but this probably needs some good testing and UI-review on the various platforms supported with Firefox default themes.
![]() |
Assignee | |
Comment 1•15 years ago
|
||
This patch applies the cleanups from bug 585601 that seem fitting for the places library as well.
All in all, this should be removing some historic cruft (spurious additional boxes in the markup), and also make the search scope bar fit in better with OS native theming.
Marco, please mark the needed ui-reviews and such, I'm not 100% sure what we need there.
Comment 2•15 years ago
|
||
At least on mac, the toolbarbuttons in the scope bar are styled as "Scope bar buttons" (see the css you remove), so if you want to switch to regular push buttons, you'll need to re-style them so they fit in the scope bar.
Comment 3•14 years ago
|
||
Regarding the scope bar, I don't like your new styling on Windows 7, and I guess Mac is bad too based on comment 2. Id you drop current styling, then you'll have to figure out a similar scope bar ui in the various OSes and restyle them accordingly.
Comment 4•14 years ago
|
||
other changes looks fine, so you could split patch leaving organizer scope bar styling (including small button) alone.
![]() |
Assignee | |
Comment 5•14 years ago
|
||
(In reply to comment #4)
> other changes looks fine, so you could split patch leaving organizer scope bar
> styling (including small button) alone.
Probably not soon, and the scope bar stuff probably dies with your comments here, as I have no possibility to do any styling for anything but GTK2 with a very skewed theme I have running for that GNOME crap here.
Comment 6•14 years ago
|
||
so, file a new bug to correctly make the scope styling stuff native on tier platforms
Comment 7•14 years ago
|
||
Comment on attachment 467026 [details] [diff] [review]
v1: apply cleanups brought up in bug 585601
forgot to set the flag
Attachment #467026 -
Flags: review?(mak77) → review-
![]() |
Assignee | |
Comment 8•14 years ago
|
||
OK, here's a patch that should revert Mac and Windows scope bar theming to what it was before, and still apply all the other cleanup, including that on the scope bar itself.
Attachment #467026 -
Attachment is obsolete: true
Attachment #471594 -
Flags: review?(mak77)
Comment 9•14 years ago
|
||
why toolbarbuttons in the scopebar toolbar have to become buttons?
![]() |
Assignee | |
Comment 10•14 years ago
|
||
(In reply to comment #9)
> why toolbarbuttons in the scopebar toolbar have to become buttons?
Neil, that was your proposal, why exactly did you want that?
Comment 11•14 years ago
|
||
Ordinary buttons blend in better with communicator themes (Modern, winstripe, gnomestripe) which conveniently meant we could get rid of a bunch of theme CSS.
Comment 12•14 years ago
|
||
hm, but toolbarbuttons are buttons in toolbars, and these are buttons in a toolbar. So, i'm not sure I understand the need for the change, if the theme is wrongly managing toolbarbuttons changing them to simple buttons does not look like a solution.
Comment 13•14 years ago
|
||
For pinstripe, see the css in my patch in bug 586026 - that should make the scope bar buttons look the same as before (just switching from toolbarbutton to button in the css file wasn't enough iirc).
Comment 14•14 years ago
|
||
Comment on attachment 471594 [details] [diff] [review]
v1.1: revert Mac and Windows scope bar theming
Mano, what do you think of the toolbabutton->button change in the scope toolbar? the rest of the patch looks fine to me.
Attachment #471594 -
Flags: feedback?(mano)
Comment 15•14 years ago
|
||
Comment on attachment 471594 [details] [diff] [review]
v1.1: revert Mac and Windows scope bar theming
I'm directly moving review to mano, I have an hard time evaluating this subtle differences in xul widgets, so I prefer moving to his experience.
Apart the toolbarbutton->button change the rest of the patch is fine for me.
Attachment #471594 -
Flags: review?(mano)
Attachment #471594 -
Flags: review?(mak77)
Attachment #471594 -
Flags: feedback?(mano)
Comment 16•14 years ago
|
||
Comment on attachment 471594 [details] [diff] [review]
v1.1: revert Mac and Windows scope bar theming
>-#organizerScopeBar > toolbarbutton > .toolbarbutton-icon {
>+#organizerScopeBar > button > .toolbarbutton-icon {
> padding: 0;
> margin: 0;
> }
>
>-#organizerScopeBar > toolbarbutton > .toolbarbutton-text {
>+#organizerScopeBar > button > .toolbarbutton-text {
> margin: 0;
> padding: 2px 5px;
> }
This doesn't work.
I'd suggest avoiding the toolbarbutton->button change. I don't think we want this for Firefox.
Attachment #471594 -
Flags: review-
![]() |
Assignee | |
Comment 17•14 years ago
|
||
(In reply to comment #16)
> I'd suggest avoiding the toolbarbutton->button change. I don't think we want
> this for Firefox.
In that case, we'll need a good part of CSS added for gnomestripe, where IMHO we want them to look like a <button> actually.
![]() |
Assignee | |
Comment 18•14 years ago
|
||
OK, here's a patch that just leaves those buttons as toolbarbuttons. I decided I don't care if gnomestripe would look more fitting with actual buttons or not, but I really care about Firefox getting this cleanup (though I start to wonder if it would even be allowed for FF4 still - if not, it's still good to have after branching).
Attachment #471594 -
Attachment is obsolete: true
Attachment #494581 -
Flags: review?(mano)
Attachment #471594 -
Flags: review?(mano)
![]() |
Assignee | |
Comment 19•14 years ago
|
||
Here's an unbitrotted version. Can anyone else than mano review this or was it forgotten? I'd love to get this off my local queue and into the tree...
Attachment #494581 -
Attachment is obsolete: true
Attachment #534222 -
Flags: review?(mano)
Attachment #494581 -
Flags: review?(mano)
Updated•14 years ago
|
Attachment #534222 -
Flags: review?(mano) → review?(mak77)
Comment 20•14 years ago
|
||
I should have gone back to this after our talk at the all-hands, but looks like I forgot, sorry. Will look at it soon.
Comment 21•14 years ago
|
||
Comment on attachment 534222 [details] [diff] [review]
v1.3: unbitrotted
Review of attachment 534222 [details] [diff] [review]:
-----------------------------------------------------------------
I tested on Win7 and WinXP, results seem consistent, the scope bar save button is larger but that's not a big deal (all styling of that bar is fancy, this only makes it less fancy).
Menus and trees are fine afaict, so let's proceed while we are early in the cycle :)
Attachment #534222 -
Flags: review?(mak77) → review+
Comment 22•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 7
Comment 23•14 years ago
|
||
This is probably worth documenting. It breaks a couple of extensions and maybe some themes as well. See bug 677417.
Keywords: dev-doc-needed
Comment 24•13 years ago
|
||
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•