Clicking a date of previous or next month does not select the right date

Bug #768956 reported by Emmanuel Sunyer
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Indicator Date and Time
Invalid
Undecided
Karl Lattimer
Indicator Display Objects
Fix Released
Undecided
Karl Lattimer
indicator-datetime (Ubuntu)
Invalid
Undecided
Karl Lattimer

Bug Description

Binary package hint: indicator-datetime

Description: Ubuntu 11.04
Release: 11.04

indicator-datetime:
  Installé : 0.2.3-0ubuntu3
  Candidat : 0.2.3-0ubuntu3
 Table de version :
 *** 0.2.3-0ubuntu3 0
        500 http://mirror.ovh.net/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status

What happens: Today is Friday, April 22nd. When I click in the calendar on Friday, May 6th, the calendar jumps to Friday, June 3rd.

What should happen: the calendar should jump to Friday, May 6th.

Related branches

Revision history for this message
Marcel Stimberg (marcelstimberg) wrote :

Confirmed, I'm seeing this to.

Changed in indicator-datetime (Ubuntu):
status: New → Confirmed
Revision history for this message
Karl Lattimer (karl-qdh) wrote :

I can confirm this happens when selecting dates which are from the next month (shown darker) at the base of the calendar, and when selecting dates from the previous month at the top of the calendar.

Revision history for this message
Karl Lattimer (karl-qdh) wrote :

I've identified that what's happening is that the single click for day selected is being sent 3 times or more each time from the date which was clicked, as the calendar updates it selects the next date.

Not 100% sure how to fix this, but I'll give it a go.

Revision history for this message
Karl Lattimer (karl-qdh) wrote :

After adding some debugging into ido it appears that ido calendar menu item is emitting the signal, twice for this months dates (which works great), and upto 7 times for last month or next month. It's peculiar to say the least.

Revision history for this message
Karl Lattimer (karl-qdh) wrote :

the attached branch fixes this bug

Changed in indicator-datetime:
assignee: nobody → Karl Lattimer (karl-qdh)
Changed in indicator-datetime (Ubuntu):
assignee: nobody → Karl Lattimer (karl-qdh)
Ted Gould (ted)
Changed in ido:
status: New → Fix Committed
milestone: none → 0.2.90
Changed in indicator-datetime:
status: New → Invalid
Changed in indicator-datetime (Ubuntu):
status: Confirmed → Invalid
Changed in ido:
assignee: nobody → Karl Lattimer (karl-qdh)
Ted Gould (ted)
Changed in ido:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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