GNOME Bugzilla – Bug 572343
2.15.x breaks polkit-gnome-authorization
Last modified: 2009-08-12 12:46:36 UTC
Please describe the problem: With gtk version 2.15.4, I cannot change the default system policy using polkit-gnome-authorization, as it never displays the authentication dialog when I want to save my changes. This is running Ubuntu Jaunty. If I download the libgtk package built for Intrepid (2.14.4) and then extract the contents of /usr/lib/ to my desktop and then run "LD_PRELOAD=~/Desktop/lib/libgtk-x11-2.0.so.0 polkit-gnome-authorization", then it behaves as expected. Steps to reproduce: 1. Open polkit-gnome-authorization. 2. Edit an implicit authorization. 3. Click on the Modify button. Actual results: Nothing happens Expected results: I expect an authentication dialog to appear Does this happen every time? Yes, but it works when running it with an older gtk version Other information:
Works fine here, with 2.15.4. I believe Richard committed some fixed for polkit-gnome. Maybe your distribution did not pick those up yet...
Hi Matthias, Our 2.15.4 version contains some fixes for polkit-gnome. I'll do some more digging around to see if i can isolate what's actually going wrong.
If it is any use, I ran polkit-gnome-authorization through GDB, and set a breakpoint at polkit-gnome-authorization.c:1267, which is the gtk_widget_destroy() which is called straight after gtk_dialog_run() returns. This shows that when I press the "Modify" button in the dialog, gtk_dialog_run() never actually returns (but it returns ok if I press cancel instead). I don't know if that's any use to you though Matthias
I am not talking about fixes in gtk. I am talking about polkit-gnome fixes that you are missing.
Ah, I think I misunderstood you before. Our version of policykit-gnome is only 0.9. I'm going to try a newer version this afternoon
I tried with policykit-gnome 0.9.2 and that exhibited the same issue. I haven't tried with the latest code from SVN yet as it needs EggDBus
Try this patch http://cvs.fedoraproject.org/viewvc/rpms/PolicyKit-gnome/devel/PolicyKit-gnome-0.9.2-fix-clickable-buttons.patch?view=log
Thanks Matthias. James Westby tested our version of policykit-gnome with the Fedora patch applied, and has confirmed that it works.
I guess this can be closed then...