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 572878 - Actions don't work with widgets that only have clicked events
Actions don't work with widgets that only have clicked events
Status: RESOLVED OBSOLETE
Product: policykit-gnome
Classification: Platform
Component: authorizations tool
unspecified
Other All
: Normal critical
: ---
Assigned To: policykit-gnome-maint
policykit-gnome-maint
Depends on:
Blocks:
 
 
Reported: 2009-02-23 17:54 UTC by James Westby
Modified: 2009-06-22 15:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Patch to emit auth-start when click is swallowed (586 bytes, patch)
2009-02-23 17:55 UTC, James Westby
none Details | Review

Description James Westby 2009-02-23 17:54:30 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:
Comment 1 James Westby 2009-02-23 17:55:41 UTC
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
Comment 2 David Zeuthen (not reading bugmail) 2009-06-22 15:32:21 UTC
This is no longer relevant for the polkit 1.0 port (there's no client side library anymore).