clock-applet: clicking on a calendar date opens the same number one monther earlier in Evolution

Bug #760523 reported by Martin-Éric Racine
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-panel (Ubuntu)
Fix Released
Low
Rodrigo Moya
Natty
Fix Released
Undecided
Unassigned
Oneiric
Fix Released
Low
Rodrigo Moya

Bug Description

Binary package hint: gnome-panel

Since a few days, double-clicking on a date in the calendar that pops up from the time applet opens the same number, only one monther earlier, in Evolution. Asides from the obvious mistake of opening the wrong date, it makes Evolution complain that someone is trying to add a calendar event in the past.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: gnome-panel 1:2.32.1-0ubuntu6.2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Thu Apr 14 13:13:32 2011
GConfNonDefault:
 /apps/panel/general/applet_id_list=[trashapplet_screen0,window_list_screen0,show_desktop_button_screen0,notification_area_screen0,clock_screen0,applet_3,applet_4,applet_5,applet_6]
 /apps/panel/general/object_id_list=[browser_launcher_screen0,menu_bar_screen0]
 /apps/panel/general/toplevel_id_list=[bottom_panel_screen0,top_panel_screen0]
 /apps/panel/global/enable_animations=false
ProcEnviron:
 LANGUAGE=fi_FI:fi_FI.UTF-8:fi
 PATH=(custom, user)
 LANG=fi_FI.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-panel
UpgradeStatus: Upgraded to natty on 2009-09-14 (576 days ago)

Revision history for this message
Martin-Éric Racine (q-funk) wrote :
Revision history for this message
Rohit R (rr0hit) wrote :

Are you running The classic gnome session or a Unity session. In case of latter I think bug should be filed against the package "Unity" as the top panel in Unity is "unity-panel" and is different from the classic one.

Also I could not reproduce the bug with Unity-panel in a fresh install of Ubuntu.

Changed in gnome-panel (Ubuntu):
status: New → Incomplete
Revision history for this message
Martin-Éric Racine (q-funk) wrote :

I'm using a classic GNOME session.

Revision history for this message
Sebastien Bacher (seb128) wrote :

do you have any clue when that started? could be a side effect of the fix for bug #139627 but that one was uploaded for 2 weeks and the code change doesn't seem like to set a month error

Changed in gnome-panel (Ubuntu):
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Martin-Éric Racine (q-funk) wrote :

It could very well be that one. I don't need to add events to my calendar more than every other week. Are the binary uploads up to that one still downloadable from somewhere? If yes, I could make a quick A/B test comparing packages before and after.

Revision history for this message
Sebastien Bacher (seb128) wrote :

https://launchpad.net/ubuntu/+source/gnome-panel/1:2.32.1-0ubuntu6 you can click on the architecture and will get the deb to download

Revision history for this message
Sebastien Bacher (seb128) wrote :

do you still get the issue?

Revision history for this message
Martin-Éric Racine (q-funk) wrote : Re: [Bug 760523] Re: clock-applet: clicking on a calendar date opens the same number one monther earlier in Evolution

Yes, I still do.

Changed in gnome-panel (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Martin-Éric Racine (q-funk) wrote :

gnome-panel 1:2.32.1-0ubuntu6.3 here and it definitely isn't fixed: the panel applet calls evolution with a date one month too early on my classic GNOME:

evolution calendar:///?startdate=20110329

Changed in gnome-panel (Ubuntu):
assignee: nobody → Rodrigo Moya (rodrigo-moya)
status: Confirmed → In Progress
Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

patch debian/patches/92_git_calendar_day.patch is wrong, because it passes the month retrieved with gtk_calendar_get_date as it is to Evolution, but the month returned by gtk_calendar_get_date is between 0 and 11 (http://developer.gnome.org/gtk3/stable/GtkCalendar.html#gtk-calendar-get-date), so we need to add a +1 there.

Changed in gnome-panel (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted gnome-panel into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in gnome-panel (Ubuntu Natty):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin-Éric Racine (q-funk) wrote :

gnome-panel 1:2.32.1-0ubuntu6.5 indeed seems to fix the incorrect month. Thanks!

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-panel - 1:2.32.1-0ubuntu6.5

---------------
gnome-panel (1:2.32.1-0ubuntu6.5) natty-proposed; urgency=low

  * debian/patches/92_git_calendar_day.patch:
    - gtk_calendar_get_date returns the month between 0 and 11, so add +1
      to the month being passed to Evolution (LP: #760523)
  * debian/patches/92_git_fix_applets_in_multiscreen.patch:
    - Add upstream patch to fix addition of applets in multiscreen (LP: #774427)
 -- Rodrigo Moya <email address hidden> Mon, 02 May 2011 12:59:50 +0200

Changed in gnome-panel (Ubuntu Natty):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Copied to oneiric as well.

Changed in gnome-panel (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Revision history for this message
Ron Lewkowicz (blu-zee) wrote :

Not really sure where to comment on this as so many duplicates and all marked fixed. Didn't have this bug with 10.10 but have it now in 11.04. Gnome Classic. Double click on the date in the calendar and it opens evolution up one day earlier. gnome-panel version is at 1:2.32.1-0ubuntu6.5. Reverted to 1:2.32.1-0ubuntu6.3 and it started opening up one month and one day earlier. So the one month bug is fixed, but the one day bug is still there or has been reintroduced.

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.