Closed
Bug 53723
Opened 24 years ago
Closed 24 years ago
gray text input boxes are ugly.
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
VERIFIED
FIXED
M18
People
(Reporter: mattdm, Assigned: bryner)
References
Details
(Keywords: platform-parity, polish, regression, Whiteboard: [nsbeta3-][rtm++])
Attachments
(3 files)
6.53 KB,
patch
|
Details | Diff | Splinter Review | |
108.65 KB,
image/gif
|
Details | |
80.23 KB,
image/png
|
Details |
Yuck -- the background for text input boxes is suddenly grey. This looks really
nasty on some otherwise nicely designed pages. I've got my default background
color set to white -- the background for text-entry boxes (at least) should
follow this.
I agree with this. The old style looked much better.
Making text box background the default bg set by the user sounds like it might
be a good idea.
Comment 2•24 years ago
|
||
Ideally i'd like some way to specify this background from within a skin. I'll go
and see if this can be done with the current code.
Does anyone think we can raise severity (to say, Normal) and move this to XP
Toolkit/Widgets? This was caused by Hixie/Pierre's checkin to html.css I believe.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 3•24 years ago
|
||
The recent checkin to html.css (rev 3.109) uses 'window' as the
textfield/listbox/combobox background color. This is a major no-no on Linux
because the window color is a dark gray, whereas the background for these
elements should be white. These values need to be hardcoded.
For a screenshot, see: http://www.students.uiuc.edu/~bryner/graybg.jpg
Assignee: hangas → py8ieh=bugzilla
Severity: minor → major
Component: User Interface: Design Feedback → HTML Form Controls
Keywords: nsbeta3
Comment 4•24 years ago
|
||
OK, on GTK we want to pull out the base[NORMAL] state's color for text fields. I
filed bug 52948 to request a CSS color for this. Unfortunately (a) CSS3 is far
from standardization and (b) My code is very incomplete and not tested on
Win/Mac. But, it might get around hardcoding a value.
I'm sure there isn't time to deal with all this before beta3 so hopefully we can
just change it to 'white' until there's a proper CSS color.
Comment 6•24 years ago
|
||
This requires code level changes or build level changes, neither of which I
can perform. Reassigning to bryner since he seemed to know how to fix this.
Ben: this is the bug we spoke about earlier.
I personally think we should just override GTK on the 'Window' colour and say
that it is white regardless. It would make Yahoo look better, for one. Why does
GTK think windows should be gray???
Assignee: py8ieh=bugzilla → bryner
Keywords: polish
Assignee | ||
Comment 7•24 years ago
|
||
This is a regression, too.
Status: NEW → ASSIGNED
Keywords: regression
Comment 8•24 years ago
|
||
window background should be grey (by default (default gtk theme)). if you want
to specify things like the background of s text field (text field!= window)
using native system colors, i suggest someone add either what the current CSS3
working draft has (field) or make up something moz-field-background.
I think that we should back out the html widgets using native system color
checkin.
reassigning back to hixie
Assignee: bryner → ianh
Status: ASSIGNED → NEW
Comment 9•24 years ago
|
||
Pavlov: would the patch I mentioned above work for this?
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 11•24 years ago
|
||
Comment 12•24 years ago
|
||
The patch looks fine to me: r=pierre.
Comment 13•24 years ago
|
||
Lorca has more bugs than me, taking QA.
trudelle: Could you give this bug a +? This bug makes Linux builds really ugly
to the majority of people, and this fix is a simple, good, solution for it.
ben: could you a= this bug please? r=pierre. Also r=ianh given that: BeOS'
nsLookAndFeel is dead, we don't want xlib to look as good as GTK, and that we
want separate case entries in each switch rather than using fall-through, so
that maintenance is easier later.
Keywords: patch
QA Contact: lorca → py8ieh=bugzilla
Comment 14•24 years ago
|
||
nsbeta3-, rtm+, extremely visible regression, makes the edit fields appear
disabled, simple/safe fix.
Comment 15•24 years ago
|
||
..also makes unchecked checkboxes in classic appear checked, see bug 54457.
Comment 16•24 years ago
|
||
*** Bug 54457 has been marked as a duplicate of this bug. ***
Comment 17•24 years ago
|
||
PDT marking [rtm need info] since super-review is needed on this patch.
Whiteboard: [nsbeta3-][rtm+] → [nsbeta3-][rtm need info]
Comment 18•24 years ago
|
||
a=ben
Comment 19•24 years ago
|
||
rtm+, ready to land
Whiteboard: [nsbeta3-][rtm need info] → [nsbeta3-][rtm+]
Assignee | ||
Comment 21•24 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 23•24 years ago
|
||
This is really weird. This bug is fixed on one of my machines (laptop) but not
on my desktop. I've downloaded the same daily build 2000100906. The laptop has
nice white input boxes. The desktop has the ugly gray ones.
It sure looks like the patch to html.css is in on this build.
I've deleted my .mozilla directory.
I've rebooted (hey! I used to use Windows. These things are hard to break)
I've scratched my head.
Does anyone have any idea why on earth these boxes would still be gray? I'll
submit a screenshot to prove I'm not on drugs here.
David
Comment 24•24 years ago
|
||
Assignee | ||
Comment 25•24 years ago
|
||
On your desktop machine, are the textbox backgrounds white in other GTK
applications? We should be following the GTK theme exactly.
Comment 26•24 years ago
|
||
...rumages around grumbling trying to find another GTK application....
Yup, that was it. Excellent catch player one! I changed my GTK theme from aqua
to marble3d and things are right with the world once again. I would have never
equated grey text boxes with an Aqua theme...
That's really nifty that it works with GTK themes.
Here's an RTM--- Any chance of a Window Manager sniff in the future so we can
get KDE2/QT theme support as well? You'll get less bug reports from us KDE users
that way :)
Comment 27•24 years ago
|
||
Comment 28•24 years ago
|
||
The attachment was corrupted, but I could rescue enough of it with the GIMP. it
appears to be a pixmap theme. Are you sure that the theme is not laying a white
pixmap over a gray color? Open the gtkrc and look at base[NORMAL]. Mozilla
should follow that value.
You need to log in
before you can comment on or make changes to this bug.
Description
•