Bug 86428 - common widget rendering library
common widget rendering library
Product: Red Hat Linux
Classification: Retired
Component: gtk2-engines (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Owen Taylor
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2003-03-21 15:34 EST by Julien Olivier
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-03-21 15:44:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Julien Olivier 2003-03-21 15:34:29 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313

Description of problem:
I thought of a way to ease the creation of common themes (such as Bluecurve) for
different toolkits:

-Create a library whose goal will be to return pixmaps for each type of widget.
Call it for example XStyle
-Create a theme engine for GTK which will dynamically load XStyle to get each
widget's pixmap.
-Create a style plugin for QT which will dynamically load XStyle to get each
widget's pixmap.
-Configure GNOME and KDE to use those styles by default.
-Port existing QT/GTK themes to make them "plugins" for the XStyle library and
integrate those themes into the theme managers of KDE and GNOME instead of the
old ones.
-Do the same for XUL, OpenOffice, Wine etc...
-Voila ! You have an unified theme engine.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Start a GTK app
2.Start a QT app
3.Change QT's theme or GTK's theme

Actual Results:  GTK theme doesn't match QT theme... neither doe OpenOffice or
Wine for example.

Expected Results:  One theme engine to rule them all !

Additional info:
Comment 1 Owen Taylor 2003-03-21 15:44:12 EST
I'm not really sure that Red Hat bugzilla is the right place
for this bug. While the idea makes some sense, Red Hat bugzilla
is meant for tracking defects with Red Hat products and projects
that Red Hat developers are working on. 

(My personal guess is that a standardized pixmap theme format is 
probably more interesting than a common library, but perhaps
a common library is the best way to get widespread adoption of
a standardized format. There are some issues in that rendering
has to be somewhat specialized to the widget library ... e.g.,
for GTK+, just rendering to an X drawable wouldn't be acceptable
because GTK+ themes should work in Windows as well, where the
GDK levels calls are the same, but the X level calls aren't there.)

Note You need to log in before you can comment on or make changes to this bug.