Closed Bug 232579 Opened 22 years ago Closed 18 years ago

gtk2 native theme lacks edit control outline

Categories

(Core Graveyard :: GFX: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: darin.moz, Assigned: blizzard)

References

Details

(Whiteboard: CLOSEME 07/01)

gtk2 native theme lacks edit control outline. under redhat9 or fedora core 1: 1) select Mist as your desktop theme 2) load firebird w/ classic theme notice that the outline is missing around the URL bar. in fact, any edit control lacks an outline. because the colors of this GTK theme are so light, it makes it very difficult to see an edit box in many cases.
Blocks: gtk2
I looked at this briefly and the problem appears to be that the Thinice engine (and the Mist engine, based on it) have a check that makes it bail on draw_shadow if the size of the drawable is not the same as the width and height passed in. This is bad for us since our drawable will be larger. The code in the theme engine seems dubious to me; I'm not sure what it's trying to accomplish. At any rate, the only ways I see we could work around this on our end are: - use a temporary pixmap which is the expected size of the entry's drawable. we'd need to copy the relevant bits to the temporary pixmap, call gtk to draw to it, then copy the bits back. - use native text fields
Does this bug still occur in a recent trunk build? http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
Whiteboard: CLOSEME 07/01
I'm going to go ahead and close this. Darin or Brian, if you can still reproduce this, feel free to reopen, but both Linux and Firefox have changed substantially in the last three years, so it's likely no longer an issue.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.