Closed
Bug 349196
Opened 18 years ago
Closed 17 years ago
All Tabs menu doesn't use right edge image with browser.tabs.closeButtons = 3
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
FIXED
Firefox 3 alpha8
People
(Reporter: hsumen, Assigned: dao)
References
Details
(Keywords: polish, Whiteboard: [Fx2 theme change])
Attachments
(4 files, 11 obsolete files)
473 bytes,
image/png
|
Details | |
22.00 KB,
image/png
|
beltzner
:
ui-review+
|
Details |
482 bytes,
image/png
|
Details | |
6.60 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b1) Gecko/20060817 BonEcho/2.0b1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b1) Gecko/20060817 BonEcho/2.0b1 alltabs-box-start-bkgnd.png seems to be getting chopped of on Windows XP using either the Luna or Classic OS themes. Reproducible: Always Steps to Reproduce: 1. Open a few tabs. 2. View the All Tabs button. 3. Actual Results: The button appears to be chopped off. Expected Results: The button should have a rounded right-corner and a clearly defined border.
Comment 1•18 years ago
|
||
Can you give a screenshot of this? Specifically, I'm wondering if this is for the "tab close button to right of all tabs menu" case.
Sorry, that first pic isn't cropped right, but the other two should show it. In global/icons of classic.jar there is the following image which doesn't seem to be getting displayed...
Updated•18 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 7•18 years ago
|
||
OK, so looking at your screenshots, this is indeed for the "closeButtons = 3" case. Changing summary in hopes of being clearer, requesting blocking.
Flags: blocking-firefox2?
Summary: alltabs-box-start-bkgnd.png is not being displayed → All Tabs menu doesn't use right edge image with browser.tabs.closeButtons = 3
Target Milestone: --- → Firefox 2
Updated•18 years ago
|
Flags: blocking-firefox2? → blocking-firefox2-
Keywords: polish
Whiteboard: [Fx2 theme change][would take patch]
Comment 8•18 years ago
|
||
*** Bug 352356 has been marked as a duplicate of this bug. ***
Comment 9•18 years ago
|
||
Dao: Could you also have a look at this, once you're done with bug 352321?
Assignee | ||
Comment 10•18 years ago
|
||
One solution would be to add a right border to the alltabs button, which gets cropped off when the button is the :last-child. (In reply to comment #6) > Created an attachment (id=234487) [edit] > alltabs-right That's for RTL mode, I guess.
Comment 11•18 years ago
|
||
(In reply to comment #10) Why not just use tab-middle-bkgnd.png as a background for the close button's container (and maybe add a 1px separator to the close button's container)? This should be a cheap fix which makes the close button look like part of the whole tab bar concept by only modifying the close button0s appearance itself (less regression risks).
Assignee | ||
Comment 12•18 years ago
|
||
(In reply to comment #11) Yes, that would work. Images coming. Update to browser/themes/winstripe/browser/browser.css: .tabs-closebutton { list-style-image: url("chrome://global/skin/icons/close.png"); -moz-appearance: none; -moz-image-region: rect(0px, 16px, 16px, 0px); padding: 4px 2px 3px 2px; margin-bottom: 1px; border: none !important; background: -moz-dialog url("chrome://global/skin/icons/close-bkgnd.png"); } .tabs-closebutton:hover { -moz-image-region: rect(0px, 32px, 16px, 16px); background-image: url("chrome://global/skin/icons/close-bkgnd-hover.png"); }
Assignee | ||
Comment 13•18 years ago
|
||
Attachment #238052 -
Flags: review?
Assignee | ||
Comment 14•18 years ago
|
||
Attachment #238053 -
Flags: review?
Assignee | ||
Comment 15•18 years ago
|
||
(In reply to comment #12) > padding: 4px 2px 3px 2px; better: > padding: 4px 2px 3px; Now somebody would have to create the patch. Seth? :)
Assignee | ||
Comment 16•18 years ago
|
||
Comment 17•18 years ago
|
||
Unless I'm mistaken the CSS as it is now will also affect the Sidebar close buttons as in the attachment. Adding a parent selector (.tabs-closebutton-box > ) to the rules seems to fix the problem (and is how I did it in my Stylish fix http://userstyles.org/style/show/1063). I think this would make the stylesheet something like: .tabs-closebutton { list-style-image: url("chrome://global/skin/icons/close.png"); -moz-appearance: none; -moz-image-region: rect(0px, 16px, 16px, 0px); padding: 4px 2px 3px 2px; margin-bottom: 1px; border: none !important; } .tabs-closebutton-box > .tabs-closebutton { background: -moz-dialog url("chrome://global/skin/icons/close-bkgnd.png"); } .tabs-closebutton:hover { -moz-image-region: rect(0px, 32px, 16px, 16px); } .tabs-closebutton-box > .tabs-closebutton:hover { background-image: url("chrome://global/skin/icons/close-bkgnd-hover.png"); }
Assignee | ||
Comment 18•18 years ago
|
||
(In reply to comment #17) > Unless I'm mistaken the CSS as it is now will also affect the Sidebar close > buttons as in the attachment. You're right. I don't understand why the class is named .tabs-closebutton, though. That's misleading.
Comment 19•18 years ago
|
||
*** Bug 357165 has been marked as a duplicate of this bug. ***
Comment 20•18 years ago
|
||
*** Bug 357698 has been marked as a duplicate of this bug. ***
Updated•18 years ago
|
Flags: blocking1.8.1.1?
Updated•18 years ago
|
Attachment #238052 -
Flags: review? → ui-review?(beltzner)
Updated•18 years ago
|
Attachment #238053 -
Flags: review? → ui-review?(beltzner)
Comment 21•18 years ago
|
||
Polish is nice, but not blocking 1.8.1.1: moving to the "wanted" list.
Flags: wanted1.8.1.x+
Flags: blocking1.8.1.1?
Flags: blocking1.8.1.1-
Updated•18 years ago
|
Flags: wanted1.8.1.x+
Assignee | ||
Comment 22•17 years ago
|
||
Assignee: nobody → dao
Attachment #238052 -
Attachment is obsolete: true
Attachment #238053 -
Attachment is obsolete: true
Attachment #238204 -
Attachment is obsolete: true
Attachment #240933 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #238052 -
Flags: ui-review?(beltzner)
Attachment #238053 -
Flags: ui-review?(beltzner)
Assignee | ||
Comment 23•17 years ago
|
||
Attachment #234482 -
Attachment is obsolete: true
Attachment #234483 -
Attachment is obsolete: true
Attachment #234485 -
Attachment is obsolete: true
Attachment #234487 -
Attachment is obsolete: true
Assignee | ||
Comment 24•17 years ago
|
||
Attachment #260502 -
Flags: ui-review?(beltzner)
Assignee | ||
Comment 25•17 years ago
|
||
Comment on attachment 260500 [details] [diff] [review] patch I'll attach a RTL compatible patch later
Assignee | ||
Updated•17 years ago
|
Target Milestone: Firefox 2 → ---
Assignee | ||
Comment 26•17 years ago
|
||
Assignee | ||
Comment 27•17 years ago
|
||
Attachment #260500 -
Attachment is obsolete: true
Assignee | ||
Updated•17 years ago
|
Attachment #260568 -
Flags: review?(robert.bugzilla)
Assignee | ||
Updated•17 years ago
|
Flags: blocking-firefox3?
Target Milestone: --- → Firefox 3 beta1
Updated•17 years ago
|
Flags: blocking-firefox3? → blocking-firefox3-
Whiteboard: [Fx2 theme change][would take patch] → [Fx2 theme change][wanted-firefox3]
Comment 28•17 years ago
|
||
Comment on attachment 260568 [details] [diff] [review] patch (part 1) You need to add these files to the jar.mn as well.
Attachment #260568 -
Flags: review?(robert.bugzilla) → review-
Assignee | ||
Comment 29•17 years ago
|
||
Attachment #271990 -
Flags: review?(robert.bugzilla)
Assignee | ||
Updated•17 years ago
|
Attachment #260568 -
Attachment description: patch → patch (part 1)
Attachment #260568 -
Flags: review- → review?(robert.bugzilla)
Updated•17 years ago
|
Attachment #260568 -
Flags: review?(robert.bugzilla) → review+
Updated•17 years ago
|
Attachment #271990 -
Flags: review?(robert.bugzilla) → review+
Assignee | ||
Updated•17 years ago
|
Target Milestone: Firefox 3 M7 → Firefox 3 M8
Updated•17 years ago
|
Attachment #260502 -
Flags: ui-review?(beltzner) → ui-review+
Assignee | ||
Updated•17 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 30•17 years ago
|
||
would somebody please check this in?
Attachment #260568 -
Attachment is obsolete: true
Attachment #271990 -
Attachment is obsolete: true
Comment 31•17 years ago
|
||
Checking in browser/base/content/tabbrowser.xml; /cvsroot/mozilla/browser/base/content/tabbrowser.xml,v <-- tabbrowser.xml new revision: 1.239; previous revision: 1.238 done Checking in browser/themes/winstripe/browser/browser.css; /cvsroot/mozilla/browser/themes/winstripe/browser/browser.css,v <-- browser.css new revision: 1.77; previous revision: 1.76 done Checking in browser/themes/winstripe/browser/jar.mn; /cvsroot/mozilla/browser/themes/winstripe/browser/jar.mn,v <-- jar.mn new revision: 1.42; previous revision: 1.41 done Checking in browser/themes/winstripe/browser/tabbrowser/tabbrowserBindings.xml; /cvsroot/mozilla/browser/themes/winstripe/browser/tabbrowser/tabbrowserBindings.xml,v <-- tabbrowserBindings.xml new revision: 1.13; previous revision: 1.12 done
Comment 32•17 years ago
|
||
Missed image files RCS file: /cvsroot/mozilla/browser/themes/winstripe/browser/tabbrowser/close-bkgnd-rtl.png,v done Checking in close-bkgnd-rtl.png; /cvsroot/mozilla/browser/themes/winstripe/browser/tabbrowser/close-bkgnd-rtl.png,v <-- close-bkgnd-rtl.png initial revision: 1.1 done RCS file: /cvsroot/mozilla/browser/themes/winstripe/browser/tabbrowser/close-bkgnd.png,v done Checking in close-bkgnd.png; /cvsroot/mozilla/browser/themes/winstripe/browser/tabbrowser/close-bkgnd.png,v <-- close-bkgnd.png initial revision: 1.1 done
Updated•17 years ago
|
Flags: wanted-firefox3+
Whiteboard: [Fx2 theme change][wanted-firefox3] → [Fx2 theme change]
You need to log in
before you can comment on or make changes to this bug.
Description
•