clock applet does not respond to Set System Time

Bug #335158 reported by Mike Basinger
This bug report is a duplicate of:  Bug #289744: Cannot access sytem time settings. Edit Remove
6
Affects Status Importance Assigned to Milestone
gnome-panel (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Ubuntu Jaunty (updated 2/26/2009)
The Clock Applet (2.25.91) --> Adjust Date and Time --> Set System Time does nothing after authenticating with your password.

Revision history for this message
James Westby (james-w) wrote :

Hi,

Thanks for taking the time to report this bug.

Could you please include the output of "apt-cache policy policykit-gnome" to the bug?

Could you also expand on what "nothing" means? I assume it means that the time didn't
change, but did the dialog close or remain open?

Thanks,

James

Changed in policykit-gnome:
status: New → Incomplete
Revision history for this message
Mike Basinger (mike.basinger) wrote :

dbasinge@mikebuntu:~$ apt-cache policy policykit-gnome
policykit-gnome:
  Installed: 0.9-1ubuntu2
  Candidate: 0.9-1ubuntu2
  Version table:
 *** 0.9-1ubuntu2 0
        500 http://us.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
James Westby (james-w) wrote :

Hey Mike,

It seems you missed my second question,

  Could you also expand on what "nothing" means? I assume it means that the time didn't
  change, but did the dialog close or remain open?

Whether the dialog closes or remains open will give us a clue as to what happened.

Also, capturing the output of both

  dbus-monitor --system

and

  dbus-monitor --session

while doing this would be great.

Thanks,

James

Revision history for this message
Mike Basinger (mike.basinger) wrote :
Download full text (6.6 KiB)

It closes (crashes) after I authenticate my session.

dbasinge@mikebuntu:~$ dbus-monitor --system
signal sender=org.freedesktop.DBus -> dest=:1.46 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.46"
signal sender=:1.7 -> dest=(null destination) serial=2830 path=/org/freedesktop/NetworkManager/AccessPoint/0; interface=org.freedesktop.NetworkManager.AccessPoint; member=PropertiesChanged
   array [
      dict entry(
         string "Strength"
         variant byte 62
      )
   ]
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.47"
   string ""
   string ":1.47"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string "org.gnome.ClockApplet.Mechanism"
   string ""
   string ":1.47"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=13 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.48"
   string ""
   string ":1.48"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=14 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.49"
   string ""
   string ":1.49"
signal sender=:1.7 -> dest=(null destination) serial=2839 path=/org/freedesktop/NetworkManager/AccessPoint/0; interface=org.freedesktop.NetworkManager.AccessPoint; member=PropertiesChanged
   array [
      dict entry(
         string "Strength"
         variant byte 66
      )
   ]
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=15 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.49"
   string ":1.49"
   string ""
signal sender=:1.7 -> dest=(null destination) serial=2854 path=/org/freedesktop/NetworkManager/AccessPoint/0; interface=org.freedesktop.NetworkManager.AccessPoint; member=PropertiesChanged
   array [
      dict entry(
         string "Strength"
         variant byte 63
      )
   ]
signal sender=:1.7 -> dest=(null destination) serial=2863 path=/org/freedesktop/NetworkManager/AccessPoint/0; interface=org.freedesktop.NetworkManager.AccessPoint; member=PropertiesChanged
   array [
      dict entry(
         string "Strength"
         variant byte 65
      )
   ]

dbasinge@mikebuntu:~$ dbus-monitor --session
signal sender=org.freedesktop.DBus -> dest=:1.83 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.83"
method call sender=:1.83 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='method_call'"
method call sender=:1.83 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='method_return'"
method call sender=:1.83 -> dest=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='error'"
method ca...

Read more...

Revision history for this message
James Westby (james-w) wrote : Re: [Bug 335158] Re: clock applet does not respond to Set System Time

On Fri, 2009-02-27 at 19:09 +0000, Mike Basinger wrote:
> It closes (crashes) after I authenticate my session.

Thanks, there's nothing useful in the dbus traces though.

What do you mean by "crashes"? Does it just go away and do
nothing, or it indicates that it crashes some how?

Thanks,

James

Revision history for this message
Mike Basinger (mike.basinger) wrote :

After I authenticate, the the authentication windows closes and nothing else happens. I get no crash report.

On a side note, time-admin via commandline or menu work fine.

Revision history for this message
James Westby (james-w) wrote :

Hi Mike,

If you run "killall gnome-panel; gnome-panel" from a terminal then you
should get some debug output from the panel. Could you reproduce the
problem and attach the output?

Thanks,

James

Revision history for this message
Mike Basinger (mike.basinger) wrote :

dbasinge@mikebuntu:~$ killall gnome-panel; gnome-panel
** (gnome-panel:5661): DEBUG: Adding applet 0.
** (gnome-panel:5661): DEBUG: Initialized Panel Applet Signaler.
** (gnome-panel:5661): DEBUG: Adding applet 1.
** (gnome-panel:5661): DEBUG: Adding applet 2.
** (gnome-panel:5661): DEBUG: Adding applet 3.
** (gnome-panel:5661): DEBUG: Adding applet 4.
** (gnome-panel:5661): DEBUG: Adding applet 5.
** (gnome-panel:5661): DEBUG: Adding applet 6.
** (gnome-panel:5661): DEBUG: Adding applet 7.
** (gnome-panel:5661): DEBUG: Adding applet 8.
** (gnome-panel:5661): DEBUG: Adding applet 9.
** (gnome-panel:5661): DEBUG: Adding applet 10.
** (gnome-panel:5661): DEBUG: Adding applet 11.
** (gnome-panel:5661): DEBUG: Adding applet 12.

(gnome-panel:5661): Gdk-WARNING **: /build/buildd/gtk+2.0-2.16.1/gdk/x11/gdkdrawable-x11.c:878 drawable is not a pixmap or window

(gnome-panel:5661): libglade-WARNING **: Unexpected element <requires-version> inside <glade-interface>.
** (gnome-panel:5661): DEBUG: Adding applet 13.
** (gnome-panel:5661): DEBUG: Adding applet 14.
** (gnome-panel:5661): DEBUG: helper refused; returned polkit_result='auth_self_keep_always <-- (action, result)' and polkit_action='org.gnome.clockapplet.mechanism.settime'

Revision history for this message
James Westby (james-w) wrote :

On Mon, 2009-04-13 at 16:34 +0000, Mike Basinger wrote:
> (gnome-panel:5661): libglade-WARNING **: Unexpected element <requires-version> inside <glade-interface>.
> ** (gnome-panel:5661): DEBUG: Adding applet 13.
> ** (gnome-panel:5661): DEBUG: Adding applet 14.
> ** (gnome-panel:5661): DEBUG: helper refused; returned polkit_result='auth_self_keep_always <-- (action, result)' and polkit_action='org.gnome.clockapplet.mechanism.settime'

Thanks,

This is the point at which you get the dialog to authenticate, so if
there is nothing more after that then that seems to indicate that
it is all successful on the applet side.

There is one condition that would seem cause this but without
a message. I've put a gnome-panel package in my PPA to add
a warning there, would you install that and repeat the procedure?

https://edge.launchpad.net/%7Ejames-w/+archive/ppa/+files/gnome-panel_2.26.0-0ubuntu6+jw1_i386.deb

Thanks,

James

Revision history for this message
Mike Basinger (mike.basinger) wrote :

Installed file from ppa, looks like no change

dbasinge@mikebuntu:~$ killall gnome-panel; gnome-panel
** (gnome-panel:9324): DEBUG: Adding applet 0.
** (gnome-panel:9324): DEBUG: Initialized Panel Applet Signaler.
** (gnome-panel:9324): DEBUG: Adding applet 1.
** (gnome-panel:9324): DEBUG: Adding applet 2.
** (gnome-panel:9324): DEBUG: Adding applet 3.
** (gnome-panel:9324): DEBUG: Adding applet 4.
** (gnome-panel:9324): DEBUG: Adding applet 5.
** (gnome-panel:9324): DEBUG: Adding applet 6.
** (gnome-panel:9324): DEBUG: Adding applet 7.
** (gnome-panel:9324): DEBUG: Adding applet 8.
** (gnome-panel:9324): DEBUG: Adding applet 9.
** (gnome-panel:9324): DEBUG: Adding applet 10.
** (gnome-panel:9324): DEBUG: Adding applet 11.
** (gnome-panel:9324): DEBUG: Adding applet 12.

(gnome-panel:9324): Gdk-WARNING **: /build/buildd/gtk+2.0-2.16.1/gdk/x11/gdkdrawable-x11.c:878 drawable is not a pixmap or window

(gnome-panel:9324): libglade-WARNING **: Unexpected element <requires-version> inside <glade-interface>.
** (gnome-panel:9324): DEBUG: Adding applet 13.
** (gnome-panel:9324): DEBUG: Adding applet 14.
** (gnome-panel:9324): DEBUG: helper refused; returned polkit_result='auth_self_keep_always <-- (action, result)' and polkit_action='org.gnome.clockapplet.mechanism.settime'

Revision history for this message
Mike Basinger (mike.basinger) wrote :

dbasinge@mikebuntu:~$ apt-cache policy gnome-panel
gnome-panel:
  Installed: 1:2.26.0-0ubuntu6+jw1
  Candidate: 1:2.26.0-0ubuntu6+jw1
  Version table:
 *** 1:2.26.0-0ubuntu6+jw1 0
        500 http://ppa.launchpad.net jaunty/main Packages
        100 /var/lib/dpkg/status
     1:2.26.0-0ubuntu6 0
        500 http://archive.ubuntu.com jaunty/main Packages

Revision history for this message
James Westby (james-w) wrote :

Hi,

Thanks Mike.

That suggests that the authorization is being granted, and so the call to
the backend made, but nothing is happening, so I am pretty stumped right
now.

When you get the password prompt can you check the "remember authorization"
and "for this session only" boxes, and then enter your password, and then go
to "System->Administration->Authorizations" and navigate to
"org->gnome->clockapplet->mechanism->Change system time" on the left,
and check that your name is in the large box near the bottom of the right
pane.

Also, it seems silly to ask this, but are you sure the time doesn't change
when you do this?

Thanks,

James

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

The action of clicking the "Set System Time..." button and then authenticating does actually set the time, despite the Time Settings window closing. This is by design, but the behaviour is very confusing to users, and there is already another bug report about that (bug 191471). This problem has caused other people the same confusion experienced here (eg, bug 337445)

affects: policykit-gnome (Ubuntu) → gnome-panel (Ubuntu)
Changed in gnome-panel (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.