Bug 230832 - Clock doesn't update immediately when timezone changed
Clock doesn't update immediately when timezone changed
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gnome-applets (Show other bugs)
rawhide
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Ray Strode [halfline]
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-03 05:24 EST by Aled Hughes
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-03 12:55:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
I'm going to build this into rawhide (1.87 KB, patch)
2007-04-03 12:48 EDT, Ray Strode [halfline]
no flags Details | Diff

  None (edit)
Description Aled Hughes 2007-03-03 05:24:22 EST
Description of problem:
I'm using FC7test2 liveCD. If I alter  the timezone using the clock app located
at the top right of the desktop, the time shown in the bar doesn't update
correctly for up to a minute. This could make the user think they've not
correctly set the timezone when in fact they have.

How reproducible:
Always

Steps to Reproduce:
1. Right-click clock applet and choose "adjust date & time)
2. Go to the time zone tab and select a new timezone
3. Press OK.
4. Observe clock is still shown old time but when the next minute ticks over it
corrects itself.

Whilst it is wrong, you can right-click it and choose "Copy" - the text copied
will be the correct time. 
Also, if you bring up the "adjust" dialog again, the time shown in that dialog
is also correct.

Actual results:
The time shown should update immediately.

Expected results:
After TZ change, clock should show correct time immediately.

Additional info:
OK, so in less than 60 seconds the problem goes away, but still this behaviour
looks bad in my opinion as a novice fedora user. My first impression was that
the whole timezone change feature was broken.
Comment 1 Ray Strode [halfline] 2007-04-03 11:53:12 EDT
Does it take affect immediately if you choose the "show seconds" option?
Comment 2 Ray Strode [halfline] 2007-04-03 12:07:45 EDT
okay so it looks like the problem is we just fire up the config tool and forget
about it:

       if (gdk_spawn_on_screen (screen,
                                 NULL,
                                 argv,
                                 NULL,
                                 G_SPAWN_SEARCH_PATH,
                                 NULL,
                                 NULL,
                                 NULL,
                                 &err)) {


We should probably force a refresh when the tool exits.
Comment 3 Ray Strode [halfline] 2007-04-03 12:48:50 EDT
Created attachment 151586 [details]
I'm going to build this into rawhide

The above patch just asks the clock to refresh itself when the config tool
exits
Comment 4 Ray Strode [halfline] 2007-04-03 12:55:02 EDT
Should be fixed in tomorrow's rawhide.  Please reopen, if not.
Comment 5 Ray Strode [halfline] 2007-04-03 13:15:27 EDT
Also, you may hit bug 235064 which I ran into during testing.

Note You need to log in before you can comment on or make changes to this bug.