Red Hat Bugzilla – Bug 809852
The problem with text selection.
Last modified: 2012-05-09 03:37:14 EDT
Description of problem:
When I do mouse key down some text area before cursor already selected.
This video demonstrate it: https://docs.google.com/open?id=0B0nwzlfiB4aQMUs1UGxSUnFSRDZBN0NvRFBocnk2dw
Thanks for a bug rpeort. I'm afraid this is related to lower libraries than to evolution. What is your version of gtk3, please? And when did you update to it (check with command like: cat /var/log/yum.log | grep gtk3 ). Does it help to downgrade to the previous version of gtk3, please? (yum downgrade gtk3).
I see this problem as well with
yum downgrade gtk3
returns "nothing to do"
I have not seen this in any other applications,
if it were a gtk3 bug it should occur with many applications, no?
I can reproduce this with gtk3-3.4.0-1.fc17, gtk3-3.3.20-1, gtk3-3.3.18-1, all are reproducing the issue. If I downgrade to gtk3-3.3.14-1, then this behaviour is fixed again, no unexpected selection is made.
Mathias, are you aware of any exact change in gtk3 which would cause such behaviour in gtkhtml3, please? Note that this does it only with iframes, which is basically gtkhtml3 in gtkhtml3 (if I click in the header part, which is the master gtkhtml3 widget, then there is no unexpected selection being done; while if I click in message body, the inner gtkhtml3 widget, then the selection happens - it seems like some event processing got dropped in gtk3 development).
The only thing I could think off here is
But the details sound a little different here, so maybe this is something else after all.
*** Bug 807255 has been marked as a duplicate of this bug. ***
hrm, adding the patch didn't fix evolution.
I briefly checked differences between gtk-3.3.14 and 3.3.18 and the main change seems to be the move to XInput 2.2 (and removal of --enable-xinput completely). The code change set itself, which contains many changes in copyright notice, makes a patch with 47418 lines, thus it's hard to find what caused this for someone like me, whom doesn't know gtk internals. I can attach it here, is it helps, but I'm afraid it'll not help much.
The main question: is it intended to keep backward compatibility on gtk3 side with the move to XInput 2.2? If there are things missing in gtkhtml3 to be done to work correctly with this XInput, then I'm fine to do it, I'm only not aware of any such notice, which I could easily overlook.
You can check if running evolution with the env var GDK_CORE_DEVICE_EVENTS=1 fixes the issue. If it does then it's something in the XI 2.2 code.
Running "$ GDK_CORE_DEVICE_EVENTS=1 evolution" not solve this problem
Upstream bug for this issue: https://bugzilla.gnome.org/show_bug.cgi?id=672582
*** Bug 818160 has been marked as a duplicate of this bug. ***
gtkhtml3-4.4.1-2.fc17 has been submitted as an update for Fedora 17.
This fixes it for me.
gtkhtml3-4.4.1-2.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 819646 has been marked as a duplicate of this bug. ***