Closed Bug 232553 Opened 21 years ago Closed 17 years ago

GTK2 build of Mozilla should use gtk2 themed widgets embedded in webpages

Categories

(Core Graveyard :: GFX: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 329846

People

(Reporter: masterpe, Assigned: romaxa)

References

()

Details

Attachments

(1 file)

User-Agent:       
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20040113 Firebird/0.7

If we look at www.google.com in Mozilla under Linux it has these "tk" style
search buttons. On Mozilla in Windows these buttons are drawn after the present
theme in use, this should also be the case for gtk2 builds.

Given that someone uses a gtk2 build these buttons aswell as the dropdown menus
and possibly other widgets (perhaps the radio buttons?) should also use gtk2 for
a consistent look/feel.

Reproducible: Always
Steps to Reproduce:
1. Every site with an embedded widget shows this

Actual Results:  
Widgets are drawn in a tk style

Expected Results:  
Draw these widgets using the gtk2 style presently in use by the system
Assignee: justdave → blizzard
Component: Bugzilla-General → GFX: Gtk
Product: Bugzilla → Browser
QA Contact: mattyt-bugzilla → ian
Version: unspecified → Trunk
bryner, do we have a bug for this yet?
Blocks: gtk2
Whiteboard: DUPEME
dup of bug 7246?
*** Bug 249658 has been marked as a duplicate of this bug. ***
What's the status on this one?

Iv'e heard that this is a WONTFIX since you need to implement CSS color
properties, and you can't do that with GTK2 widgets?

Would be a shame if we never got rid of the ugly "tk" buttons!
ping?
Flags: blocking-aviary1.1?
This is definitely a big draw back to have a nice desktop theme and firefox
using these ugly widgets.
Flags: blocking-aviary1.1? → blocking-aviary1.1-
Flags: blocking-aviary2.0?
*** Bug 301729 has been marked as a duplicate of this bug. ***
Any news on this? :(
I had a 30% patch for this that used GTK to render all the widgets, but didn't fix any of the rendering glitches that surfaced, and had problems with focus rectangles for all controls.

Unfortunately the patch got lost when my HDD died some weeks ago, and I haven't found the time to recode it.

For anyone interested in experimenting with this, I think you should start here:
<http://lxr.mozilla.org/seamonkey/source/widget/src/gtk2/nsNativeThemeGTK.cpp#878> (remove the check). Removing this check will lead to Gecko using GTK to render all widgets, and you'll have alot of problems with form widgets in general, but it's the first step.

Please stop posting useless comments.
This would require significant backend changes and isn't going to happen for Fx2
Flags: blocking-aviary2? → blocking-aviary2-
(In reply to comment #10)
> This would require significant backend changes and isn't going to happen for
> Fx2
> 
How come the new firefox 1.5 error pages (such as "website could not be reached"), have a nice GTK2-rendered button "retry" right at the bottom of the message? What's the difference between that one and the "normal" forms in webpages? I would really like to know.
Jeff, I'm guessing that's because the page is layed out in XUL, and that's a XUL widget.
*** Bug 307427 has been marked as a duplicate of this bug. ***
Flags: blocking-firefox2-
If it's not easy to make mozilla use the gtk theme then perhaps at least the defaults could be changed to something else? Clearlooks perhaps? That would be a lot better than now.
This patch will allow to set using Native Gtk Themes without engine rebuilding.
Assignee: blizzard → romaxa
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: