[Pkg-gpe-maintainers] Bug#520156: gpe-calendar: adding new calendar event sometimes grabs mouse and prevents its use completely

Timo Juhani Lindfors timo.lindfors at iki.fi
Tue Mar 17 19:40:14 UTC 2009

Package: gpe-calendar
Version: 0.91-3+b1
Severity: normal

[ Since this bug is probably not debian specific I also reported it upstream at
http://bugs.linuxtogo.org/show_bug.cgi?id=278 as
Bug 278: adding new calendar event sometimes grabs mouse and prevents its use completely]

Sometimes when I try to add a new calendar event by clicking daily
view gpe-calendar opens "New event" window but I am unable to do
anything with mouse. I have not managed to find a reliable way to
reproduce this bug but I have hit it now three times so I thought it'd
be worth to report.

If I start xev it is unable to get mouse events. If I strace
gpe-calendar I can see activity when I click its window. However, for
example the "Cancel" or "Save" buttons don't react in any way.

On my openmoko neo freerunner I do not have a keyboard so it is
impossible for me to kill gpe-calendar when it grabs my mouse. My only
choice is to connect the phone to a PC and kill gpe-calendar. If I am
away from my computer I need to take out the battery to reboot it.

I read gpe-calendar source code and noticed that there is only one
case that grabs pointer. Namely button_press_event calls

gdk_pointer_grab (widget->window, FALSE,
                  | GDK_BUTTON_RELEASE_MASK
                  | GDK_ENTER_NOTIFY_MASK
                  | GDK_LEAVE_NOTIFY_MASK,
                  NULL, NULL,

and button_release_event is supposed to

gdk_display_pointer_ungrab (gtk_widget_get_display (widget),

it. Any idea what could be going on? I'll

DEB_BUILD_OPTIONS="nostrip debug noopt" fakeroot apt-get --build source gpe-calendar

and hope that I hit the bug again so that I can see what's going on
with a debugger.

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: armel (armv4tl)

Kernel: Linux 2.6.28-GTA02_lindi-andy-tracking_b8b36e5ec3db71d5-mokodev (PREEMPT)
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages gpe-calendar depends on:
ii  gpe-icons                  0.25-1        Common icons used by GPE programs
ii  libatk1.0-0                1.22.0-1      The ATK accessibility toolkit
ii  libaudiofile0              0.2.6-7       Open-source version of SGI's audio
ii  libc6                      2.7-18        GNU C Library: Shared libraries
ii  libcairo2                  1.8.6-2       The Cairo 2D vector graphics libra
ii  libdbus-1-3                1.2.12-1      simple interprocess messaging syst
ii  libdbus-glib-1-2           0.80-3        simple interprocess messaging syst
ii  libesd0                    0.2.41-2      Enlightened Sound Daemon - Shared 
ii  libeventdb2                0.90-4        library that provides access to gp
ii  libglib2.0-0               2.18.4-2      The GLib library of C routines
ii  libgpepimc0                0.9-2         category management for GPE applic
ii  libgpeschedule0            0.17-3        scheduling library for GPE
ii  libgpevtype1               0.50-4        data interchange library for GPE a
ii  libgpewidget1              0.115-5       GPE Palmtop Environment widget lib
ii  libgtk2.0-0                2.12.12-1     The GTK+ graphical user interface 
ii  libhandoff0                0.1-3         handoff library for GPE calendar
ii  libmimedir-gnome0.4        0.4.2-1       MIME Directory Profile implementat
ii  libpango1.0-0              1.22.4-2      Layout and rendering of internatio
ii  libsoundgen0               0.6-2         Simple sound generator library for
ii  libsoup2.2-8               2.2.105-4     an HTTP library implementation in 
ii  libsqlite0                 2.8.17-4      SQLite shared library
ii  libx11-6                   2:1.1.5-2     X11 client-side library
ii  libxml2                    2.6.32.dfsg-5 GNOME XML library
ii  libxsettings-client0       0.17-5        utility functions for the Xsetting

Versions of packages gpe-calendar recommends:
pn  gpe-announce                  <none>     (no description available)

gpe-calendar suggests no packages.

-- no debconf information

More information about the Pkg-gpe-maintainers mailing list