Closed
Bug 655691
Opened 13 years ago
Closed 13 years ago
Use native button appearance for colorpicker buttons
Categories
(Toolkit :: Themes, defect)
Toolkit
Themes
Tracking
()
RESOLVED
FIXED
mozilla6
People
(Reporter: alexander.wilms, Assigned: Paenglab)
References
()
Details
Attachments
(5 files, 4 obsolete files)
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 Also see: http://ubuntuone.com/p/s0E/ The buttons to choose the color for text and background in the settings window don't follow the Ambiance theme. I think it is the same issue as in this bug, which has been patched already: https://bugzilla.mozilla.org/show_bug.cgi?id=638481 Reproducible: Always Steps to Reproduce: 1. Open settings window 2. Switch to "View" pane 3. Switch to "Create" pane Actual Results: Some buttons don't follow the gtk-theme Expected Results: They should look like all the other buttons
Updated•13 years ago
|
Component: OS Integration → Theme
QA Contact: os-integration → theme
Reporter | ||
Comment 1•13 years ago
|
||
The problems is also existent in Mozilla/5.0 (X11; Linux i686; rv:5.0a2) Gecko/20110505 Thunderbird/3.3a4pre
Assignee | ||
Comment 2•13 years ago
|
||
This is not only a Thunderbird issue. Firefox has the same in his preferences and both are using the same code. -> moving to Core
Status: UNCONFIRMED → NEW
Component: Theme → General
Ever confirmed: true
Product: Thunderbird → Core
QA Contact: theme → general
Version: unspecified → Trunk
Assignee | ||
Comment 3•13 years ago
|
||
This patch gives the colorpicker a button appearance. This is my first patch for core. So please, if I took the wrong reviewer, then assign the right one.
Assignee | ||
Comment 4•13 years ago
|
||
Image showing the difference between before and after.
Comment 5•13 years ago
|
||
Why aren't you modifying toolkit/themes/winstripe/global/colorpicker.css?
Component: General → Themes
Product: Core → Toolkit
QA Contact: general → themes
Assignee | ||
Comment 6•13 years ago
|
||
I didn't knew, if this is appreciated. A problem is, Windows (i checked under W7) is using 3px borders and Linux mostly 6px borders for buttons. Windows needs padding and Linux not. With a compromise of padding: 2px (1px is to small for Win) you see the tiny color box under Linux. A solution could be to change the height from 24px to 26px. What o you mean?
Reporter | ||
Comment 7•13 years ago
|
||
Could you change the button height to 26px and post another screenshot, please?
Assignee | ||
Comment 8•13 years ago
|
||
Patch also for Windows with button height of 26px.
Attachment #532421 -
Attachment is obsolete: true
Attachment #532421 -
Flags: review?(dao)
Attachment #532440 -
Flags: review?(dao)
Assignee | ||
Comment 9•13 years ago
|
||
Reporter | ||
Comment 10•13 years ago
|
||
Looking good
Comment 11•13 years ago
|
||
How does this look with the 'classic' windows theme?
Assignee | ||
Comment 12•13 years ago
|
||
Colorpicker under Win7 Classic. Actually I have no XP at hand and can't make screenshots under XP.
Comment 13•13 years ago
|
||
Ok... since we don't want the padding on Linux, I think you should both update winstripe's colorpicker.css and add a gnomestripe copy.
Assignee | ||
Comment 14•13 years ago
|
||
Leaved the padding: 3px on Windows and under Linux no padding set. Additionally removed some white-space on .colorpickertile. It was the only selector with this formatting in this file.
Attachment #532440 -
Attachment is obsolete: true
Attachment #532440 -
Flags: review?(dao)
Attachment #532506 -
Flags: review?(dao)
Comment 15•13 years ago
|
||
Comment on attachment 532506 [details] [diff] [review] Patch for Linux and Windows >+.colorpickertile[selected="true"] { >+ border : 2px outset #C0C0C0; >+ >+} Please remove the blank line and the space before the colon. Thanks!
Attachment #532506 -
Flags: review?(dao) → review+
Updated•13 years ago
|
OS: Linux → All
Hardware: x86 → All
Summary: "Choose color" - buttons in Thunderbird's settings windows look off → Use native button appearance for colorpicker buttons
Assignee | ||
Comment 16•13 years ago
|
||
Fixing nit from review. Carrying over r+ from previous patch.
Attachment #532506 -
Attachment is obsolete: true
Attachment #532508 -
Flags: review+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Updated•13 years ago
|
Attachment #532508 -
Attachment is patch: true
Attachment #532508 -
Attachment mime type: text/x-patch → text/plain
Comment 17•13 years ago
|
||
Comment on attachment 532508 [details] [diff] [review] Patch for check-in >+.colorpickertile[selected="true"] { >+ border: 2px outset #C0C0C0; >+ >+} The blank line is still there.
Assignee | ||
Comment 18•13 years ago
|
||
Sorry, I saw the space between border and :, but oversaw the empty line.
Attachment #532508 -
Attachment is obsolete: true
Attachment #532512 -
Flags: review+
Comment 19•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/12ac80dfdacb
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla6
You need to log in
before you can comment on or make changes to this bug.
Description
•