GNOME Bugzilla – Bug 572878
Actions don't work with widgets that only have clicked events
Last modified: 2009-06-22 15:32:21 UTC
Please describe the problem: Critical as it prevents some other applications from working (network-manager here) If the application uses an action with a widget that only has clicked events (e.g. button) then the auth never gets fired if a password is required, the clicked event is just eaten and the user can't complete the task. Richard Hughes patched this in Fedora, but I couldn't find an existing bug, apologies if this is a duplicate. Thanks, James Steps to reproduce: 1. Edit Connections in NM 2. Choose a wireless network and edit it 3. Select "Available for all users" -> Apply button icon should change to indicate it needs to be unlocked 4. Click Apply Actual results: Nothing. The dialog stays, but it is impossible to apply the settings. Expected results: polkit-gnome prompts for the admin password and then applies the setting if I authenticate. Does this happen every time? Yes Other information:
Created attachment 129353 [details] [review] Patch to emit auth-start when click is swallowed Lifted from: http://cvs.fedoraproject.org/viewvc/rpms/PolicyKit-gnome/devel/PolicyKit-gnome-0.9.2-fix-clickable-buttons.patch?view=markup
This is no longer relevant for the polkit 1.0 port (there's no client side library anymore).