on xenial help sign in
a comment on the new code
commit66faee75d50032ed29248ea5d81578171cc41af9 authorAlbert Astals <albert.astals@canonical.com> dateFri 7 Mar 2014, 11:49 (13 years ago) parent3f742a4
1 file changed+5
tests/plugins/Ubuntu/Gestures/tst_DirectionalDragArea.cpp+5
tests/plugins/Ubuntu/Gestures/tst_DirectionalDragArea.cpp+5
@@ -102,6 +102,11 @@ tst_DirectionalDragArea::tst_DirectionalDragArea()
102102void tst_DirectionalDragArea::init()
103103{
104104 GestureTest::init();
105+
106+ // We shouldn't need the three lines below, but a compiz/unity7
107+ // regression means we don't pass the test without them because
108+ // the window doesn't have the proper size. Can be removed in the
109+ // future if the regression is fixed and tests pass again
105110 m_view->resize(m_view->rootObject()->width(), m_view->rootObject()->height());
106111 QTRY_COMPARE(m_view->width(), (int)m_view->rootObject()->width());
107112 QTRY_COMPARE(m_view->height(), (int)m_view->rootObject()->height());