Bug 395146 - change time - wrong date ...
Summary: change time - wrong date ...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Beta 2
Hardware: x86-64 Other
: P2 - High : Normal (vote)
Target Milestone: ---
Assignee: Vincent Untz
QA Contact: E-mail List
URL:
Whiteboard: gnome-update gnomeup-gnome-panel
Keywords:
Depends on:
Blocks: 412722
  Show dependency treegraph
 
Reported: 2008-05-28 16:52 UTC by Michael Meeks
Modified: 2008-08-25 20:11 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
photo (39.73 KB, image/png)
2008-05-28 16:53 UTC, Michael Meeks
Details
fix (584 bytes, patch)
2008-06-03 09:33 UTC, Michael Meeks
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Meeks 2008-05-28 16:52:50 UTC
I right click on my clock; hit "Adjust date/time", and I get a nice dialog (as shown in the screenshot).

Unfortunately it defaults to a different date: 22 May vs. the 27th May (ie. not today). That is acutely unhelpful ;-)
Comment 1 Michael Meeks 2008-05-28 16:53:22 UTC
Created attachment 218684 [details]
photo
Comment 2 Casual J. Programmer 2008-05-28 17:01:28 UTC
This is very likely a duplicate of Bug 384254, please check
Comment 3 Michael Meeks 2008-05-28 17:12:41 UTC
Nah ! - it's much simpler and more prosaic than that ;-)

The problem is: I set the time before: on the 22nd.

When you pop-up the dialog - I -think- it re-uses the widgets & window from before: which is set to the current date the first time it's created :-)

So - the 1st time you pop-up your "change the date" applet, it has the correct current date.

The 2nd time, it has what you selected last time (check by changing the selection with the mouse).

The fix is trivial I guess: call gtk_calendar_select_month and select_day as we pop the window up again :-)

Federico ?
Comment 4 Casual J. Programmer 2008-05-28 21:30:10 UTC
Why don't you follow Comment #74 from Bug 384254 just to make sure ? I couldn't grasp it neither on first sight..
Comment 5 Michael Meeks 2008-05-29 14:50:30 UTC
Sure ;-) I am 1000% certain it is an unrelated bug, and the fix is as I outline above.
Comment 6 Michael Meeks 2008-06-03 09:33:33 UTC
Created attachment 219739 [details]
fix
Comment 7 Michael Meeks 2008-06-03 09:34:02 UTC
Vincent - trivial, obviously correct patch to fix silly panel bug ;-)
Comment 8 Vincent Untz 2008-06-18 12:22:47 UTC
Bah, sorry for forgetting this. I committed your patch upstream.
Tagging with gnome-update so that it can go in a gnome-panel round of update.
Comment 9 Vincent Untz 2008-08-25 20:11:07 UTC
Closing the bug since the update got rejected in bug 412722 :/
(it's fixed in factory, of course)