This bug is regarding evolution doing a gdk type grab on the mouse without ungrabbing it when a contact is triple clicked.
I can reproduce this at will: Open contacts View/Current View/Address Cards Adjust the width of the e-minicards so that you can see everything Triple click in one of the fields of a minicard Results: mouse turns to crosshair and is movable, but can't click anything. You have to close evo for it to release the mouse. Keyboard control is still present, so you can use Meta keys to close everything down. In trying to debug this, I noticed that: 1) the other views are unaffected-- only Address Cards view 2) triple (or more) clicking on the title of the minicard works fine 3) quadruple clicking in the affected part of the mincard also worked fine After MUCH searching and debugging, I found that the e-minicard-label was taking the GDK_BUTTON_PRESS and GDK_BUTTON_RELEASE and not passing them up to its parent. All I did to get this to work properly was modify addressbook/gui/widgets/e-minicard-label.c e_minicard_label_event() and have GDK_BUTTON_PRESS and GDK_BUTTON_RELEASE events passed up the heirarchy (I did this by simply them use the default behavior). To apply the attached patch, put the patch in the directory above the toplevel evolution source directory (eg /usr/local/src/evo-bug16462.patch), then cd into the toplevel evolution source directory (eg 'cd /usr/local/src/evolution-1.0.2), then run 'cat ../evo-bug16462.patch | patch -p1'. This patch is against evolution-1.0.2 and was tested on pentium 233/debian unstable with regular mouse and a pentium 1 Ghz/redhat 7.2 + ximian updates with a touchpad. Double, triple or more clicking now results in proper behavior, and the mouse is not grabbed. Thank you for an excellent product, Jamie Strandboge -- Email: [EMAIL PROTECTED] GPG/PGP ID: 26384A3A Fingerprint: D9FF DF4A 2D46 A353 A289 E8F5 AA75 DCBE 2638 4A3A
diff -Naur evolution-1.0.2-original/addressbook/gui/widgets/e-minicard-label.c evolution-1.0.2/addressbook/gui/widgets/e-minicard-label.c --- evolution-1.0.2-original/addressbook/gui/widgets/e-minicard-label.c Mon Oct 29 07:31:45 2001 +++ evolution-1.0.2/addressbook/gui/widgets/e-minicard-label.c Tue Mar 19 17:26:57 2002 @@ -335,8 +335,10 @@ } } break; +/* case GDK_BUTTON_PRESS: case GDK_BUTTON_RELEASE: +*/ case GDK_MOTION_NOTIFY: case GDK_ENTER_NOTIFY: case GDK_LEAVE_NOTIFY: {
signature.asc
Description: This is a digitally signed message part