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 147508 - Fix for translucent dialogs
Fix for translucent dialogs
Status: RESOLVED FIXED
Product: gDesklets
Classification: Deprecated
Component: core
0.30
Other Linux
: Normal minor
: ---
Assigned To: gDesklets Maintainers
gDesklets Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-07-13 17:16 UTC by alex
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix for --translucent problems with dialogs (3.37 KB, patch)
2004-07-13 17:17 UTC, alex
none Details | Review

Description alex 2004-07-13 17:16:34 UTC
I just tried the 0.30pre version, and found the really nifty --translucent flag.
 Since I've been playing around with the freedesktop.org X server anyway, this
was really cool!

Unfortunately, if the --translucent flag is given with the freedesktop.org X
server, popups and dialogs come up (almost) invisible (as is noted in the code,
this is because GTK doesn't understand translucent visuals).

I am attaching a patch which fixes this problem by switching to a "normal"
visual before displaying popups, configurators, or message boxes.  An arguably
more correct way to fix this problem would be to turn on the translucent visual
only for elements which we know can handle it, instead of turning it on globally
and then selectively turning it off, but I'm not yet familiar enough with the
code to be comfortable implementing that approach.  In any case, this patch is
probably much simpler, and fixes the main problem (for the moment, at least).
Comment 1 alex 2004-07-13 17:17:44 UTC
Created attachment 29510 [details] [review]
Fix for --translucent problems with dialogs
Comment 2 Martin Grimme 2004-07-13 23:27:26 UTC
That looks good. Thanks. Maybe we can do it the other way round and only push
the translucent visual for creating the display window. That ought to be enough.
Comment 3 Benoît Dejean 2004-07-16 06:31:05 UTC

*** This bug has been marked as a duplicate of 147618 ***
Comment 4 Benoît Dejean 2004-07-16 06:32:59 UTC
(fuck, sorry, bugzilla browsing trapped me)
Comment 5 Martin Grimme 2004-09-28 23:19:41 UTC
I have just installed Xorg 6.8.0 and tried pushing the visual for creating the
display windows only. It works perfectly and dialogs and menus are no longer
broken.

I will commit this to CVS within the next few days.