Closed
Bug 456214
Opened 16 years ago
Closed 16 years ago
Polish toolbar buttons in the Add-ons Manager, Page Info dialog and Error Console
Categories
(Firefox :: Theme, defect)
Tracking
()
VERIFIED
FIXED
Firefox 3.1b3
People
(Reporter: mstange, Assigned: mstange)
References
Details
(Keywords: polish, verified1.9.1)
Attachments
(2 files, 8 obsolete files)
(deleted),
image/png
|
Details | |
(deleted),
patch
|
dao
:
review+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•16 years ago
|
||
Assignee | ||
Comment 2•16 years ago
|
||
Comment on attachment 339595 [details] [diff] [review]
patch, rev1
This patch only works together with the patch in bug 456216.
Assignee | ||
Comment 3•16 years ago
|
||
Attachment #339595 -
Attachment is obsolete: true
Assignee | ||
Comment 4•16 years ago
|
||
I'll request review when I update the patch for bug 398928.
Attachment #339635 -
Attachment is obsolete: true
Assignee | ||
Comment 5•16 years ago
|
||
Attachment #341254 -
Attachment is obsolete: true
Attachment #344109 -
Flags: review?(rflint)
Assignee | ||
Comment 6•16 years ago
|
||
Comment on attachment 344109 [details] [diff] [review]
v4
New patch coming soon.
Attachment #344109 -
Attachment is obsolete: true
Attachment #344109 -
Flags: review?(rflint)
Assignee | ||
Comment 7•16 years ago
|
||
Attachment #350576 -
Flags: review?(dao)
Assignee | ||
Comment 8•16 years ago
|
||
I removed two unnecessary !importants. The only ones left are "color" rules on toolbarbuttons; these are necessary because toolbarbutton.css specifies color: buttontext !important. I don't know why it does that but I don't want to change it in this bug.
Attachment #350576 -
Attachment is obsolete: true
Attachment #350577 -
Flags: review?(dao)
Attachment #350576 -
Flags: review?(dao)
Updated•16 years ago
|
Attachment #350577 -
Flags: review?(dao) → review-
Comment 9•16 years ago
|
||
Comment on attachment 350577 [details] [diff] [review]
v5.1
It's not obvious what "segm" means... please rename.
> <!DOCTYPE window [
> <!ENTITY % pageInfoDTD SYSTEM "chrome://browser/locale/pageInfo.dtd">
> %pageInfoDTD;
>+ <!ENTITY % global SYSTEM "chrome://global/locale/global.dtd"> %global;
You should follow the prevailing style and put %global; on the next line.
>+#console-toolbox[chromedir="ltr"] #Console\:modeAll,
>+#console-toolbox[chromedir="rtl"] #Console\:modeMessages {
>+ border-width: 0 4px 0 6px;
>+ -moz-border-image: url("chrome://global/skin/toolbar/segm-left.png") 0 4 0 6 repeat;
> }
The chromedir attributes should be on the buttons.
>+#ToolbarMode > #Console\:clear {
Why "#ToolbarMode >"?
>+++ b/toolkit/themes/pinstripe/global/viewbuttons.css
>+window:not([active]) #viewGroup > radio {
Use :root:not([active]) so that this works for arbitrary root elements?
Assignee | ||
Comment 10•16 years ago
|
||
(In reply to comment #9)
> (From update of attachment 350577 [details] [diff] [review])
> It's not obvious what "segm" means... please rename.
> You should follow the prevailing style and put %global; on the next line.
> The chromedir attributes should be on the buttons.
> Use :root:not([active]) so that this works for arbitrary root elements?
Fixed.
> >+#ToolbarMode > #Console\:clear {
>
> Why "#ToolbarMode >"?
To make the rule more specific than "#ToolbarMode toolbarbutton", but I guess !important makes the intention clearer.
Attachment #350577 -
Attachment is obsolete: true
Attachment #350652 -
Flags: review?(dao)
Assignee | ||
Comment 11•16 years ago
|
||
Thanks Dão! It's really great to have a responsive theme reviewer.
Assignee | ||
Comment 12•16 years ago
|
||
Oh, viewbutton-middle-selected.png and viewbutton-middle-inactive.png are missing in this patch...
Comment 13•16 years ago
|
||
Would it be possible to reuse viewbuttons.css in console.css? I.e. wrap the toolbarbuttons in <hbox id="viewGroup" chromedir="&locale.dir"></hbox>, use #viewGroup > * instead of #viewGroup > radio and add [checked] similar to [selected]?
Assignee | ||
Comment 14•16 years ago
|
||
I'll try that. By the way, do I need a license header in viewbuttons.css?
Comment 15•16 years ago
|
||
I guess we could do without the license header there. Then again, it can't hurt to add it.
Assignee | ||
Comment 16•16 years ago
|
||
(In reply to comment #13)
> use #viewGroup > * instead of #viewGroup > radio
This would result in a styled toolbarseparator (and probably in a slower selector, but I don't know if that matters much). In this patch I'm just duplicating all the selectors for toolbarbuttons, but now I realize that I could just set display:none on the toolbarseparator - do you want me to do that?
(In reply to comment #15)
> I guess we could do without the license header there. Then again, it can't hurt
> to add it.
I added it.
Attachment #350652 -
Attachment is obsolete: true
Attachment #350775 -
Flags: review?(dao)
Attachment #350652 -
Flags: review?(dao)
Comment 17•16 years ago
|
||
Is it necessary that #viewGroup contains #Console:clear and the toolbarseparator? I had this structure in mind:
#viewGroup
#Console:modeAll
#Console:modeErrors
#Console:modeWarnings
#Console:modeMessages
toolbarseparator
#Console:clear
Assignee | ||
Comment 18•16 years ago
|
||
Ah, that makes a lot more sense.
Assignee | ||
Comment 19•16 years ago
|
||
Attachment #350775 -
Attachment is obsolete: true
Attachment #350782 -
Flags: review?(dao)
Attachment #350775 -
Flags: review?(dao)
Updated•16 years ago
|
Attachment #350782 -
Flags: review?(dao) → review+
Assignee | ||
Updated•16 years ago
|
Attachment #350782 -
Flags: approval1.9.1?
Assignee | ||
Comment 20•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.2a1
Updated•16 years ago
|
Attachment #350782 -
Flags: approval1.9.1? → approval1.9.1+
Comment 21•16 years ago
|
||
Comment on attachment 350782 [details] [diff] [review]
v8
a191=beltzner
Comment 22•16 years ago
|
||
Verified with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20081213 Minefield/3.2a1pre ID:20081213020516
Markus, is this patch ready for 1.9.1 check-in?
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 23•16 years ago
|
||
I'm not sure. Sometimes I can see missing button backgrounds, so maybe we should wait for bug 468473 before landing this on 1.9.1.
STR:
1. Start / restart Firefox.
2. Load this page in the active tab.
3. Click on the favicon in the location bar.
4. Click "More information…".
Now the "Media" button's background is missing in the page info dialog.
Depends on: 468473
Assignee | ||
Comment 24•16 years ago
|
||
The patch in bug 468473 fixes the problem in comment 23.
Updated•16 years ago
|
Whiteboard: [1.9.1 landing waits for bug 468473 first]
Comment 25•16 years ago
|
||
Comment on attachment 350782 [details] [diff] [review]
v8
>+++ b/toolkit/themes/pinstripe/global/viewbuttons.css
>+ * The Original Code is the nsSessionStore component.
Can you please fix this on trunk and before landing on branch?
Comment 26•16 years ago
|
||
Markus, will this get into branch?
Comment 27•16 years ago
|
||
Bug 468473 has been fixed. Means we can go for 1.9.1. Markus please take care of comment 25. It also has to be corrected on mozilla-central.
I've started a tryserver build and will check if everything works well.
Comment 28•16 years ago
|
||
Somehow the patch wasn't applied to the tryserver build. So stopped for now.
In any way the patch doesn't apply cleanly on 1.9.1:
patching file toolkit/themes/pinstripe/global/console/console.css
Hunk #2 succeeded at 183 (offset 1 line).
patching file toolkit/themes/pinstripe/global/jar.mn
Hunk #1 succeeded at 46 (offset 1 line).
Hunk #2 succeeded at 205 (offset 4 lines).
Assignee | ||
Comment 29•16 years ago
|
||
(In reply to comment #25)
> (From update of attachment 350782 [details] [diff] [review])
> >+++ b/toolkit/themes/pinstripe/global/viewbuttons.css
>
> >+ * The Original Code is the nsSessionStore component.
>
> Can you please fix this on trunk and before landing on branch?
Oops, thanks.
http://hg.mozilla.org/mozilla-central/rev/793f8f182fb2
I'll land the patch on branch later today.
Assignee | ||
Comment 30•16 years ago
|
||
Or not. I'll wait for bug 470181 because I don't want to break SeaMonkey.
Updated•16 years ago
|
Whiteboard: [1.9.1 landing waits for bug 468473 first] → [1.9.1 landing waits for bug 470181 first]
Comment 31•16 years ago
|
||
(In reply to comment #30)
> Or not. I'll wait for bug 470181 because I don't want to break SeaMonkey.
Thanks for waiting :-) There's now a fix in bug 470181 - I'll land it after you've landed your patch on 191.
Updated•16 years ago
|
Whiteboard: [1.9.1 landing waits for bug 470181 first] → [needs 1.9.1 landing]
Assignee | ||
Comment 32•16 years ago
|
||
Landed on 1.9.1: http://hg.mozilla.org/releases/mozilla-1.9.1/rev/e3f8301acef5
Keywords: fixed1.9.1
Whiteboard: [needs 1.9.1 landing]
Target Milestone: Firefox 3.2a1 → Firefox 3.1b3
Comment 33•16 years ago
|
||
verified fixed on the 1.9.1 branch using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090108 Shiretoko/3.1b3pre. Adding keyword.
Keywords: fixed1.9.1 → verified1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•