After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 151262 - Allow themes to require an X server with alpha channel
Allow themes to require an X server with alpha channel
Status: RESOLVED OBSOLETE
Product: metacity
Classification: Other
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks: 102547
 
 
Reported: 2004-08-28 02:56 UTC by Havoc Pennington
Modified: 2017-03-18 18:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Havoc Pennington 2004-08-28 02:56:43 UTC
Themes that want to use alpha will need to require an X server that has it.
A couple of approaches possible:

 1. Certain themes just require it, and the requirement is in the 
    theme format; theme control panel would have to check which 
    themes to display by parsing the theme
 2. We handle it like theme versions, so we have metacity-theme-1.xml,
    and metacity-theme-1-alpha.xml; the theme control panel just 
    looks at theme filename. This way, a theme can provide both 
    alpha and non-alpha versions.

I like approach 2 at the moment, not that I've thought about it all that much.
Comment 1 Havoc Pennington 2004-09-04 03:35:29 UTC
See the patch on bug #151261
Comment 2 Sean Middleditch 2006-06-07 02:44:01 UTC
Additional methods might be:

3. Allow the new theme format to specify a default fallback fill color for areas that are supposed to be translucent but aren't.  i.e., if the fallback is #FFF and the theme draws some pixmap at 50% opacity, just blend the pixmap with white. 

4. Do the fake-transparency that is popular with older WMs and terminal emulators, in which the desktop wallpaper image is used to blend with.  Alternatively, use the fake-transparency that kwin and several other WMs use that actually uses the user's desktop/windows (not in real-time) for their pre-COMPOSITE drop shadows.
Comment 3 Screwtape 2009-01-31 05:53:49 UTC
Should this be moved to Component: Themes and made dependent on bug 482165?