After spending a few hours with the gksu source code, it seems pretty
obvious to me that the problem is that the pop-up is not considered as a
new window, but as a tooltip.

>From libgksu's source code:

  if (context->grab)
    dialog = g_object_new (GKSUUI_TYPE_DIALOG,
                           "type", GTK_WINDOW_POPUP,
                           "sudo-mode", context->sudo_mode,
                           NULL);

>From GTK's documentation 
>(http://library.gnome.org/devel/gtk/stable/gtk-Standard-Enumerations.html#GtkWindowType):
Windows with type GTK_WINDOW_POPUP are ignored by the window manager... many 
GTK+ features that rely on the window manager will not work... GTK_WINDOW_POPUP 
is used to implement widgets such as GtkMenu or tooltips that you normally 
don't think of as windows per se.

So this bug seems to be caused by the dialog's lack of window management
features.

-- 
When screen is locked, the default language for password entry should be the 
user's default language
https://bugs.launchpad.net/bugs/154744
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to