I looked into this some tonight, and I found that in softwarecenter/ui/gtk3/widgets/searchentry.py the signal being used is icon-press [1]:
self.connect("icon-press", self._on_icon_pressed) I tried switching it to icon-release, but it looks like this signal still fires if you do the release with the mouse off of the icon, meaning that it doesn't solve the original problem. (Although it does delay the action until mouse release) I poked around the docs some more, but it seems to me that if Gtk doesn't solve this for you it's going to be a pain to fix. I think you'd have to know where the mouse was relative to the position of the icon when it was clicked. If someone who knows Gtk more than I do (which isn't much) has a better plan, please comment here and I'll try it. [1] - http://developer.gnome.org/gtk/unstable/GtkEntry.html#GtkEntry- icon-press -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/842706 Title: Search field clear button doesn't wait till mouse up To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/842706/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs