Files
gtk3/gtk
Daniel Boles 3680e3d40b Entry: Fix get_icon_at_pos()
This was comparing the input position, which is documented as being
relative to the top-left of the Entry allocation, to icon allocations
that were not adjusted accordingly. This could result in tooltips for
icons not being shown in various conditions, since the ::query-tooltip
handler uses get_icon_at_pos() to check whether to show an icon tooltip.

The fix is to compare to the icon border box, not border allocation, as
CssGadget::get_border_box() adjusts relative to the widget. Better yet:
we can just make CssGadget::border_box_contains_point() compare for us.

Delegating to Entry::get_icon_area(), which manually reimplements
CssGadget::get_border_box(), would also work, but this is simpler.

https://bugzilla.gnome.org/show_bug.cgi?id=780938
2017-07-31 20:05:11 +01:00
..
2016-11-07 11:24:43 -05:00
2016-03-10 22:46:02 -05:00
2017-05-22 14:26:32 +01:00
2017-03-30 09:55:45 -04:00
2016-08-23 21:01:45 +02:00
2017-03-30 09:55:45 -04:00
2017-05-08 18:03:26 -04:00
2017-05-10 20:25:40 +02:00
2016-03-11 16:39:34 +01:00
2016-10-21 10:21:44 -04:00
2016-07-26 00:21:48 -04:00
2016-08-04 20:40:34 +02:00
2016-03-10 23:21:22 -05:00
2016-04-24 03:50:22 -07:00
2017-07-31 20:05:11 +01:00
2016-03-26 18:53:55 -04:00
2017-05-22 14:23:14 +01:00
2016-09-30 14:20:01 -04:00
2016-11-19 13:29:17 -05:00
2016-05-23 14:19:30 -04:00
2016-11-23 14:50:16 -05:00
2016-03-26 18:19:37 -04:00
2016-08-23 21:01:45 +02:00
2017-04-25 11:15:09 +01:00
2016-03-10 22:46:02 -05:00
2016-07-08 00:06:14 -04:00
2016-07-08 00:06:14 -04:00
2016-02-28 21:40:23 -05:00
2017-03-08 23:08:56 -05:00
2017-03-26 15:07:01 +01:00
2016-05-06 07:08:56 -04:00
2016-06-01 09:27:24 -04:00
2016-08-25 23:02:27 +02:00
2016-11-07 11:24:43 -05:00
2016-11-07 11:24:43 -05:00
2016-04-26 21:25:02 -04:00
2016-03-26 18:19:37 -04:00
2017-05-22 14:26:32 +01:00
2016-02-27 17:23:44 +01:00
2016-10-20 14:26:43 -04:00