** Changed in: gtk
       Status: Confirmed => Expired

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/785479

Title:
  gtkcalendar emitting incorrect day_selected signal

Status in GTK+:
  Expired
Status in wxWidgets:
  Unknown
Status in gtk+2.0 package in Ubuntu:
  Triaged

Bug description:
  When clicking (or selecting via keyboard) on the days surrounding a
  month in the gtk calendar widget, the widget emits two day_selected
  events.

  The first, with an incorrect date, is emitted by
  calendar_set_month_prev & next functions.. the second emitted
  correctly from calendar_select_and_focus_day.

  When calendar_set_month_prev & next is called by the
  calendar_main_button_press and gtk_calendar_key_press, this first
  signal needs to be blocked. (calendar_set_month_prev & next are also
  called, but correctly from the month back and forward buttons)

  When changing from a month with more days (with one of those days
  selected) to a following month with less days, the first signal
  emitted in this case contains an invalid date.

  You can verify this behaviour in the gtk calendar sample. For example
  click may 31st, then click on June 1st in the surrounding days.

  I submitted a patch upstream (for the svn version) on this issue.  A fix 
along these lines could be used in gtk+2.0
  https://bugzilla.gnome.org/show_bug.cgi?id=106161

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: libgtk2.0-0 2.24.4-0ubuntu2
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Fri May 20 10:33:52 2011
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  ProcEnviron:
   LANGUAGE=en_AU:en
   PATH=(custom, no user)
   LANG=
   LC_MESSAGES=en_AU.UTF-8
   SHELL=/bin/bash
  SourcePackage: gtk+2.0
  UpgradeStatus: Upgraded to natty on 2011-04-19 (30 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk/+bug/785479/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to