shutdown dialogs and argb visuals

Marco Martin notmart at gmail.com
Mon Jun 9 21:43:34 CEST 2008


Hi all,
want to talk a bit about the shutdown dialog, i know i isn't strictly plasma, 
but it's nice to have a consistent feel with it eheh :)
since the shutdown dialog is using plasma themes i was trying to make the svg 
to display properly, having semi transparent areas the window shoud have argb 
visuals enabled.
i tried to enable them with the code used in plasma and krunner (that really 
it's black magic to me btw :P) and it works ok, except that the fade out of 
the screen when composite is on,
that breaks when i put
KApplication a(dpy, visual ? Qt::HANDLE(visual) : 0, colormap ? 
Qt::HANDLE(colormap) : 0);

instead of KApplication a(true)
and only if the fade out effect of kwin is used.

if i put a return false
in KSMShutdownFeedback::start()
the software effect it's still rendered correctly

am i getting something terribly wrong? the x stuff are really things arcane to 
me, so it could be everything :P

Cheers,
Marco Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ksmserver_argbvisuals.diff
Type: text/x-diff
Size: 3659 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080609/03aeba33/attachment-0001.bin 


More information about the Panel-devel mailing list