View Full Version : "gksudo" shaded background 'slides' onto desktop when triggered
pdurland
October 12th, 2007, 03:33 AM
I'm just having a little issue when I run anything that calls gksudo and the 'secure desktop' thing is activated (I know, sorry for using the Vista term, I don't know the exact name for Ubuntu).
The shaded background will slide into place instead of the usual fade in behavior. I'm wondering if it's some window type I need to keep an eye out for in options or something. I reset animations and it still happens. I also don't know if it might be related to the wobbly plugin since I also edited it to have wobbly menus and such.
I'm using Gutsy Gibbon, but I don't think that matters that much.
Fyda
October 14th, 2007, 07:02 AM
The gksu fake-dim effect was mentioned a very long time ago in this thread (http://forum.compiz-fusion.org/showthread.php?p=20469#post20469). I'm not sure that the window type/class has stayed the same, but you could try excluding it from the Create Animation and Close Animation effects, if at all possible.
Fyda
October 29th, 2007, 09:16 AM
As of Ubuntu 7.10 (Gutsy Gibbon), I can report that this is happening again. But I've also found a way to prevent it.
The dimming fullscreen window is now truly transparent (ie. no longer a "fake dim" bitmap), but I don't think it's desirable to have it animated by Compiz.
The window is still type=DropdownMenu; it also is not class=Gksu. (Yes, that's a property for the password prompt dialog itself, but we don't care about that; we want the fullscreen transparent window directly under it.)
Ultimately, the Window Matching (http://wiki.compiz-fusion.org/WindowMatching#head-362902678f93638651213d4b03a58ed2e4cb3421) wiki page gave me the information needed to solve this. What we need to use is the state=fullscreen property.
In the settings for the Animations plugin, under the Close Animation and Open Animation sections, I added !(state=fullscreen) to the end of the default rules containing DropdownMenu, like this:
(type=Menu | PopupMenu | DropdownMenu) & !(state=fullscreen)
With that setting, the dimming background window no longer has any animation applied to it by Compiz. This would be the desired result.
Please tell me if it works, or doesn't work. It'd be great if this issue were really solved here. :)
EDIT: Argh, I spoke too soon. This does work for removing the animation from the GNOME "Quit..." logout dialog's background dim window, but it doesn't solve the issue for gksu. Further experimentation will follow.
Zorael
October 30th, 2007, 04:11 AM
Slightly off topic, but could such a modification solve the issue with Fading Windows and the KDE Log Out shadowfade effect?
It's hard to explain, but the entire screen goes black (save for the log out box itself), then the fading wave sweeps down, eventually dimming the whole desktop. With Fading Windows disabled, it does this without the screen-goes-black part.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.