summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCarlos Garnacho <carlos@lanedo.com>2012-07-13 15:03:30 +0200
committerCarlos Garnacho <carlos@lanedo.com>2012-07-13 19:21:41 +0200
commitbd3ca2b30efc534f8b7c18dfd8a9f072592044c7 (patch)
tree8961145d8f2df0c16351ac146e5fd12a0f779133 /tests
parent37262f9725511d26c2e177d85c2b0ba3e3f09e77 (diff)
downloadgtk+-bd3ca2b30efc534f8b7c18dfd8a9f072592044c7.tar.gz
menu: Fix touch scrolling on menus close to the monitor edge
Specially in the case of comboboxes, those menus could enable scrolling even if the contents could fit in the work area, and could show blank space in order to line up the selected item with the combobox. When such thing happens, take into account scroll_offset when relocating the menu contents so contents don't jump directly onscreen, and apply it so scrolling is allowed in the direction that brings the menu onscreen and blocked in the opposite direction. Also, wait for cancelling the scroll operation until the touch is released even if the scrolling arrows disappeared, so the menu item underneath isn't selected right away. https://bugzilla.gnome.org/show_bug.cgi?id=678113
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions